X2Go 在 22.04 中不再起作用,黑屏,然后关闭

X2Go 在 22.04 中不再起作用,黑屏,然后关闭

X2Go 与 MATE 桌面曾经运行良好,但升级到 22.04 后就坏了,几个月来我都没能修复它。如果我尝试连接 MATE(从 Windows X2Go 客户端),它会显示“新会话已启动”弹出窗口,然后短暂显示一个空白窗口,最后关闭。在dmesg --follow同时运行的服务器上,我看到:

[14238.559864] show_signal_msg: 3 callbacks suppressed
[14238.559867] mate-session[129320]: segfault at 7f3200000060 ip 00007f325d65f52f sp 00007fff9ee3b250 error 4 in libgdk-3.so.0.2404.29[7f325d623000+83000]
[14238.559876] Code: 57 82 fc ff 49 8b 9c 24 70 01 00 00 48 85 db 74 4e 49 89 c5 eb 0a 0f 1f 44 00 00 48 85 db 74 3f 48 8b 2b 48 89 de 48 8b 5b 08 <48> 8b 45 08 48 85 c0 74 e8 4c 39 e8 7f e3 49 8b bc 24 70 01 00 00

如果我尝试使用 MATE 以外的其他功能,例如“连接到本地桌面”(以前也有效),它会显示“选择桌面”,并带有:0:1作为选项。如果我选​​择其中之一,然后点击“仅查看”或“完全访问”,我只会看到一个黑色窗口,没有任何内容dmesg(如果我尝试“终端”会话类型,则没有任何内容dmesg)。

另一台曾经运行过的 Windows 计算机也出现了同样的结果,因此这是服务器问题,而不是客户端问题。

如果我尝试连接到客户端的“终端”,则文件夹中C:\Users\[Client username]\.x2go\S-[Server username]-50-1672416167_stRTERMINAL_dp32有一个名为的文件,sessions其中包含:

Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Auth: WARNING! Failed to read data from the X auth command.
Auth: WARNING! Generating a fake cookie for X authentication.
Loop: WARNING! Could not retrieve the X server authentication cookie.

以及一个名为的文件session.log,其中包含:

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '33776'.
Session: Starting session at 'Fri Dec 30 11:02:50 2022'.
Info: Connecting to remote host 'localhost:50767'.
Info: Connection to remote proxy 'localhost:50767' established.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Failed to read data from the X auth command.
Warning: Generated a fake cookie for X authentication.
Info: Using ADSL link parameters 512/24/1/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: Forwarding X11 connections to display 'localhost:0'.
Session: Session started at 'Fri Dec 30 11:02:50 2022'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
Session: Terminating session at 'Fri Dec 30 11:02:53 2022'.
Session: Session terminated at 'Fri Dec 30 11:02:53 2022'.

以及一个名为的文件options,其中包含:

nx/nx,root=/cygdrive/C/Users/[Client username]/X2GO~1,connect=localhost,cookie=ecfd5c17918a53bcfa5a66a50eba7712,port=50767,errors=/cygdrive/C/Users/[Client username]/X2GO~1/S-C536~1/sessions:50

在服务器上,我在 中什么也没有得到~> tail -f $HOME/.xsession-x2go-errors,在 中也没有任何新内容出现~/.x2go,并且~> tail -f /var/log/syslog | grep x2go显示:

Dec 30 11:02:49 shuttle /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID [Server username]-50-1672416167_stRTERMINAL_dp32
Dec 30 11:03:23 shuttle /usr/bin/x2gosetkeyboard: /home/[Server username]/.x2go/C-[Server username]-50-1672416167_stRTERMINAL_dp32/keyboard did not appear within 30s after agent startup

我也尝试卸载并重新安装服务器上的每个 x2go 包,但这并没有解决问题。

相关内容