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옵션과 함께 "데스크톱 선택"이 표시됩니다. 둘 중 하나를 선택하고 "보기 전용" 또는 "전체 액세스"를 누르면 검은색 창이 나타나고 아무것도 표시되지 않습니다 ( "터미널" 세션 유형을 시도하면 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 패키지를 제거하고 다시 설치해 보았지만 문제가 해결되지 않았습니다.

관련 정보