<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hello there. </p>
<p>We're trying to use X2Go in our campus as a user friendly Linux-Linux remote desktop solution. We would also like a SingleSingOn approach, so we chose to use kerberos authentication between the Linux clients and the X2Go server.</p>
<p>We already have a working KDC that authenticates a SSH server, as a test. On the client I have the Kerberos 5 Auth. option checked, but when I attempt the connection, the screen remains blank and never connects. The log shows this socket error but the authentication seems to be working.</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>x2go-INFO-8> "Starting connection to server: newhost.com:22"<br />x2go-DEBUG-../src/onmainwindow.cpp:3007> Starting new ssh connection to server:"newhost.com":"22" krbLogin: true<br />x2go-DEBUG-../src/sshmasterconnection.cpp:175> SshMasterConnection, host "newhost.com"; port 22; user "remoto"; useproxy false; proxyserver ""; proxyport 22<br />x2go-DEBUG-../src/sshmasterconnection.cpp:244> Starting SSH connection with Kerberos authentication.<br />x2go-DEBUG-../src/sshmasterconnection.cpp:252> SshMasterConnection, instance SshMasterConnection(0x55e041b1c730) created.<br />x2go-DEBUG-../src/sshmasterconnection.cpp:520> SshMasterConnection, instance SshMasterConnection(0x55e041b1c730) entering thread.<br />x2go-DEBUG-../src/sshmasterconnection.cpp:834> Session port before config file parse: 22<br />x2go-DEBUG-../src/sshmasterconnection.cpp:844> Session port after config file parse: 22<br />x2go-DEBUG-../src/sshmasterconnection.cpp:909> Session port before config file parse (part 2): 22<br />x2go-DEBUG-../src/sshmasterconnection.cpp:919> Session port after config file parse (part 2): 22<br />x2go-DEBUG-../src/sshmasterconnection.cpp:944> cserverAuth<br />x2go-DEBUG-../src/sshmasterconnection.cpp:985> state: 1<br /><br />x2go-DEBUG-../src/sshmasterconnection.cpp:1633> Starting ssh:"ssh" "-o GSSApiAuthentication=yes -o PasswordAuthentication=no -o PubkeyAuthentication=no -p 22 -l remoto newhost.com bash -l -c 'echo \"X2GODATABEGIN:eb840c04-8bb1-44b2-b29f-e29332c0354e\"; export TERM=\"dumb\"; whoami; echo \"X2GODATAEND:eb840c04-8bb1-44b2-b29f-e29332c0354e\";'"<br /><br />x2go-DEBUG-../src/sshmasterconnection.cpp:1661> SSH exited.<br />x2go-DEBUG-../src/sshmasterconnection.cpp:1662> stdout: "X2GODATABEGIN:eb840c04-8bb1-44b2-b29f-e29332c0354e\nremoto\nX2GODATAEND:eb840c04-8bb1-44b2-b29f-e29332c0354e\n"<br /><br />x2go-DEBUG-../src/sshmasterconnection.cpp:1663> stderr: ""<br /><br />x2go-DEBUG-../src/sshmasterconnection.cpp:1664> Exit code: 0; status: QProcess::ExitStatus(NormalExit)<br /><br /><strong>x2go-DEBUG-../src/sshmasterconnection.cpp:726> User authentication OK.</strong><br /><strong>x2go-DEBUG-../src/sshmasterconnection.cpp:1727> "ssh_channel_open_session failed": "Socket error: disconnected"</strong><br /><br />x2go-DEBUG-../src/sshmasterconnection.cpp:735> Login Check - Failed<br />x2go-DEBUG-../src/onmainwindow.cpp:3167> Closed SSH Session interaction</p>
</blockquote>
<p>The documentation on the wiki is blank when it comes to the advanced section and kerberos authentication methods, and I could not find past use cases regarding this approach on the mailing lists (I could've missed it though).</p>
<p>Are there any additional configurations needed on the server side or any insights regarding this connection error? Any help towards this setup is appreciated.</p>
<p>Regards,<br />Rubens Zanatta</p>
<p><br /></p>
</body></html>