
我嘗試x2go
在 Debian Jessy 上使用。
首先,我可以使用 ssh 連接到本地主機,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
溫我用這個,
- 我收到一個視窗女巫詢問我的 DSA 密鑰。我寫下它並單擊ok按鈕。
- 之後,我會看到一個包含使用者的對話框(預設為“fauve”),在密碼矩形中,我右鍵單擊系統會話密碼並單擊ok。
- 我再次出現一個窗口,詢問我的 dsa 密鑰,就像第一個窗口一樣(WTF?)。我寫下它並點擊ok按鈕。
- 我看到一個包含會話清單的對話框。它說“選擇一個會話”。列表中只有一項,因此我單擊它。
- 我只得到
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'.
。那麼這到底是什麼意思呢?
一般來說,如何在沒有這個壁紙錯誤的情況下連接到我的會話?
答案1
我終於找到了。問題出在/etc/ssh/ssd_config
.
我有一行包含:
AllowTcpForwarding no
我評論了它,現在它可以工作了。