x2go无法连接但没有ssh“错误:在阶段'7'中协商会话失败。”


1

我试着x2go在Debian Jessy 上使用。

首先,我可以使用ssh连接到localhost ssh fauve@localhost -p 22 -i ~/.ssh/id_dsa并且它可以工作。

但是,当我使用x2go以下配置时:

Host: localhost
Identifiant: fauve
SSH Port: 22
Use as DSA/RSA key for ssh authentification: ~/.ssh/id_dsa
Session type: xfce

我用这个,

  1. 我有一个窗口女巫问我关于我的dsa密钥。我写了它并点击ok按钮。
  2. 之后,我得到一个带用户的对话框(以“fauve”作为默认用户),在密码矩形中,我输入系统会话密码,然后单击ok
  3. 我再次看到一个窗口,他问我关于我的dsa密钥,就像第一个(WTF?)。我写了它,然后点击ok按钮。
  4. 我得到一个包含会话列表的对话框。它说“选择一个会话”。列表中只有一个项目,所以我点击它。
  5. 我只x2go注意到其他的壁纸。没有桌面,没有错误消息,注意到。

但是在(2)和(3)之间的对话框中,我可以阅读以下消息:

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 '21545'.
Session: Starting session at 'Mon Aug  8 20:55:58 2016'.
Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0.
Info: Connecting to remote host 'localhost:31001'.
Info: Connection to remote proxy 'localhost:31001' established.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Mon Aug  8 20:55:58 2016'.
Session: Session terminated at 'Mon Aug  8 20:55:58 2016'.
Connection expirée, abandon en cours
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 '22032'.
Session: Starting session at 'Mon Aug  8 20:56:43 2016'.
Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0.
Info: Connecting to remote host 'localhost:31004'.
Info: Connection to remote proxy 'localhost:31004' established.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Mon Aug  8 20:56:43 2016'.
Session: Session terminated at 'Mon Aug  8 20:56:43 2016'.

我看到了这一行Error: Failure negotiating the session in stage '7'.。那究竟是什么意思呢?

通常,如何在没有此壁纸错误的情况下连接到我的会话?

Answers:


0

我终于找到了。问题在于/etc/ssh/ssd_config

我有一行包含:

AllowTcpForwarding no

我评论它现在有效。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.