Tom Harris | 12 Apr 03:02 2013
Picon

Re: Debugging tips?

Thanks, Mike.


I got some time to look more closely at this recently.   I turned on the highest debugging level, and it logged more, but I didn't find any smoking guns.

After some more digging, I found that the user account in question was using the shell "/bin/sh".   If I changed that shell to "/bin/bash" the session works fine.     I saw an old bug report of a problem with using tcsh, but nothing for sh.   This is on an Ubuntu Linux 12.04 system.

Thanks,
Tom

On Thu, Mar 14, 2013 at 12:34 AM, Mike Gabriel <mike.gabriel-QcRmU36LScxyC2I0vPwN6RvVK+yQ3ZXh@public.gmane.org> wrote:
Hi Tom,


On Mi 13 Mär 2013 17:11:06 CET Tom Harris wrote:

I'm just starting to use x2go, and it has mostly worked great.   But, I
have run into problems where I connect to my server, get authenticated, but
never get my application displayed.    I can see the x2goagent process
running on the server, but the app never displays.   Creating a new user
account and logging in with that has usually succeeded as a workaround.
But, obviously that's not a solution.

I'm sure there is a simple fix for this, like cleaning up some lost session
data.  But, my attempts thus far have failed.    Are there any session
debugging tips available?  Or, pointers for where to look or how to enable
more debugging output?


In /etc/x2go/x2goserver.conf you can set the X2Go Server loglevel to debug. X2Go Server logs to syslog.

If you use PyHoca-GUI as a client (which has a much more verbose debugging output) then you can enable --libdebug on the command line. PyHoca-GUI logs to stderr.

There also might be some errors in ~/.xsession-x2go-errors if you have the package x2goserver-xsession installed.

To give you more advice (once who have debugged yourself a little) we need a bit more information (what distro, what version, what desktop shell, etc.)

Best,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel <at> das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

_______________________________________________
X2Go-User mailing list
X2Go-User-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/x2go-user

<div>
<p>Thanks, Mike.</p>
<div><br></div>
<div>I got some time to look more closely at this recently. &nbsp; I turned on the highest debugging level, and it logged more, but I didn't find any smoking guns.</div>
<div><br></div>
<div>After some more digging, I found that the user account in question was using the shell "/bin/sh". &nbsp; If I changed that shell to "/bin/bash" the session works fine. &nbsp; &nbsp; I saw an old bug report of a problem with using tcsh, but nothing for sh. &nbsp; This is on an Ubuntu Linux 12.04 system.</div>
<div><br></div>
<div>Thanks,</div>
<div>Tom<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 12:34 AM, Mike Gabriel <span dir="ltr">&lt;<a href="mailto:mike.gabriel@..." target="_blank">mike.gabriel@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Hi Tom,<div><div class="h5">
<br><br>
On Mi 13 M&auml;r 2013 17:11:06 CET Tom Harris wrote:<br><br><blockquote class="gmail_quote">
I'm just starting to use x2go, and it has mostly worked great. &nbsp; But, I<br>
have run into problems where I connect to my server, get authenticated, but<br>
never get my application displayed. &nbsp; &nbsp;I can see the x2goagent process<br>
running on the server, but the app never displays. &nbsp; Creating a new user<br>
account and logging in with that has usually succeeded as a workaround.<br>
But, obviously that's not a solution.<br><br>
I'm sure there is a simple fix for this, like cleaning up some lost session<br>
data. &nbsp;But, my attempts thus far have failed. &nbsp; &nbsp;Are there any session<br>
debugging tips available? &nbsp;Or, pointers for where to look or how to enable<br>
more debugging output?<br><br>
</blockquote>
<br>
</div></div>
In /etc/x2go/x2goserver.conf you can set the X2Go Server loglevel to debug. X2Go Server logs to syslog.<br><br>
If you use PyHoca-GUI as a client (which has a much more verbose debugging output) then you can enable --libdebug on the command line. PyHoca-GUI logs to stderr.<br><br>
There also might be some errors in ~/.xsession-x2go-errors if you have the package x2goserver-xsession installed.<br><br>
To give you more advice (once who have debugged yourself a little) we need a bit more information (what distro, what version, what desktop shell, etc.)<br><br>
Best,<br>
Mike<span class="HOEnZb"><br><br>
-- <br><br>
DAS-NETZWERKTEAM<br>
mike gabriel, rothenstein 5, 24214 neudorf-bornstein<br>
fon: <a href="tel:%2B49%20%281520%29%201976%20148" value="+4915201976148" target="_blank">+49 (1520) 1976 148</a><br><br>
GnuPG Key ID 0x25771B31<br>
mail: <a href="mailto:mike.gabriel@..." target="_blank">mike.gabriel <at> das-netzwerkteam.de</a>, <a href="http://das-netzwerkteam.de" target="_blank">http://das-netzwerkteam.de</a><br><br>
freeBusy:<br><a href="https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb" target="_blank">https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb</a></span><br>_______________________________________________<br>

X2Go-User mailing list<br><a href="mailto:X2Go-User@...">X2Go-User@...</a><br><a href="https://lists.berlios.de/mailman/listinfo/x2go-user" target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-user</a><br>
</blockquote>
</div>
<br>
</div>
</div>

Gmane