Re: [X2Go-User] win32 x2go client not resuming
Hi Will, >> x2go-INFO-3> "Started x2goclient." >> x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" >> Object::connect: No such slot ONMainWindow::slotTunnelOk() Yes, you should file this as a bug. It's a situation analogous to the one described in bug #742 (argument mismatch) http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=742 > I realise I never did this properly. > When I do run it with --debug it often works and this error only occurs infrequently. > I assume it is because writing out the messages slows things down just enough that > when slotTunnelOk is called winServersReady is now true. Awkward! That shouldn't happen. George Trakatelis DoAI, UoM, Greece ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] win32 x2go client not resuming
On 05/03/2015 21:06, Mihai Moldovan wrote: I redirected stderr and ran the app. This is the output: x2go-INFO-1> "Starting x2goclient..." x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb" x2go-WARNING-2> "Can't load translator: :/qt_en_GB" x2go-INFO-3> "Started x2goclient." x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" Object::connect: No such slot ONMainWindow::slotTunnelOk() Have you also passed --debug? I realise I never did this properly. When I do run it with --debug it often works and this error only occurs infrequently. I assume it is because writing out the messages slows things down just enough that when slotTunnelOk is called winServersReady is now true. The debug output is: x2go-INFO-1> "Starting x2goclient..." x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb" x2go-WARNING-2> "Can't load translator: :/qt_en_GB" x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-onmainwindow.cpp:1176> Plugging apps in tray. x2go-DEBUG-onmainwindow.cpp:9817> Getting Xorg settings. x2go-INFO-3> "Started x2goclient." x2go-DEBUG-onmainwindow.cpp:495> "$HOME=C:/Users/willw" x2go-DEBUG-onmainwindow.cpp:2123> Reading 4 sessions from config file. x2go-DEBUG-onmainwindow.cpp:9543> Starting win servers... x2go-DEBUG-onmainwindow.cpp:9895> "C:/Users/willw/.x2go/etc/sshd_config created." x2go-DEBUG-onmainwindow.cpp:9312> got localhost x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 7022 x2go-DEBUG-onmainwindow.cpp:9951> Creating desktop: x2go_willw x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" x2go-DEBUG-onmainwindow.cpp:2702> Start new ssh connection to server:"172.20.0.2":"22" krbLogin: false x2go-DEBUG-sshmasterconnection.cpp:202> starting ssh connection without kerberos authentication x2go-DEBUG-sshmasterconnection.cpp:206> SshMasterConnection, instance SshMasterConnection(0x15a8d58) created x2go-DEBUG-sshmasterconnection.cpp:442> SshMasterConnection, instance SshMasterConnection(0x15a8d58) entering thread x2go-DEBUG-sshmasterconnection.cpp:478> libSsh not inited yet, initting x2go-DEBUG-sshmasterconnection.cpp:522> setting SSH DIR to "C:/Users/willw/ssh" x2go-DEBUG-sshmasterconnection.cpp:789> cserverAuth x2go-DEBUG-sshmasterconnection.cpp:804> state: 1 x2go-DEBUG-sshmasterconnection.cpp:640> setting SSH DIR to "C:/Users/willw/ssh" x2go-DEBUG-sshmasterconnection.cpp:963> Password authentication x2go-DEBUG-sshmasterconnection.cpp:654> user auth OK x2go-DEBUG-onmainwindow.cpp:2797> SSH connection established. x2go-DEBUG-onmainwindow.cpp:3060> Continue normal x2go session x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (0): "export HOSTNAME && x2golistsessions" x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x37196b0 x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:819aa939-7479-4d86-bbeb-8c9e041031a8; PATH=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; echo X2GODATAEND:819aa939-7479-4d86-bbeb-8c9e041031a8;'" x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created x2go-DEBUG-sshmasterconnection.cpp:1541> EOF ON CHANNEL 0x37196b0 (SshProcess: 0) x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - "39358|willw-50-1425634735_stDXFCE_dp32|50|waldorf2|S|2015-03-06T09:38:55|b7d8a7118d17318a0f0f5d435a497f0a|172.20.1.8|30001|30002|2015-03-06T09:41:52|willw|267|30003| " (0). x2go-DEBUG-onmainwindow.cpp:3404> "39358|willw-50-1425634735_stDXFCE_dp32|50|waldorf2|S|2015-03-06T09:38:55|b7d8a7118d17318a0f0f5d435a497f0a|172.20.1.8|30001|30002|2015-03-06T09:41:52|willw|267|30003| " x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-onmainwindow.cpp:1208> Removing apps from tray x2go-DEBUG-onmainwindow.cpp:9312> got localhost x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 6000 x2go-DEBUG-onmainwindow.cpp:9400> using internal X: true x2go-DEBUG-onmainwindow.cpp:9423> WxH:"1024"x"768" x2go-DEBUG-onmainwindow.cpp:9428> "-multiwindow -notrayicon -clipboard" x2go-DEBUG-onmainwindow.cpp:9465> Running "C:/Program Files (x86)/x2goclient\vcxsrv\vcxsrv.exe" "-multiwindow -notrayicon -clipboard :0" x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (1): "x2goresume-session willw-50-1425634735_stDXFCE_dp32 1024x768 adsl 16m-jpeg-9 us auto 1 both" x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x37197b8 x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:67634731-3df8-4974-af0a-1f3568ca4bdb; PATH=/usr/local/bin:/usr/bin:/bin x2goresume-session willw-50-1425634735_stDXFCE_dp32 1024x768 adsl 16m-jpeg-9 us auto 1 both; echo X2GODATAEND:67634731-3df8-4974-af0
Re: [X2Go-User] win32 x2go client not resuming
On 05.03.2015 11:26 PM, Will Wagner wrote: > Sorry, you are right I meant an ssh error. It was to do with an > unsupported key exchange of some kind. Does running "sudo ssh-keygen -A" on the server fix that issue? Mihai signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] win32 x2go client not resuming
On 05/03/2015 21:06, Mihai Moldovan wrote: On 05.03.2015 07:59 PM, Will Wagner wrote: I get an ssl error when I try to use 3.99.2.2. SSL error? X2GoClient doesn't use SSL (but maybe in Broker mode.) Did you mean SSH error? Sorry, you are right I meant an ssh error. It was to do with an unsupported key exchange of some kind. I redirected stderr and ran the app. This is the output: x2go-INFO-1> "Starting x2goclient..." x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb" x2go-WARNING-2> "Can't load translator: :/qt_en_GB" x2go-INFO-3> "Started x2goclient." x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" Object::connect: No such slot ONMainWindow::slotTunnelOk() Have you also passed --debug? Yes, nothing extra useful gets output. Mihai ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] win32 x2go client not resuming
On 05.03.2015 07:59 PM, Will Wagner wrote: > I get an ssl error when I try to use 3.99.2.2. SSL error? X2GoClient doesn't use SSL (but maybe in Broker mode.) Did you mean SSH error? > I redirected stderr and ran the app. This is the output: > > x2go-INFO-1> "Starting x2goclient..." > x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb" > x2go-WARNING-2> "Can't load translator: :/qt_en_GB" > x2go-INFO-3> "Started x2goclient." > x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" > Object::connect: No such slot ONMainWindow::slotTunnelOk() Have you also passed --debug? Mihai signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] win32 x2go client not resuming
I get an ssl error when I try to use 3.99.2.2. I redirected stderr and ran the app. This is the output: x2go-INFO-1> "Starting x2goclient..." x2go-WARNING-1> "Can't load translator: :/x2goclient_en_gb" x2go-WARNING-2> "Can't load translator: :/qt_en_GB" x2go-INFO-3> "Started x2goclient." x2go-INFO-8> "Starting connection to server: 172.20.0.2:22" Object::connect: No such slot ONMainWindow::slotTunnelOk() Looking at the source code it appears that the sshconnection comes up and calls the slot slotTunnelOk(int). That function checks if winServersReady and if not tries to call itself again in 100mS by calling QTimer::singleShot ( 100, this, SLOT ( slotTunnelOk() ) ); The int argument is missing in slotTunnelOk and so it fails and the app then hangs. Does that sound like a reasonable analysis? Rather than trying to build the code myself could someone doa build with that change and I'm happy to test it. Thanks Will On 03/03/2015 13:07, Dillmann, Jan (IKET) wrote: Hi, having exactly the same behaviour with several distributions (Xubuntu 14.04 LTS, latest Debian). I tested different x2go-server versions from 4.0.1.16 to 4.0.1.19. As a workaround I am using x2go client 3.99.2.2. With v3 I am able to resume sessions without problems. I tried every possible v4 client without success on several windows versions (windows 7 and windows 8). Regards, Jan -Ursprüngliche Nachricht- Von: x2go-user-boun...@lists.x2go.org [mailto:x2go-user-boun...@lists.x2go.org] Im Auftrag von Will Wagner Gesendet: Dienstag, 3. März 2015 13:03 An: x2go-user@lists.x2go.org Betreff: [X2Go-User] win32 x2go client not resuming Hello, I have just setup a new server running debian jessie with x2go server (4.0.1.18-0x2go1+git20141006.949+jessie). I have windows client 4.0.3.2 The first time I connect it all works. However on a subsequent attempt to resume it doesn't work. After entering password the client pops up the connecting dialog never outputs any text even though I have sow details checked. I also get the task bar popup saying it has connected although all options are greyed out. It appears to sit there forever at this point. If I look at the server logs I see: Mar 3 11:42:43 waldorf2 /usr/bin/x2goresume-session: client 172.20.1.8 has successfully resumed session with ID willw-50-1425325134_stDXFCE_dp32 Mar 3 11:43:14 waldorf2 /usr/bin/x2gosetkeyboard: /home/willw/.x2go/C-willw-50-1425325134_stDXFCE_dp32/keyboard did not appear within 30s after agent startup So it appears that the client has got stuck part way though resuming? Anyone got any ideas what this could be? Where can I look on windows for log messages from the client? Thanks Will ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user -- Will Wagner will_wag...@carallon.com Development Manager Office Tel: +44 (0)20 7471 9224 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] win32 x2go client not resuming
Hi, having exactly the same behaviour with several distributions (Xubuntu 14.04 LTS, latest Debian). I tested different x2go-server versions from 4.0.1.16 to 4.0.1.19. As a workaround I am using x2go client 3.99.2.2. With v3 I am able to resume sessions without problems. I tried every possible v4 client without success on several windows versions (windows 7 and windows 8). Regards, Jan -Ursprüngliche Nachricht- Von: x2go-user-boun...@lists.x2go.org [mailto:x2go-user-boun...@lists.x2go.org] Im Auftrag von Will Wagner Gesendet: Dienstag, 3. März 2015 13:03 An: x2go-user@lists.x2go.org Betreff: [X2Go-User] win32 x2go client not resuming Hello, I have just setup a new server running debian jessie with x2go server (4.0.1.18-0x2go1+git20141006.949+jessie). I have windows client 4.0.3.2 The first time I connect it all works. However on a subsequent attempt to resume it doesn't work. After entering password the client pops up the connecting dialog never outputs any text even though I have sow details checked. I also get the task bar popup saying it has connected although all options are greyed out. It appears to sit there forever at this point. If I look at the server logs I see: Mar 3 11:42:43 waldorf2 /usr/bin/x2goresume-session: client 172.20.1.8 has successfully resumed session with ID willw-50-1425325134_stDXFCE_dp32 Mar 3 11:43:14 waldorf2 /usr/bin/x2gosetkeyboard: /home/willw/.x2go/C-willw-50-1425325134_stDXFCE_dp32/keyboard did not appear within 30s after agent startup So it appears that the client has got stuck part way though resuming? Anyone got any ideas what this could be? Where can I look on windows for log messages from the client? Thanks Will ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user smime.p7s Description: S/MIME cryptographic signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
[X2Go-User] win32 x2go client not resuming
Hello, I have just setup a new server running debian jessie with x2go server (4.0.1.18-0x2go1+git20141006.949+jessie). I have windows client 4.0.3.2 The first time I connect it all works. However on a subsequent attempt to resume it doesn't work. After entering password the client pops up the connecting dialog never outputs any text even though I have sow details checked. I also get the task bar popup saying it has connected although all options are greyed out. It appears to sit there forever at this point. If I look at the server logs I see: Mar 3 11:42:43 waldorf2 /usr/bin/x2goresume-session: client 172.20.1.8 has successfully resumed session with ID willw-50-1425325134_stDXFCE_dp32 Mar 3 11:43:14 waldorf2 /usr/bin/x2gosetkeyboard: /home/willw/.x2go/C-willw-50-1425325134_stDXFCE_dp32/keyboard did not appear within 30s after agent startup So it appears that the client has got stuck part way though resuming? Anyone got any ideas what this could be? Where can I look on windows for log messages from the client? Thanks Will ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user