x2go가 "오류: '7' 단계에서 세션 협상에 실패했습니다."라는 메시지와 함께 연결에 실패했지만 ssh에는 실패했습니다.

x2go가 "오류: '7' 단계에서 세션 협상에 실패했습니다."라는 메시지와 함께 연결에 실패했지만 ssh에는 실패했습니다.

x2goDebian 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'.. 그럼 그게 정확히 무슨 뜻인가요?

그리고 일반적으로 이 배경화면 버그 없이 어떻게 세션에 연결할 수 있나요?

답변1

드디어 찾았습니다. 문제는 에 있었습니다 /etc/ssh/ssd_config.

나는 다음을 포함하는 줄을 가지고 있었습니다:

AllowTcpForwarding no

댓글을 달았더니 이제 작동합니다.

관련 정보