<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small">Mike,</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 9:17 AM, Mike Gabriel <span dir="ltr"><<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Kyle,<div><div class="h5"><br>
<br>
On Mi 29 Okt 2014 14:30:54 CET, Kyle Cottongim wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello Mike,<br>
<br>
On Wed, Oct 29, 2014 at 4:39 AM, Mike Gabriel <<br>
<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.<u></u>de</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Kyle,<br>
<br>
On So 26 Okt 2014 00:04:16 CEST, Kyle Cottongim wrote:<br>
<br>
Package: X2GoClient<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Version: 4.0.3.0<br>
<br>
When launching a session from within the X2GoClient, the process will hang<br>
after the following call:<br>
<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3900> Executing remote command:<br>
"x2gostartagent<br>
1440x900 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 D GNOME both"<br>
<br>
This does not happen all the time, but generally happens after loss of<br>
network connection or after logging out instead of just closing the<br>
X2GoClient window. A complete restart of the client machine will solve the<br>
issue.<br>
<br>
</blockquote>
<br>
Could you cross-check the debug output of X2Go Server, possibly add some<br>
more log message to /usr/bin/x2gostartagent, so that we can narrow down,<br>
where the "hang" actually occurs?<br>
<br>
Does x2gostartagent get executed at all, or is X2Go Client aready stalling<br>
before executing that command.<br>
<br>
Or is x2gostartagent hanging somewhere on the way? (Extra log messages<br>
placed in x2gostartagent will be helpful then).<br>
<br>
Regards,<br>
Mike<br>
</blockquote>
<br>
<br>
During this launch attempt, it seems the client is getting a bit further<br>
along than before, but still not to the point of launching something. Here<br>
is how far things are getting now:<br>
<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>2778> SSH connection established.<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3038> Continue normal x2go session<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3382> ""<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3769> Fullscreen: false<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9257> got localhost<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9279> Port is free: 6000<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9345> using internal X: true<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9368> WxH:"1440"x"900"<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9373> "-multiwindow -notrayicon -clipboard"<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9410> Running "C:/Program Files<br>
(x86)/x2goclient\vcxsrv\<u></u>vcxsrv.exe" "-multiwindow -notrayicon -clipboard :0"<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3900> Executing remote command: "x2gostartagent<br>
1440x900 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 D GNOME both"<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9257> got localhost<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9285> Port already used: 6000<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9439> X is started.<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9790> All winservers are started.<br>
<br>
With some debug within the x2gostartagent I can tell that it is executing<br>
this script and now seems to be getting past this point. I have turned the<br>
logging level of the server to debug and here is the output I am seeing<br>
during a connection attempt:<br>
<br>
Oct 29 08:02:33 oddjob /usr/bin/x2golistsessions[<u></u>12799]: x2golistsessions<br>
has been called with no option<br>
Oct 29 08:02:34 oddjob /usr/bin/x2gostartagent: x2gostartagent called with<br>
options: 1440x900 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 D GNOME<br>
both<br>
Oct 29 08:02:34 oddjob /usr/bin/x2gostartagent: client announced itself as<br>
,,131.199.103.76''<br>
Oct 29 08:02:34 oddjob /usr/bin/x2gosessionlimit[<u></u>12835]: x2gosessionlimit<br>
has been called<br>
Oct 29 08:02:34 oddjob /usr/bin/x2golistsessions[<u></u>12838]: x2golistsessions<br>
has been called with options: --all-servers<br>
<br>
I added some more debug messages to x2golistsessions and am seeing that<br>
this script seems to finish execution (I reach deubg statements just before<br>
closing syslog).<br>
<br>
Another note is that even after restart of the client and server PCs, this<br>
is not working. Also, If I keep my client open for a long time after it<br>
"hangs", it will sometimes eventually bring up the remote session. The time<br>
it takes for it to do this is on the order of magnitude of many hours.<br>
<br>
Thanks,<br>
Kyle<br>
</blockquote>
<br></div></div>
Can you provide the output of<br>
<br>
x2golistsessions --all-servers<br>
<br>
while X2Go Client is trying to launch the session?<br>
<br>
Make sure to obfuscate non-public data from listsession's output (username, host IPs, etc.).<br>
<br>
Also, please tell me your X2Go Server version.<br>
<br>
$ x2goversion<span class=""><font color="#888888"><br>
<br>
Mike<br>
<br></font></span></blockquote><div><br></div><div><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small;display:inline">The output of "</div><span style="font-family:arial,sans-serif;font-size:13.3333339691162px">x2golistsessions --all-servers<div class="gmail_default" style="font-family:'courier new',monospace;font-size:small;display:inline">" is nothing ... there are no lines printed from this command.</div></span><div class="gmail_default" style="font-family:'courier new',monospace;display:inline"></div> </div><div><br></div><div><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small">The output of "x2goversion" is as follows:<br><div class="gmail_default">$ x2goversion</div><div class="gmail_default">x2goagent: 3.5.0.27</div><div class="gmail_default">x2goserver: 4.0.1.18</div><div class="gmail_default">x2goserver-extensions: 4.0.1.16</div><div class="gmail_default">x2goserver-xsession: 4.0.1.16</div><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small"><br></div>Kyle</div><br></div></div></div></div>