x2go 会话立即终止

x2go 会话立即终止

我连接的服务器是 CentOS 7,客户端是 Windows 10。我能够作为远程桌面连接到现有的 X 会话,但启动任何独立的东西(例如终端或 Web 浏览器)不起作用 - 窗口会短暂打开,但随后立即关闭并且会话终止。

错误日志中似乎没有任何有用的内容 - (文件 .xsession-x2go-hostname.errors 中没有任何内容)。会话本身的日志如下:

running as X2Go Agent
NXAGENT - Version 3.5.99.26

Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)
Copyright (c) 2008-2014 Oleksandr Shneyder <[email protected]>  
Copyright (c) 2011-2016 Mike Gabriel <[email protected]>
Copyright (c) 2014-2016 Ulrich Sibiller <[email protected]>
Copyright (c) 2014-2016 Mihai Moldovan <[email protected]>
Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
See https://github.com/ArcticaProject/nx-libs for more information.
Info: Agent running with pid '24336'.
Session: Starting session at 'Mon May 16 14:49:55 2022'.
Info: Proxy running in client mode with pid '24336'.
Info: Using errors file '/tmp/.x2go-user/C-user-97-1652705393_stRTERMINAL_dp32/session.log'.
Info: Using stats file '/tmp/.x2go-user/C-user-97-1652705393_stRTERMINAL_dp32/C-user-97-1652705393_stRTERMINAL_dp32/stats'.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Info: Waiting for connection from 'localhost' on socket 'tcp:*:55494'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 1408/24/1/0.
Info: Using agent parameters 5000/10/50/0/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':97'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/0/0K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
Warning: Cannot read keystroke file '/home/user/.x2go/config/keystrokes.cfg'.
Info: using keystrokes file '/etc/x2go/keystrokes.cfg'
Info: ignoring unknown keystroke action 'debug_tree'.
Info: ignoring unknown keystroke action 'regions_on_screen'.
Info: ignoring unknown keystroke action 'test_input'.
Info: ignoring unknown keystroke action 'deactivate_input_devices_grab'.
Currently known keystrokes:
  close_session         : Ctrl+Alt+t
  switch_all_screens    : Ctrl+Alt+f
  minimize              : Ctrl+Alt+m
  resize                : Ctrl+Alt+r
  defer                 : Ctrl+Alt+e
  ignore                : Ctrl+Alt+BackSpace
  force_synchronization : Ctrl+Alt+j
  fullscreen            : Ctrl+Shift+Alt+f
  viewport_move_left    : Ctrl+Shift+Alt+Left
  viewport_move_up      : Ctrl+Alt+Up
  viewport_move_right   : Ctrl+Alt+Right
  viewport_move_down    : Ctrl+Alt+Down
Info: keyboard blocking directory created: '/home/user/.x2go/C-user-97-1652705393_stRTERMINAL_dp32/keyboard'
Info: Keycode conversion is off
Session: Session started at 'Mon May 16 14:49:59 2022'.
Session: Terminating session at 'Mon May 16 14:50:03 2022'.
Info: Waiting the cleanup timeout to complete.
Session: Session terminated at 'Mon May 16 14:50:05 2022'.

我该如何进一步调试这个问题?

答案1

所以我也有同样的问题,但我注意到的一件事是,如果我从 Windows rdp 到服务器,某些东西会被唤醒,这样 x2go 客户端就能够连接到服务器并向我显示一个 GUI 窗口。它不会启动我的显示管理器,所以仍然有问题,但至少 x2go 会启动一个客户端窗口。

相关内容