X2Go 在 22.04 中不再工作,黑屏,然後關閉

X2Go 在 22.04 中不再工作,黑屏,然後關閉

帶有 MATE 桌面的 X2Go 以前工作得很好,但升級到 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選項。如果我選擇其中一個,然後點擊“僅查看”或“完全訪問”,我只會看到一個黑色窗口,並且沒有任何內容dmesgdmesg如果我嘗試“終端”會話類型,則什麼也沒有)。

另一台曾經工作過的 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 軟體包,但這並沒有解決問題。

相關內容