<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-03-09 17:17 GMT+01:00 Mihai Moldovan <span dir="ltr"><<a href="mailto:ionic@ionic.de" target="_blank">ionic@ionic.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 09.03.2015 04:06 PM, Julius K wrote:<br>
> 2015-03-03 14:13 GMT+01:00 Mihai Moldovan <<a href="mailto:ionic@ionic.de">ionic@ionic.de</a><br>
</span>> <mailto:<a href="mailto:ionic@ionic.de">ionic@ionic.de</a>>>:<br>
<span class="">><br>
> On 01.03.2015 02:14 PM, Julius K wrote:<br>
> > $ x2gostartagent<br>
</span>> > [Error Message]<br>
<span class="">> ><br>
> > I'm on Linux Miant 17 Qiana with the x2go/stable ppa.<br>
</span>> > [...]<br>
<span class="">><br>
> x2gostartagent is not meant to be started manually, but only via<br>
> x2goclient or pyhoca-*. Thus, the behavior shown is correct.<br>
><br>
><br>
> Ooh, I'm really sorry for this, I thought I have to start the server<br>
> manually but it starts automatically after installation, right?<br>
<br>
</span>I'll be adding back the list, because this may be of interest for other<br>
people, too.<br>
<br>
X2Go Server is not using a daemon for its normal mode of operation, so<br>
there's nothing "started" (neither automatically nor manually) after<br>
installation. The init script that is automatically is merely running<br>
"x2gocleansessions" to get rid of stale/disconnected/terminated<br>
sessions. (But creating sessions will still work even with this<br>
disabled. You just may have a mess on your hands afterwards...)<br>
<br>
Every session is started by X2Go Client (or PyHoca-*) via SSH. Both<br>
launch x2gostartagent via the SSH connection to the remote server *when<br>
creating a new session*.<br>
<br>
Thus, once you install x2goserver, it's ready to use (minus special<br>
features which come in via, e.g., x2goserver-xsession.) <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
<br>
> What is the real problem at hand?<br>
><br>
><br>
> Now I try to connect from a windows machine to Linux, but it doesn't work.<br>
> I checked, ssh works.<br>
> When I connect, sometimes it gives an error message like this: "failed<br>
> to suspend session with ID [...]" or the programm just gets totally<br>
> unresponsive and I have to restart it.<br>
><br>
><br>
<br>
</span>Ok, that's more interesting and actually suitable for the bug report.<br>
<br>
Please start up cmd.exe, then:<br>
<br>
cd path\where\x2goclient.exe\is\installed\in<br>
x2goclient.exe --debug > debug.log 2>&1<br>
<br>
The debug log could potentially be helpful in tracking this down. When<br>
you respond, please make sure to CC <a href="mailto:800@bugs.x2go.org">800@bugs.x2go.org</a>.<br></blockquote><div><br></div><div>I'm just pasting the debug file below. I did what I described earlier and the error message appeared and is also in the debug file.<br><br>x2go-INFO-1> "Starting x2goclient..."<br>x2go-INFO-4> "Übersetzung: :/x2goclient_de_de installiert."<br>x2go-INFO-5> "Übersetzung: :/qt_de_DE installiert."<br>x2go-DEBUG-onmainwindow.cpp:9817> Getting Xorg settings.<br>x2go-INFO-3> "X2Go Client ist gestartet."<br>x2go-DEBUG-onmainwindow.cpp:495> "$HOME=C:/Users/Foolius"<br>x2go-DEBUG-onmainwindow.cpp:2123> Reading 2 sessions from config file.<br>x2go-DEBUG-onmainwindow.cpp:9543> Starting win servers...<br>x2go-DEBUG-onmainwindow.cpp:9895> "C:/Users/Foolius/.x2go/etc/sshd_config created."<br>x2go-DEBUG-onmainwindow.cpp:9312> got localhost<br>x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 7022<br>x2go-DEBUG-onmainwindow.cpp:9951> Creating desktop: x2go_Foolius<br>x2go-INFO-8> "Verbindung mit Server wird gestartet: T410-Mint:22"<br>x2go-DEBUG-onmainwindow.cpp:2702> Start new ssh connection to server:"T410-Mint":"22" krbLogin: false<br>x2go-DEBUG-sshmasterconnection.cpp:202> starting ssh connection without kerberos authentication<br><br>x2go-DEBUG-sshmasterconnection.cpp:206> SshMasterConnection, instance SshMasterConnection(0x3283d78) created <br>x2go-DEBUG-sshmasterconnection.cpp:442> SshMasterConnection, instance SshMasterConnection(0x3283d78) entering thread <br>x2go-DEBUG-sshmasterconnection.cpp:478> libSsh not inited yet, initting<br><br>x2go-DEBUG-sshmasterconnection.cpp:522> setting SSH DIR to "C:/Users/Foolius/ssh"<br>x2go-DEBUG-sshmasterconnection.cpp:789> cserverAuth<br> <br>x2go-DEBUG-sshmasterconnection.cpp:804> state: 1<br><br>x2go-DEBUG-sshmasterconnection.cpp:640> setting SSH DIR to "C:/Users/Foolius/ssh"<br>x2go-DEBUG-sshmasterconnection.cpp:963> Password authentication<br><br>x2go-DEBUG-sshmasterconnection.cpp:654> user auth OK<br><br>x2go-DEBUG-onmainwindow.cpp:2797> SSH connection established.<br>x2go-DEBUG-onmainwindow.cpp:3060> Continue normal x2go session<br>x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (0): "export HOSTNAME && x2golistsessions"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel<br><br>x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x32436e8<br><br>x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:9957aa01-d4b4-451b-9151-2086a87f750b; PATH=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; echo X2GODATAEND:9957aa01-d4b4-451b-9151-2086a87f750b;'"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created<br><br>x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x32436e8 (SshProcess: 0)<br><br>x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent<br><br>x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed<br><br>x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - "20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50:35|foo|80589|30012|<br>23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:29:52|foo|80410|30015|<br>27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59|7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|2015-03-09T21:52:55|foo|80179|30018|<br>" (0).<br><br>x2go-DEBUG-onmainwindow.cpp:3404> "20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50:35|foo|80589|30012|<br>23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:29:52|foo|80410|30015|<br>27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59|7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|2015-03-09T21:52:55|foo|80179|30018|<br>"<br>x2go-DEBUG-onmainwindow.cpp:4231> No shadow session.<br>x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50:35|foo|80589|30012|"<br>x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:29:52|foo|80410|30015|"<br>x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59|7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|2015-03-09T21:52:55|foo|80179|30018|"<br>x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (1): "x2gosuspend-session foo-53-1425912309_stDCINNAMON_dp32"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel<br><br>x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x3243690<br><br>x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:bcf98f38-0eff-4f41-93f6-ca3b14250c0e; PATH=/usr/local/bin:/usr/bin:/bin x2gosuspend-session foo-53-1425912309_stDCINNAMON_dp32; echo X2GODATAEND:bcf98f38-0eff-4f41-93f6-ca3b14250c0e;'"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created<br><br>x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x3243690 (SshProcess: 1)<br><br>x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent<br><br>x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed<br><br>x2go-DEBUG-sshprocess.cpp:444> have only stderr, something must be wrong<br><br>x2go-DEBUG-sshprocess.cpp:449> ssh finished: false - "ERROR: failed to suspend session with ID foo-53-1425912309_stDCINNAMON_dp32<br>" (1).<br><br>x2go-DEBUG-onmainwindow.cpp:9312> got localhost<br>x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 6000<br>x2go-DEBUG-onmainwindow.cpp:9400> using internal X: true<br>x2go-DEBUG-onmainwindow.cpp:9423> WxH:"800"x"600"<br>x2go-DEBUG-onmainwindow.cpp:9428> "-multiwindow -notrayicon -clipboard"<br>x2go-DEBUG-onmainwindow.cpp:9465> Running "c:/Program Files (x86)/x2goclient\vcxsrv\vcxsrv.exe" "-multiwindow -notrayicon -clipboard :0"<br>x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (2): "x2goresume-session foo-53-1425912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9 de auto 1 both"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel<br><br>x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x361bcf8<br><br>x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:553ddae2-bcc9-4d80-9eb0-94edaf9953b0; PATH=/usr/local/bin:/usr/bin:/bin x2goresume-session foo-53-1425912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9 de auto 1 both; echo X2GODATAEND:553ddae2-bcc9-4d80-9eb0-94edaf9953b0;'"<br><br>x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created<br><br>x2go-DEBUG-onmainwindow.cpp:9312> got localhost<br>x2go-DEBUG-onmainwindow.cpp:9340> Port already used: 6000<br>x2go-DEBUG-onmainwindow.cpp:9494> X is started.<br>x2go-DEBUG-onmainwindow.cpp:9861> All winservers are started.<br>x2go-DEBUG-onmainwindow.cpp:1479> Close event received.<br><br>x2go-DEBUG-onmainwindow.cpp:1503> Quitting tray icon and closing application.<br><br>x2go-INFO-6> "X2Go Client wird geschossen..."<br>x2go-DEBUG-onmainwindow.cpp:1332> Saving settings...<br>x2go-DEBUG-onmainwindow.cpp:1341> Saved settings.<br>x2go-DEBUG-onmainwindow.cpp:1363> Waiting for the SSH connection to finish...<br>x2go-DEBUG-sshmasterconnection.cpp:708> SshMasterConnection, instance SshMasterConnection(0x3283d78) waiting for thread to finish <br>x2go-DEBUG-sshmasterconnection.cpp:1353> Disconnecting...<br><br>x2go-DEBUG-sshmasterconnection.cpp:1364> Deleting channel connections<br><br>x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent<br><br>x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed<br><br>x2go-DEBUG-sshmasterconnection.cpp:1372> Disconnect session<br><br>x2go-DEBUG-sshmasterconnection.cpp:1378> Delete sockets<br><br>x2go-DEBUG-sshmasterconnection.cpp:1385> All channels closed, session disconnected, quiting session loop<br><br>x2go-DEBUG-sshmasterconnection.cpp:712> SshMasterConnection, instance SshMasterConnection(0x3283d78) thread finished <br>x2go-DEBUG-sshprocess.cpp:52> ssh process destructor<br>x2go-DEBUG-sshprocess.cpp:52> ssh process destructor<br>x2go-DEBUG-sshprocess.cpp:52> ssh process destructor<br>x2go-DEBUG-sshmasterconnection.cpp:719> SshMasterConnection, instance SshMasterConnection(0x3283d78) SshMasterConnection, instance SshMasterConnection(0x7fce7c008aa0) deleted <br>x2go-DEBUG-onmainwindow.cpp:1365> Waited for the SSH connection to finish.<br>x2go-DEBUG-onmainwindow.cpp:1429> Terminating xorg...<br>x2go-DEBUG-onmainwindow.cpp:1431> Terminated xorg.<br>x2go-DEBUG-onmainwindow.cpp:1432> Deleting xorg...<br>QProcess: Destroyed while process is still running.<br>x2go-DEBUG-onmainwindow.cpp:1434> Deleted xorg.<br>x2go-DEBUG-sshmasterconnection.cpp:736> libssh finalized<br><br>x2go-INFO-7> "X2Go Client wurde geschlossen."<br>x2go-DEBUG-onmainwindow.cpp:508> Destroying x2goclient...<br>x2go-DEBUG-onmainwindow.cpp:511> Destroyed x2goclient.<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
<br>
<br>
Mihai<br>
<br>
</font></span></blockquote></div><br></div></div>