当我使用 ubuntu gnome x2goclient 连接到运行 ubuntu xfce 的 x2goserver 时,我无法在短时间内(+-5 分钟)后恢复暂停的会话。我已经在客户端和服务器上运行调试以尝试查找任何内容,但没有错误消息。客户端上的显示只是冻结;服务器似乎说它已成功恢复。但是屏幕没有反应。如果我终止并开始一个新会话,一切正常。但是 5 分钟后(不活动后)同样的问题发生了。
一段时间后,客户端会说“没有收到来自远程服务器的响应”。
在 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
这似乎说“成功安装”。
关闭屏幕保护程序,你会没事的。
当我迁移到 Ubuntu 20.04 LTS 服务器时,这也给我造成了影响。我以前在我的媒体服务器上运行 Debian Jessie,最近它死了,所以切换到 Ubuntu。关闭屏幕保护程序为我解决了这个问题。