当我使用 ubuntu gnome x2goclient 连接到运行 ubuntu xfce 的 x2goserver 时,我无法在短时间(+-5 分钟)后恢复暂停的会话。我在客户端和服务器上都运行了调试,试图查找任何内容,但没有错误消息。客户端上的显示冻结了;服务器似乎说它已成功恢复。但屏幕没有响应。如果我终止并开始新的会话,一切都会正常。但 5 分钟后(不活动后)又出现了同样的问题。
短暂等待后,客户端显示“未收到远程服务器的响应”。
该问题不会在运行 Windows 的 x2goclient 上发生,会话可以稍后继续。
客户端调试(仅限相关部分,无法在此处发布所有内容)
x2go-DEBUG-../src/sshmasterconnection.cpp:356> Creating new channel for reverse tunnel 57307
x2go-DEBUG-../src/sshmasterconnection.cpp:368> Connecting to "127.0.0.1":4713
x2go-DEBUG-../src/sshmasterconnection.cpp:392> New channel created
x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr: "Warning: No data received from remote proxy within 30 seconds.\n"
服务器信息
Sep 3 06:59:38 lnz1-inno /usr/bin/x2goumount-session[1567193]: x2goumount-session has been called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24
Sep 3 06:59:38 lnz1-inno /usr/bin/x2goumount-session[1567193]: SSHFS share already unmounted, taking care of further clean-up (C-j.oosterhuis-50-1599113954_stDXFCE_dp24)
Sep 3 06:59:38 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_FMBINDINGS
Sep 3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_FMBINDINGS
Sep 3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_FMBINDINGS
Sep 3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: x2goserver-fmbindings.features called with options: X2GO_FMBINDINGS
Sep 3 07:00:12 lnz1-inno /usr/bin/x2goresume-session: x2goresume-session called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 800x600 adsl 16m-jpeg-9 us pc105/us 0 both no
Sep 3 07:00:12 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Sep 3 07:00:12 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Sep 3 07:00:12 lnz1-inno /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 pre-resume
Sep 3 07:00:13 lnz1-inno /usr/bin/x2goresume-session: client 192.168.23.106 has successfully resumed session with ID j.oosterhuis-50-1599113954_stDXFCE_dp24
Sep 3 07:00:13 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: x2goserver-fmbindings.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-printing.features: x2goserver-printing.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING
Sep 3 07:00:13 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Sep 3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Sep 3 07:00:13 lnz1-inno /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 post-resume
Sep 3 07:00:15 lnz1-inno /usr/bin/x2gomountdirs[1568154]: x2gomountdirs has been called with options: dir j.oosterhuis-50-1599113954_stDXFCE_dp24 jacco /home/j.oosterhuis/.x2go/ssh/key.KozDcL /home/jacco/.x2go/S-j.oosterhuis-50-1599113954_stDXFCE_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__57308
Sep 3 07:00:16 lnz1-inno /usr/bin/x2gomountdirs[1568154]: successfully mounted [email protected]:57308/home/jacco/.x2go/S-j.oosterhuis-50-1599113954_stDXFCE_dp24/spool to /tmp/.x2go-j.oosterhuis/spool/C-j.oosterhuis-50-1599113954_stDXFCE_dp24
这似乎表明“已成功安装”。
答案1
关闭屏幕保护程序,你就没事了。
当我迁移到 Ubuntu 20.04 LTS 服务器时,这也困扰了我。我之前在媒体服务器上运行 Debian Jessie,但最近坏了,所以换成了 Ubuntu。关闭屏幕保护程序解决了这个问题。