X2GO 客户端无法连接到 ubuntu 16.04 服务器

X2GO 客户端无法连接到 ubuntu 16.04 服务器

我的客户端是Windows 10,服务器是Ubuntu 16.04。我能够连接,但突然无法连接。我尝试在 Windows 10 上重新安装客户端,但不起作用。

在服务器上,我的日志显示连接已建立并且没有显示错误。在我的客户端上会弹出一条消息,提示“远程代理在协商时关闭了连接”。这可能是由于传递到服务器的身份验证凭据错误造成的”但是,在我的服务器上它说已建立连接。

systemctl status x2goserver 说

  • root 成功 su 为 x2go_user
  • + ???根:x2go_用户
  • pam_unix(su:session):由 (uid=0) 为用户 x2go_user 打开的会话
  • root 成功 su 为 x2go_user
  • + ???根:x2go_用户
  • pam_unix(su:session):由 (uid=0) 为用户 x2go_user 打开的会话

我能够通过 SSH (PuTTy) 连接,并且我正在使用 XFCE,即使我切换它,也会出现相同的错误。如果我使用 OpenVPN 连接到服务器并尝试连接,也不起作用。

X2GO客户端日志文本:

Connection timeout, abortingError: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie

服务器会话.log:

Info: Agent running with pid '32736'.
Session: Starting session at 'Mon Jan 28 23:16:50 2019'.
Info: Proxy running in client mode with pid '32736'.
Info: Using errors file '/tmp/.x2go-x2go_user/C-x2go_user-51-1548735407_stDXFCE_dp32/session.log'.
Info: Using stats file '/tmp/.x2go-x2go_user/C-x2go_user-51-1548735407_stDXFCE_dp32/C-x2go_user-51-1548735407_stDXFCE_dp32/stats'.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Info: Waiting for connection from 'localhost' on socket 'tcp:*:42851'.
Loop: WARNING! Refusing connection from 'serverip' on port '42851'.
Warning: Refusing connection from 'serverip'.
Loop: PANIC! Connection with remote host 'localhost' could not be established.
Error: Connection with remote host 'localhost' could not be established.
Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-x2go_user/C-x2go_user-51-1548735407_stDXFCE_dp32/options:51''.
Session: Aborting session at 'Mon Jan 28 23:17:40 2019'.
Session: Session aborted at 'Mon Jan 28 23:17:40 2019'.

它似乎拒绝与自己连接?

相关内容