From cottonke@gmail.com  Wed Oct 29 21:25:27 2014
Received: (at 656) by bugs.x2go.org; 29 Oct 2014 20:25:29 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-yh0-f43.google.com (mail-yh0-f43.google.com [209.85.213.43])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0794D5DB48
	for <656@bugs.x2go.org>; Wed, 29 Oct 2014 21:25:27 +0100 (CET)
Received: by mail-yh0-f43.google.com with SMTP id z6so960714yhz.2
        for <656@bugs.x2go.org>; Wed, 29 Oct 2014 13:25:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-type;
        bh=eBY0lN/ltgs+QxcVc/vmGkmtqxaKcSSBQnTsOI4nDIA=;
        b=SOyeEldJR75mncosC4mci8ccGxcdAOQZlS/eXj3yvol8/mFRD3LBkr/+y+BIZSd+2p
         7nII+vMgu1gHUwjiO2RGKYg1jzl8NwkhCNOaQQRE0opbjce2awpdDsriOBtYCG4Dy16S
         vk5MwU+nhTq0+mdGGoovhot20+8Ib7u7OE1tjilSUko68KgarVbupfqvatF0jqjlokg5
         1SPQ9pVl//xkZyXKGJehs40MJnUpd+NXSYJcoI6zxa3jabABLskr0mF9B0ZMB21UK0Yv
         SjzgvBqllNzb7amDYbZZy9Lrx6FoPsFEe02xgMLr0xiyNPBugD0YWeTYlrxJchiMGuCD
         rP+Q==
X-Received: by 10.236.66.206 with SMTP id h54mr3464137yhd.153.1414614325564;
 Wed, 29 Oct 2014 13:25:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.170.187.145 with HTTP; Wed, 29 Oct 2014 13:25:05 -0700 (PDT)
In-Reply-To: <CAPxkJX+oDKP1Z2g7ct=_Q4MBgOS09CoGMeZQ2bJ5i0_ja5kMCw@mail.gmail.com>
References: <CAPxkJXKdd89R=TdjaZtrgr2ZDpE4WABG96gXyf3PdCaBfi3PNg@mail.gmail.com>
 <CAPxkJXL=z6kBJy4PdM4yypTjqPs42aqmki9OHkYHqxxBw5XGNA@mail.gmail.com>
 <20141029093932.Horde.QzW4YecVJXaLTQxWF36nrQ1@mail.das-netzwerkteam.de>
 <CAPxkJXJ3Y1G2+PQt5KN9BE6QQCNw7zXqR7r4YEJSMP-wGqF7Ag@mail.gmail.com>
 <20141029141706.Horde.z8yYZEN59UUjc8UL50EdXg6@mail.das-netzwerkteam.de> <CAPxkJX+oDKP1Z2g7ct=_Q4MBgOS09CoGMeZQ2bJ5i0_ja5kMCw@mail.gmail.com>
From: Kyle Cottongim <cottonke@gmail.com>
Date: Wed, 29 Oct 2014 15:25:05 -0500
Message-ID: <CAPxkJXLviBDsVs05CoLu0McaHVNau1eZ7QDvW_3gwj7Y9N11dA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#656: Fwd: Windows X2GoClient hangs when launching x2gostartagent
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 656 <656@bugs.x2go.org>
Content-Type: multipart/alternative; boundary=001a1133cf585e9c9c050695904d

--001a1133cf585e9c9c050695904d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Mike,

On Wed, Oct 29, 2014 at 9:36 AM, Kyle Cottongim <cottonke@gmail.com> wrote:

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

$ x2goversion
x2goagent: 3.5.0.24
x2goserver: 4.0.1.15
x2goserver-extensions: 4.0.1.15
x2goserver-xsession: 4.0.1.15

Kyle

--001a1133cf585e9c9c050695904d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&#39;cou=
rier new&#39;,monospace;font-size:small">Mike,</div><div class=3D"gmail_ext=
ra"><br><div class=3D"gmail_quote">On Wed, Oct 29, 2014 at 9:36 AM, Kyle Co=
ttongim <span dir=3D"ltr">&lt;<a href=3D"mailto:cottonke@gmail.com" target=
=3D"_blank">cottonke@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">=
<div dir=3D"ltr"><div style=3D"font-family:&#39;courier new&#39;,monospace;=
font-size:small">Mike,</div><div class=3D"gmail_extra"><br><div class=3D"gm=
ail_quote"><div><div class=3D"h5">On Wed, Oct 29, 2014 at 9:17 AM, Mike Gab=
riel <span dir=3D"ltr">&lt;<a href=3D"mailto:mike.gabriel@das-netzwerkteam.=
de" target=3D"_blank">mike.gabriel@das-netzwerkteam.de</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:so=
lid;padding-left:1ex">Hi Kyle,<div><div><br>
<br>
On=C2=A0 Mi 29 Okt 2014 14:30:54 CET, Kyle Cottongim wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
Hello Mike,<br>
<br>
On Wed, Oct 29, 2014 at 4:39 AM, Mike Gabriel &lt;<br>
<a href=3D"mailto:mike.gabriel@das-netzwerkteam.de" target=3D"_blank">mike.=
gabriel@das-netzwerkteam.<u></u>de</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
Hi Kyle,<br>
<br>
On=C2=A0 So 26 Okt 2014 00:04:16 CEST, Kyle Cottongim wrote:<br>
<br>
=C2=A0Package: X2GoClient<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-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&gt; Executing remote command:<br>
&quot;x2gostartagent<br>
1440x900 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 D GNOME both&quot;=
<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 &quot;hang&quot; 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>
=E2=80=8BDuring this launch attempt, it seems the client is getting a bit f=
urther<br>
along than before, but still not to the point of launching something=E2=80=
=8B. Here<br>
is how far things are getting now:<br>
<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>2778&gt; SSH connection established.<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3038&gt; Continue normal x2go session<br=
>
x2go-DEBUG-onmainwindow.cpp:<u></u>3382&gt; &quot;&quot;<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3769&gt; Fullscreen: false<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9257&gt; got localhost<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9279&gt; Port is free: 6000<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9345&gt; using internal X: true<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9368&gt; WxH:&quot;1440&quot;x&quot;900&=
quot;<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9373&gt; &quot;-multiwindow -notrayicon =
-clipboard&quot;<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9410&gt; Running &quot;C:/Program Files<=
br>
(x86)/x2goclient\vcxsrv\<u></u>vcxsrv.exe&quot; &quot;-multiwindow -notrayi=
con -clipboard :0&quot;<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>3900&gt; Executing remote command: &quot=
;x2gostartagent<br>
1440x900 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 D GNOME both&quot;=
<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9257&gt; got localhost<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9285&gt; Port already used: 6000<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9439&gt; X is started.<br>
x2go-DEBUG-onmainwindow.cpp:<u></u>9790&gt; All winservers are started.<br>
<br>
With some debug within the x2gostartagent I can tell that it is executing<b=
r>
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]: x2golistses=
sions<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<b=
r>
both<br>
Oct 29 08:02:34 oddjob /usr/bin/x2gostartagent: client announced itself as<=
br>
,,131.199.103.76&#39;&#39;<br>
Oct 29 08:02:34 oddjob /usr/bin/x2gosessionlimit[<u></u>12835]: x2gosession=
limit<br>
has been called<br>
Oct 29 08:02:34 oddjob /usr/bin/x2golistsessions[<u></u>12838]: x2golistses=
sions<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>
&quot;hangs&quot;, 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>
=C2=A0 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&#39;s output (usern=
ame, host IPs, etc.).<br>
<br>
Also, please tell me your X2Go Server version.<br>
<br>
=C2=A0 $ x2goversion<span><font color=3D"#888888"><br>
<br>
Mike<br>
<br></font></span></blockquote><div><br></div></div></div><div><div style=
=3D"font-family:&#39;courier new&#39;,monospace;font-size:small;display:inl=
ine">=E2=80=8BThe output of &quot;</div><span style=3D"font-family:arial,sa=
ns-serif;font-size:13.3333339691162px">x2golistsessions --all-servers<div s=
tyle=3D"font-family:&#39;courier new&#39;,monospace;font-size:small;display=
:inline">=E2=80=8B&quot; is nothing ... there are no lines printed from thi=
s command.=E2=80=8B</div></span><div style=3D"font-family:&#39;courier new&=
#39;,monospace;display:inline">=E2=80=8B</div>=C2=A0</div><div><br></div><d=
iv><div style=3D"font-family:&#39;courier new&#39;,monospace;font-size:smal=
l">=E2=80=8BThe output of &quot;x2goversion&quot; is as follows:<br><div>$ =
x2goversion</div><div>x2goagent: 3.5.0.27</div><div>x2goserver: 4.0.1.18</d=
iv><div>x2goserver-extensions: 4.0.1.16</div><div>x2goserver-xsession: 4.0.=
1.16</div><span class=3D""><font color=3D"#888888"><div style=3D"font-famil=
y:&#39;courier new&#39;,monospace;font-size:small"><br></div>Kyle=E2=80=8B<=
/font></span></div><br></div></div></div></div>
</blockquote></div><br></div><div class=3D"gmail_extra"><div class=3D"gmail=
_default" style=3D"font-family:&#39;courier new&#39;,monospace;font-size:sm=
all">=E2=80=8BOne more data point ...=E2=80=8B it seems that on PCs with a =
slightly older version of the server are working w/o problem. Here is the v=
ersion information for a working PC:</div><div class=3D"gmail_default" styl=
e=3D"font-family:&#39;courier new&#39;,monospace;font-size:small"><br></div=
><div class=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,mo=
nospace;font-size:small"><div class=3D"gmail_default">$ x2goversion</div><d=
iv class=3D"gmail_default">x2goagent: 3.5.0.24</div><div class=3D"gmail_def=
ault">x2goserver: 4.0.1.15</div><div class=3D"gmail_default">x2goserver-ext=
ensions: 4.0.1.15</div><div class=3D"gmail_default">x2goserver-xsession: 4.=
0.1.15</div><div><br></div><div>Kyle</div></div><br></div></div>

--001a1133cf585e9c9c050695904d--

