<div dir="ltr">Hey Roland,<div><br></div><div>I'm sorry but I'm quite busy right now. </div><div>Following things to try:</div><div><br></div><div>Kill all sessions on your server.</div><div>Use the root command to list all users sessions with:</div>
<div>sudo x2golistsessions_root</div><div>Delete all involved users .Xauthority files.<br></div><div>If you've got hanging sessions left, manually execute x2goterminatesessions with the ID.</div><div>Make the x2goserver logging level to debug in /etc/x2go/x2xgoserver.conf</div>
<div>Reboot the machine.<br></div><div><br></div><div>Then open a new Master Session -> KDE or xterm, whatever..</div><div>Use the root command again to make sure it's known by the x2goserver.</div><div>Then start the Shadow Session to the Master Session.</div>
<div><br></div><div>Include as many logfiles as possible into a new mail to the mailing list. </div><div><br></div><div>Greetings,</div><div>Kjellski</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/7/17 Roland Giesler <span dir="ltr"><<a href="mailto:roland@giesler.za.net" target="_blank">roland@giesler.za.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Kjell, thanks for your input so far. I was wondering if you have any<br>
other suggestions to try and track this pesky problem down?<br>
<br>
regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Roland<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, Jul 15, 2013 at 12:32 PM, Roland Giesler <<a href="mailto:roland@giesler.za.net">roland@giesler.za.net</a>> wrote:<br>
> On Thu, Jul 11, 2013 at 8:07 PM, Kjell Otto <<a href="mailto:otto.kjell@gmail.com">otto.kjell@gmail.com</a>> wrote:<br>
>> Have you tried to delete the .Xauthority File in the users Homefolder?<br>
><br>
> I have now.<br>
><br>
> On the client I log:<br>
><br>
> Loop: PANIC! The remote NX proxy closed the connection.<br>
> Loop: PANIC! Failure negotiating the session in stage '7'.<br>
> Loop: PANIC! Wrong version or invalid session authentication cookie.<br>
><br>
> On the server, the session log shows:<br>
><br>
> running as X2Go Agent<br>
><br>
> NXAGENT - Version 3.5.0<br>
><br>
> Copyright (C) 2001, 2011 NoMachine.<br>
> See <a href="http://www.nomachine.com/" target="_blank">http://www.nomachine.com/</a> for more information.<br>
><br>
> Info: Agent running with pid '2543'.<br>
> Session: Starting session at 'Mon Jul 15 11:50:05 2013'.<br>
> Info: Proxy running in server mode with pid '2543'.<br>
> Info: Waiting for connection from 'localhost' on port '30001'.<br>
> Warning: Refusing connection from '192.168.1.3'.<br>
> Error: Connection with remote host 'localhost' could not be established.<br>
> Error: Aborting session with 'Unable to open display<br>
> 'nx/nx,options=/home/roland/.x2go/C-roland-50-1373881804_stDUNITY_dp24/options:50''.<br>
> Session: Aborting session at 'Mon Jul 15 11:50:55 2013'.<br>
> Session: Session aborted at 'Mon Jul 15 11:50:55 2013'.<br>
><br>
> This makes me think. I port forward port 22 through the ADSL router<br>
> (which has 192.168.1.1 as LAN ethernet address and the server has<br>
> 192.168.1.3). Could this have something to do with the problem? What<br>
> is port 30001 used for and should I allow that through the firewall?<br>
> Surely port 22 should be enough?<br>
><br>
> I have also turned apparmor off, but it makes no difference.<br>
><br>
> thanks again<br>
><br>
> Roland<br>
><br>
>><br>
>> Please Try that first. Your log seems to be completely normal so far... Do<br>
>> you have a Desktop you can shadow to? I mean if there is no MasterSession<br>
>> opened, then you can't shadow it...<br>
>><br>
>> Best regards,<br>
>> Kjellski<br>
>><br>
>><br>
>> 2013/7/11 Roland Giesler <<a href="mailto:roland@giesler.za.net">roland@giesler.za.net</a>><br>
>>><br>
>>> On Thu, Jul 11, 2013 at 9:22 AM, Kjell Otto <<a href="mailto:otto.kjell@gmail.com">otto.kjell@gmail.com</a>> wrote:<br>
>>> > Hi Roland,<br>
>>> ><br>
>>> > have you seen what's mentioned here:<br>
>>> ><br>
>>> > <a href="http://developer.berlios.de/bugs/?func=detailbug&bug_id=18258&group_id=2978" target="_blank">http://developer.berlios.de/bugs/?func=detailbug&bug_id=18258&group_id=2978</a><br>
>>><br>
>>> Here's what my server log has.<br>
>>><br>
>>> Jul 11 15:14:54 Ashton /usr/bin/x2golistdesktops[30895]:<br>
>>> x2golistdesktops has been called without options<br>
>>> Jul 11 15:14:54 Ashton /usr/bin/x2golistsessions[30899]:<br>
>>> x2golistsessions has been called with options: x2goserver<br>
>>> Jul 11 15:14:58 Ashton /usr/bin/x2gostartagent: x2gostartagent called<br>
>>> with options: 1440x900 adsl 16m-jpeg-9 unix-kde-depth_24 us pc105/us 1<br>
>>> S 1XSHADrolandXSHAD:0<br>
>>> Jul 11 15:14:58 Ashton /usr/bin/x2gosessionlimit[30961]:<br>
>>> x2gosessionlimit has been called<br>
>>> Jul 11 15:14:58 Ashton /usr/bin/x2golistsessions[30964]:<br>
>>> x2golistsessions has been called with options: --all-servers<br>
>>> Jul 11 15:14:59 Ashton /usr/bin/x2gofeature: x2gofeature called with<br>
>>> options: X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:14:59 Ashton<br>
>>> /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:<br>
>>> x2goserver-extensions.features called with options:<br>
>>> X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:15:00 Ashton /usr/bin/x2goserver-run-extensions:<br>
>>> x2goserver-run-extensions called with options:<br>
>>> roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24 pre-start<br>
>>> Jul 11 15:15:00 Ashton /usr/bin/x2gostartagent: successfully started<br>
>>> X2Go agent session with ID<br>
>>> roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24<br>
>>> Jul 11 15:15:00 Ashton /usr/bin/x2gofeature: x2gofeature called with<br>
>>> options: X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:15:00 Ashton<br>
>>> /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:<br>
>>> x2goserver-extensions.features called with options:<br>
>>> X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:15:00 Ashton /usr/bin/x2goserver-run-extensions:<br>
>>> x2goserver-run-extensions called with options:<br>
>>> roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24 post-start<br>
>>> Jul 11 15:15:00 Ashton /usr/bin/x2gostartagent: blocking creation of<br>
>>> agent's keyboard file<br>
>>><br>
>>> /home/roland/.x2go/C-roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24/keyboard<br>
>>> as requested by session startup command<br>
>>> Jul 11 15:15:52 Ashton /usr/bin/x2goumount-session[31487]:<br>
>>> x2goumount-session has been called with options:<br>
>>> roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24<br>
>>> Jul 11 15:15:54 Ashton /usr/bin/x2goumount-session[31524]:<br>
>>> x2goumount-session has been called with options:<br>
>>> roland-50-1373548499_stS1XSHADrolandXSHADPP0_dp24<br>
>>> Jul 11 15:17:01 Ashton CRON[31876]: (root) CMD ( cd / && run-parts<br>
>>> --report /etc/cron.hourly)<br>
>>> Jul 11 15:19:46 Ashton /usr/bin/x2golistdesktops[428]:<br>
>>> x2golistdesktops has been called without options<br>
>>> Jul 11 15:19:46 Ashton /usr/bin/x2golistsessions[432]:<br>
>>> x2golistsessions has been called with options: x2goserver<br>
>>> Jul 11 15:19:52 Ashton /usr/bin/x2gostartagent: x2gostartagent called<br>
>>> with options: 1440x900 adsl 16m-jpeg-9 unix-kde-depth_24 us pc105/us 1<br>
>>> S 1XSHADrolandXSHAD:0<br>
>>> Jul 11 15:19:52 Ashton /usr/bin/x2gostartagent: client announced<br>
>>> itself as ,,105.237.13.183''<br>
>>> Jul 11 15:19:52 Ashton /usr/bin/x2gostartagent: shadow session<br>
>>> requested: mode 1, user: roland, desktop: :0<br>
>>> Jul 11 15:19:52 Ashton /usr/bin/x2gosessionlimit[496]:<br>
>>> x2gosessionlimit has been called<br>
>>> Jul 11 15:19:52 Ashton /usr/bin/x2golistsessions[499]:<br>
>>> x2golistsessions has been called with options: --all-servers<br>
>>> Jul 11 15:19:52 Ashton /usr/lib/x2go/x2gogetdisplays[513]:<br>
>>> db_getdisplays called, server: Ashton; return value:<br>
>>> Jul 11 15:19:52 Ashton /usr/lib/x2go/x2gogetports[523]: db_getports<br>
>>> called, server: Ashton; return value:<br>
>>> Jul 11 15:19:53 Ashton /usr/lib/x2go/x2goinsertsession[550]:<br>
>>> db_insertsession called, session ID:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24, server: Ashton,<br>
>>> session ID: roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24<br>
>>> Jul 11 15:19:53 Ashton /usr/lib/x2go/x2goinsertport[562]:<br>
>>> db_insertport called, session ID:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24, server: Ashton, SSH<br>
>>> port: 30001<br>
>>> Jul 11 15:19:53 Ashton /usr/lib/x2go/x2goinsertport[574]:<br>
>>> db_insertport called, session ID:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24, server: Ashton, SSH<br>
>>> port: 30002<br>
>>> Jul 11 15:19:53 Ashton /usr/lib/x2go/x2goinsertport[587]:<br>
>>> db_insertport called, session ID:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24, server: Ashton, SSH<br>
>>> port: 30003<br>
>>> Jul 11 15:19:53 Ashton /usr/bin/x2gofeature: x2gofeature called with<br>
>>> options: X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:19:53 Ashton<br>
>>> /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:<br>
>>> x2goserver-extensions.features called with options:<br>
>>> X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:19:53 Ashton /usr/bin/x2goserver-run-extensions:<br>
>>> x2goserver-run-extensions called with options:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24 pre-start<br>
>>> Jul 11 15:19:53 Ashton /usr/bin/x2gostartagent: successfully started<br>
>>> X2Go agent session with ID<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24<br>
>>> Jul 11 15:19:53 Ashton /usr/bin/x2gofeature: x2gofeature called with<br>
>>> options: X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:19:54 Ashton<br>
>>> /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:<br>
>>> x2goserver-extensions.features called with options:<br>
>>> X2GO_RUN_EXTENSIONS<br>
>>> Jul 11 15:19:54 Ashton /usr/bin/x2goserver-run-extensions:<br>
>>> x2goserver-run-extensions called with options:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24 post-start<br>
>>> Jul 11 15:19:54 Ashton /usr/lib/x2go/x2gocreatesession[680]:<br>
>>> db_createsession called, session ID:<br>
>>> roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24, cookie:<br>
>>> 99946d36e5e8848f5f91951d5c1c6f67, client: xxx.yyy.13.183, pid: 645,<br>
>>> graphics port: 30001, sound port: 30002, file sharing port: 30003<br>
>>> Jul 11 15:19:54 Ashton /usr/bin/x2gostartagent: blocking creation of<br>
>>> agent's keyboard file<br>
>>><br>
>>> /home/roland/.x2go/C-roland-50-1373548792_stS1XSHADrolandXSHADPP0_dp24/keyboard<br>
>>> as requested by session startup command<br>
>>><br>
>>> That last line: Is that because of the error, or is it causing the error?<br>
>>><br>
>>> thanks<br>
>>><br>
>>> Roland<br>
>>><br>
>>><br>
>>> ><br>
>>> > Wether it helps or not, it would be great to see the server side of<br>
>>> > this, so<br>
>>> > please post the corresponding entries of your /var/log/syslog after<br>
>>> > configuring the x2goserver for debugging(set it in<br>
>>> > /etc/x2go/x2goserver.conf).<br>
>>> ><br>
>>> > Nevertheless, the only Cookies I can think used by x2go are the MIT<br>
>>> > magic<br>
>>> > cookies of X... maybe try to delete the .Xauthority of the user trying<br>
>>> > to<br>
>>> > log in and retry...<br>
>>> ><br>
>>> > Greetings,<br>
>>> > @Kjellski<br>
>>> ><br>
>>> ><br>
>>> > 2013/7/10 Roland Giesler <<a href="mailto:roland@giesler.za.net">roland@giesler.za.net</a>><br>
>>> >><br>
>>> >> I must have read every mailing list and other posts I could find on<br>
>>> >> Google regarding this problem. Nowhere was anyone able to identify<br>
>>> >> the actual cause and fix for this problem.<br>
>>> >><br>
>>> >> How can this be? Does anyone know where the X2Go developer(s) hang<br>
>>> >> out?<br>
>>> >><br>
>>> >> thanks<br>
>>> >><br>
>>> >> Roland Giesler<br>
>>> >> +27 (0)72-450-2817<br>
>>> >> <a href="http://www.giesler.za.net" target="_blank">http://www.giesler.za.net</a><br>
>>> >><br>
>>> >> Disclaimer: The sender invokes the rule of "exemptus responsibilitus"<br>
>>> >> pertaining to caffeine soluted inductions and/or decantations thereof<br>
>>> >> into tactile communication interfaces and alternative apparatuses with<br>
>>> >> respect to personal computation devices or otherwise implementations<br>
>>> >> of electronic and/or bionic devices. This impartation is intended for<br>
>>> >> the addressed party, unless conditions contrary to the aforementioned<br>
>>> >> exist, in which case it is pertinent. Reduce without further ado to<br>
>>> >> nothingness said impartation; alternatively "refrain from traversing<br>
>>> >> the point of origination, be not enriched by 200 Randus and proceed<br>
>>> >> without delay to enjailment".<br>
>>> >><br>
>>> >><br>
>>> >> On Thu, Jul 4, 2013 at 10:25 PM, Roland Giesler <<a href="mailto:roland@giesler.za.net">roland@giesler.za.net</a>><br>
>>> >> wrote:<br>
>>> >> > bump.<br>
>>> >> ><br>
>>> >> > anyone with help?<br>
>>> >> ><br>
>>> >> > On Mon, Jul 1, 2013 at 11:36 PM, Roland Giesler<br>
>>> >> > <<a href="mailto:roland@giesler.za.net">roland@giesler.za.net</a>><br>
>>> >> > wrote:<br>
>>> >> >> This error is most annoying to say the least, since no-where on the<br>
>>> >> >> internet is an explaination of the cause nor the fix for it. Some<br>
>>> >> >> people seem to have managed to get past it by luck.<br>
>>> >> >><br>
>>> >> >> This is an Ubuntu 12.04 64bit server that had nxserver install. One<br>
>>> >> >> day (probably after some update, but it was too long ago to undo of<br>
>>> >> >> trace now) the nxclient just stopped working.<br>
>>> >> >><br>
>>> >> >> I left it after many futile attempt to fix it. I have completely<br>
>>> >> >> removed (purged) openssh-server and nxserver, nxnode and nxclient.<br>
>>> >> >> Numerous times, apart from creating keys manually and more.<br>
>>> >> >><br>
>>> >> >> So I though, let me switch to X2Go. And lo and behold, I get the<br>
>>> >> >> same<br>
>>> >> >> error.<br>
>>> >> >><br>
>>> >> >> Strangely enough though, I can connect perfect to the server via SSH<br>
>>> >> >> every time.<br>
>>> >> >><br>
>>> >> >> What causes this and how does one fix this please?<br>
>>> >> >><br>
>>> >> >> regards<br>
>>> >> >><br>
>>> >> >> Roland<br>
>>> >> _______________________________________________<br>
>>> >> X2Go-User mailing list<br>
>>> >> <a href="mailto:X2Go-User@lists.berlios.de">X2Go-User@lists.berlios.de</a><br>
>>> >> <a href="https://lists.berlios.de/mailman/listinfo/x2go-user" target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-user</a><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
</div></div></blockquote></div><br></div>