From fooliuskoolius@gmail.com Sun Mar 1 14:14:04 2015 Received: (at submit) by bugs.x2go.org; 1 Mar 2015 13:14:05 +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=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.3.2 Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E4D665DCA8 for ; Sun, 1 Mar 2015 14:14:03 +0100 (CET) Received: by wesx3 with SMTP id x3so28460568wes.7 for ; Sun, 01 Mar 2015 05:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Qq5f09hppJzGktM/xgOTsyeikZVT+Ee63Up1v4vA4vg=; b=ay/5UzRrjh0c2Pgo+/Y//jDk7LEvBf0EVbFn/KW2xH24B6x7o4h6FBynGKcMBG+QeR NxEOieE3Xc7YMUM7YDQ7DLQcCWOsB/6yiPqzzvFGPfyOwUwuanlFulvGX4yFn8ijUNA2 CZcezVJ8FGn3MO0r38V80ETDsnr+sUw0ujm+Z0ZhoOvk6ekZA6S4Y0lwuHJjvFuuRAP4 rVxFSTTQSCWp0sccDHH9Wcq5t7LFE7ZqaQL+p8BmmzWqCQVw4P284QKER/6s9vhSZaVO iegOcgIATKCZeJknKOTHAsBDUDOtmjmtLR1gmjxdhJ7Q8SiSSUze9h5fVrrvnoReIshk fhIw== MIME-Version: 1.0 X-Received: by 10.194.173.138 with SMTP id bk10mr46692805wjc.112.1425215643463; Sun, 01 Mar 2015 05:14:03 -0800 (PST) Received: by 10.194.85.132 with HTTP; Sun, 1 Mar 2015 05:14:03 -0800 (PST) Date: Sun, 1 Mar 2015 14:14:03 +0100 Message-ID: Subject: $X2GO_CLIENT not set From: Julius K To: submit@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 Package: $ x2gostartagent The $X2GO_CLIENT environment variable is not set. Possible reasons: $SSH_CLIENT not set or $SSH_CONNECTION not set. Or $X2GO_CLIENT not set by ,,X2Go Desktop Sharing'' applet. Aborting session startup. I'm on Linux Miant 17 Qiana with the x2go/stable ppa. Please tell me what else you need. From ionic@ionic.de Tue Mar 3 14:14:00 2015 Received: (at 800) by bugs.x2go.org; 3 Mar 2015 13:14:02 +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=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from Root24.de (powered.by.root24.eu [5.135.3.88]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 962FA5DCA8 for <800@bugs.x2go.org>; Tue, 3 Mar 2015 14:14:00 +0100 (CET) Received: from nopileos.local (home.ionic.de [217.92.117.31]) by mail.ionic.de (Postfix) with ESMTPSA id 4847C4F084DD; Tue, 3 Mar 2015 14:14:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default; t=1425388440; bh=ZkVJ7PF6yXvzQXYUUGXjPoWIpaZWlg7POzlLXJayWu4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=bWAVc/8V18UInY4kpXtZmdXA/pje902PtfNRLXc6Z87HJBOV63upCmGS0UWeWjcWx rOGL3hSqHIwdwmdyW3Nkf2gc3SRx55wSuKYdT5/vhly/k3ZZWenfBokIs106ryQ9Ks l4l0Imik59HfefIx5HMGzqZBcUmgGNUjBBzUX1FM= Message-ID: <54F5B396.6070206@ionic.de> Date: Tue, 03 Mar 2015 14:13:58 +0100 From: Mihai Moldovan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Julius K , 800@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#800: $X2GO_CLIENT not set References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cgoaISU9XWtnkMNlh2gAG5GoforVbQ9vI" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cgoaISU9XWtnkMNlh2gAG5GoforVbQ9vI Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Julius On 01.03.2015 02:14 PM, Julius K wrote: > $ x2gostartagent > The $X2GO_CLIENT environment variable is not set. Possible reasons: > $SSH_CLIENT not set or $SSH_CONNECTION not set. Or $X2GO_CLIENT not > set by ,,X2Go Desktop Sharing'' applet. Aborting session startup. > > I'm on Linux Miant 17 Qiana with the x2go/stable ppa. > > Please tell me what else you need. x2gostartagent is not meant to be started manually, but only via x2goclient or pyhoca-*. Thus, the behavior shown is correct. What is the real problem at hand? Mihai --cgoaISU9XWtnkMNlh2gAG5GoforVbQ9vI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJU9bOXAAoJEB/WLtluJTqHiqEP/i8f1ePiOU6Z8pdIOpFfjeWN CWUsDutlLvn9YJkQMFKVmLPdED8IcxIYag79S8smuWrajrLb961su+7pmy/FXOgW fAfct5jy7O13VZ2zi/H7wm9uKbJg2rhxBsEh3Rv2iLI/tFtbEU7s94PbgnmiiTrO jcOW0fCz5Own8rAj/snP66Vv32dmtOXp9/p4yuM/wVDzVnM/S74khP9od05iUFCz anvrB8uJmtQo4Oy3HMYBG3MhB8XJHKvn6ARS6AZAGmcfIn8JGOkjYk0n9VwxLH5l wNnLLP8g1Ta7J7XtJyeLt6JKlQ97x3SHM96gThfXJ1fp5510WcbieaDdu69U51zu v+TGVkUQR4hJesHHoZzT1tm11l5sTZsVZRK8p/n5olD1JIC9rm3xsx/L5R0wkzaB uEDJErONkmY3NJXTE+hYubhpWbNA8qfJnI0ksyrcpHusYlQ54HcRjYT++aIXdujt eFw8Eoia7aN6qrxyx/xMfAOtCW/joQl1Q2tEpNvizd7yCuXhzgG4HC/J+IhLvb0r /LEK41vxwXXIUg85J98arV/q1wN7YY0eheg68moduUpJgotzoroHvHwK4kiYsr1N H0fHq7lx8iXHo4VPHS6G/0dMT9VUjj/fsjn9D0Gc3xf0bFmmSA0rpv8wS6SxH7OT W1rytQ4FOAyJ8Hu58GdJ =dOoV -----END PGP SIGNATURE----- --cgoaISU9XWtnkMNlh2gAG5GoforVbQ9vI-- From fooliuskoolius@gmail.com Tue Mar 10 14:11:44 2015 Received: (at 800) by bugs.x2go.org; 10 Mar 2015 13:11:48 +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-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A326B5E15D for <800@bugs.x2go.org>; Tue, 10 Mar 2015 14:11:44 +0100 (CET) Received: by wggx13 with SMTP id x13so1632114wgg.12 for <800@bugs.x2go.org>; Tue, 10 Mar 2015 06:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zwrS1G16A+JxSvcrtKS8bRgsUGwV2FyIKSMOrkBeZPw=; b=aOeA/fJgf8ycmRRWg8QMXn8Z73nNiHI7RxXwtjUGAldmO+qjGICvGKRdNbh709zcs3 xQRQuvL4hpsXjVIMzGAVX03PvJ1euZ/La1dqAnuU1H9UQ7yMF2ysySPFFVzYI0cwx+ta QhDN3EJ9YsQ+MeWM0+Hcynpv2TnAo+PniZFXElxGnDbaj7mnfIhHr7i6WXyaLe8gMVeh +qsIPAxnT6qdTaA5wPzNFvvOP10loBt3j3fhdzg6gYMbQHSaS5jQmUg3fa7VMxa6ECuh ZUoACSeXPynbhYSjRfQAxsqwWMCwKJogNlp1APPJTESNDPnuoti4n50QVRzTiEacJ6wd L24g== MIME-Version: 1.0 X-Received: by 10.194.108.137 with SMTP id hk9mr28012693wjb.112.1425993103983; Tue, 10 Mar 2015 06:11:43 -0700 (PDT) Received: by 10.194.246.196 with HTTP; Tue, 10 Mar 2015 06:11:43 -0700 (PDT) In-Reply-To: <54FDC794.70206@ionic.de> References: <54F5B396.6070206@ionic.de> <54FDC794.70206@ionic.de> Date: Tue, 10 Mar 2015 14:11:43 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#800: $X2GO_CLIENT not set From: Julius K To: Mihai Moldovan Cc: "x2go-dev@lists.x2go.org" , 800@bugs.x2go.org Content-Type: multipart/alternative; boundary=047d7b2ed8ab6a4acd0510eee40f --047d7b2ed8ab6a4acd0510eee40f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2015-03-09 17:17 GMT+01:00 Mihai Moldovan : > On 09.03.2015 04:06 PM, Julius K wrote: > > 2015-03-03 14:13 GMT+01:00 Mihai Moldovan > >: > > > > On 01.03.2015 02:14 PM, Julius K wrote: > > > $ x2gostartagent > > > [Error Message] > > > > > > I'm on Linux Miant 17 Qiana with the x2go/stable ppa. > > > [...] > > > > x2gostartagent is not meant to be started manually, but only via > > x2goclient or pyhoca-*. Thus, the behavior shown is correct. > > > > > > Ooh, I'm really sorry for this, I thought I have to start the server > > manually but it starts automatically after installation, right? > > I'll be adding back the list, because this may be of interest for other > people, too. > > X2Go Server is not using a daemon for its normal mode of operation, so > there's nothing "started" (neither automatically nor manually) after > installation. The init script that is automatically is merely running > "x2gocleansessions" to get rid of stale/disconnected/terminated > sessions. (But creating sessions will still work even with this > disabled. You just may have a mess on your hands afterwards...) > > Every session is started by X2Go Client (or PyHoca-*) via SSH. Both > launch x2gostartagent via the SSH connection to the remote server *when > creating a new session*. > > Thus, once you install x2goserver, it's ready to use (minus special > features which come in via, e.g., x2goserver-xsession.) > > > > What is the real problem at hand? > > > > > > Now I try to connect from a windows machine to Linux, but it doesn't > work. > > I checked, ssh works. > > When I connect, sometimes it gives an error message like this: "failed > > to suspend session with ID [...]" or the programm just gets totally > > unresponsive and I have to restart it. > > > > > > Ok, that's more interesting and actually suitable for the bug report. > > Please start up cmd.exe, then: > > cd path\where\x2goclient.exe\is\installed\in > x2goclient.exe --debug > debug.log 2>&1 > > The debug log could potentially be helpful in tracking this down. When > you respond, please make sure to CC 800@bugs.x2go.org. > I'm just pasting the debug file below. I did what I described earlier and the error message appeared and is also in the debug file. x2go-INFO-1> "Starting x2goclient..." x2go-INFO-4> "=C3=9Cbersetzung: :/x2goclient_de_de installiert." x2go-INFO-5> "=C3=9Cbersetzung: :/qt_de_DE installiert." x2go-DEBUG-onmainwindow.cpp:9817> Getting Xorg settings. x2go-INFO-3> "X2Go Client ist gestartet." x2go-DEBUG-onmainwindow.cpp:495> "$HOME=3DC:/Users/Foolius" x2go-DEBUG-onmainwindow.cpp:2123> Reading 2 sessions from config file. x2go-DEBUG-onmainwindow.cpp:9543> Starting win servers... x2go-DEBUG-onmainwindow.cpp:9895> "C:/Users/Foolius/.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_Foolius x2go-INFO-8> "Verbindung mit Server wird gestartet: T410-Mint:22" x2go-DEBUG-onmainwindow.cpp:2702> Start new ssh connection to server:"T410-Mint":"22" krbLogin: false x2go-DEBUG-sshmasterconnection.cpp:202> starting ssh connection without kerberos authentication x2go-DEBUG-sshmasterconnection.cpp:206> SshMasterConnection, instance SshMasterConnection(0x3283d78) created x2go-DEBUG-sshmasterconnection.cpp:442> SshMasterConnection, instance SshMasterConnection(0x3283d78) entering thread x2go-DEBUG-sshmasterconnection.cpp:478> libSsh not inited yet, initting x2go-DEBUG-sshmasterconnection.cpp:522> setting SSH DIR to "C:/Users/Foolius/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/Foolius/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:0x32436e8 x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:9957aa01-d4b4-451b-9151-2086a87f750b; PATH=3D/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; ec= ho X2GODATAEND:9957aa01-d4b4-451b-9151-2086a87f750b;'" x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x32436e8 (SshProcess: 0) x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - "20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:0= 9|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10= :50:35|foo|80589|30012| 23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08= |002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:= 29:52|foo|80410|30015| 27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59= |7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|2015-03-09T21:= 52:55|foo|80179|30018| " (0). x2go-DEBUG-onmainwindow.cpp:3404> "20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:0= 9|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10= :50:35|foo|80589|30012| 23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08= |002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:= 29:52|foo|80410|30015| 27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59= |7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|2015-03-09T21:= 52:55|foo|80179|30018| " x2go-DEBUG-onmainwindow.cpp:4231> No shadow session. x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:20854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-= 03-09T15:45:09|8a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|= 2015-03-10T10:50:35|foo|80589|30012|" x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-= 03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|= 2015-03-09T17:29:52|foo|80410|30015|" x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint|R|2015-= 03-09T15:51:59|7636feced9a254c6213956624f4d0165|192.168.178.30|30016|30017|= 2015-03-09T21:52:55|foo|80179|30018|" x2go-DEBUG-sshprocess.cpp:189> executing remote command via SshProcess object (1): "x2gosuspend-session foo-53-1425912309_stDCINNAMON_dp32" x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x3243690 x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:bcf98f38-0eff-4f41-93f6-ca3b14250c0e; PATH=3D/usr/local/bin:/usr/bin:/bin x2gosuspend-session foo-53-1425912309_stDCINNAMON_dp32; echo X2GODATAEND:bcf98f38-0eff-4f41-93f6-ca3b14250c0e;'" x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x3243690 (SshProcess: 1) x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed x2go-DEBUG-sshprocess.cpp:444> have only stderr, something must be wrong x2go-DEBUG-sshprocess.cpp:449> ssh finished: false - "ERROR: failed to suspend session with ID foo-53-1425912309_stDCINNAMON_dp32 " (1). 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:"800"x"600" 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 (2): "x2goresume-session foo-53-1425912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9 de auto 1 both" x2go-DEBUG-sshmasterconnection.cpp:1434> creating new channel x2go-DEBUG-sshmasterconnection.cpp:1438> new channel:0x361bcf8 x2go-DEBUG-sshmasterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODATABEGIN:553ddae2-bcc9-4d80-9eb0-94edaf9953b0; PATH=3D/usr/local/bin:/usr/bin:/bin x2goresume-session foo-53-1425912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9 de auto 1 both; echo X2GODATAEND:553ddae2-bcc9-4d80-9eb0-94edaf9953b0;'" x2go-DEBUG-sshmasterconnection.cpp:1492> new exec channel created x2go-DEBUG-onmainwindow.cpp:9312> got localhost x2go-DEBUG-onmainwindow.cpp:9340> Port already used: 6000 x2go-DEBUG-onmainwindow.cpp:9494> X is started. x2go-DEBUG-onmainwindow.cpp:9861> All winservers are started. x2go-DEBUG-onmainwindow.cpp:1479> Close event received. x2go-DEBUG-onmainwindow.cpp:1503> Quitting tray icon and closing application. x2go-INFO-6> "X2Go Client wird geschossen..." x2go-DEBUG-onmainwindow.cpp:1332> Saving settings... x2go-DEBUG-onmainwindow.cpp:1341> Saved settings. x2go-DEBUG-onmainwindow.cpp:1363> Waiting for the SSH connection to finish... x2go-DEBUG-sshmasterconnection.cpp:708> SshMasterConnection, instance SshMasterConnection(0x3283d78) waiting for thread to finish x2go-DEBUG-sshmasterconnection.cpp:1353> Disconnecting... x2go-DEBUG-sshmasterconnection.cpp:1364> Deleting channel connections x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent x2go-DEBUG-sshmasterconnection.cpp:1668> channel closed x2go-DEBUG-sshmasterconnection.cpp:1372> Disconnect session x2go-DEBUG-sshmasterconnection.cpp:1378> Delete sockets x2go-DEBUG-sshmasterconnection.cpp:1385> All channels closed, session disconnected, quiting session loop x2go-DEBUG-sshmasterconnection.cpp:712> SshMasterConnection, instance SshMasterConnection(0x3283d78) thread finished x2go-DEBUG-sshprocess.cpp:52> ssh process destructor x2go-DEBUG-sshprocess.cpp:52> ssh process destructor x2go-DEBUG-sshprocess.cpp:52> ssh process destructor x2go-DEBUG-sshmasterconnection.cpp:719> SshMasterConnection, instance SshMasterConnection(0x3283d78) SshMasterConnection, instance SshMasterConnection(0x7fce7c008aa0) deleted x2go-DEBUG-onmainwindow.cpp:1365> Waited for the SSH connection to finish. x2go-DEBUG-onmainwindow.cpp:1429> Terminating xorg... x2go-DEBUG-onmainwindow.cpp:1431> Terminated xorg. x2go-DEBUG-onmainwindow.cpp:1432> Deleting xorg... QProcess: Destroyed while process is still running. x2go-DEBUG-onmainwindow.cpp:1434> Deleted xorg. x2go-DEBUG-sshmasterconnection.cpp:736> libssh finalized x2go-INFO-7> "X2Go Client wurde geschlossen." x2go-DEBUG-onmainwindow.cpp:508> Destroying x2goclient... x2go-DEBUG-onmainwindow.cpp:511> Destroyed x2goclient. > > > > Mihai > > --047d7b2ed8ab6a4acd0510eee40f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2015-03-09 17:17 GMT+01:00 Mihai Moldovan <ionic@ionic.de>:=
On 0= 9.03.2015 04:06 PM, Julius K wrote:
> 2015-03-03 14:13 GMT+01:00 Mihai Moldovan <ionic@ionic.de
> <mailto:ionic@ionic.de= >>:
>
>=C2=A0 =C2=A0 =C2=A0On 01.03.2015 02:14 PM, Julius K wrote:
>=C2=A0 =C2=A0 =C2=A0> $ x2gostartagent
>=C2=A0 =C2=A0 =C2=A0> [Error Message]
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> I'm on Linux Miant 17 Qiana with the x2go/= stable ppa.
>=C2=A0 =C2=A0 =C2=A0> [...]
>
>=C2=A0 =C2=A0 =C2=A0x2gostartagent is not meant to be started manually,= but only via
>=C2=A0 =C2=A0 =C2=A0x2goclient or pyhoca-*. Thus, the behavior shown is= correct.
>
>
> Ooh, I'm really sorry for this, I thought I have to start the serv= er
> manually but it starts automatically after installation, right?

I'll be adding back the list, because this may be of interest fo= r other
people, too.

X2Go Server is not using a daemon for its normal mode of operation, so
there's nothing "started" (neither automatically nor manually= ) after
installation. The init script that is automatically is merely running
"x2gocleansessions" to get rid of stale/disconnected/terminated sessions. (But creating sessions will still work even with this
disabled. You just may have a mess on your hands afterwards...)

Every session is started by X2Go Client (or PyHoca-*) via SSH. Both
launch x2gostartagent via the SSH connection to the remote server *when
creating a new session*.

Thus, once you install x2goserver, it's ready to use (minus special
features which come in via, e.g., x2goserver-xsession.)=C2=A0


>=C2=A0 =C2=A0 =C2=A0What is the real problem at hand?
>
>
> Now I try to connect from a windows machine to Linux, but it doesn'= ;t work.
> I checked, ssh works.
> When I connect, sometimes it gives an error message like this: "f= ailed
> to suspend session with ID [...]" or the programm just gets total= ly
> unresponsive and I have to restart it.
>
>

Ok, that's more interesting and actually suitable for the bug re= port.

Please start up cmd.exe, then:

cd path\where\x2goclient.exe\is\installed\in
x2goclient.exe --debug > debug.log 2>&1

The debug log could potentially be helpful in tracking this down. When
you respond, please make sure to CC 80= 0@bugs.x2go.org.

I'm just pasti= ng the debug file below. I did what I described earlier and the error messa= ge appeared and is also in the debug file.

x2go-INFO-1> "Sta= rting x2goclient..."
x2go-INFO-4> "=C3=9Cbersetzung: :/x2go= client_de_de installiert."
x2go-INFO-5> "=C3=9Cbersetzung: = :/qt_de_DE installiert."
x2go-DEBUG-onmainwindow.cpp:9817> Getti= ng Xorg settings.
x2go-INFO-3> "X2Go Client ist gestartet."=
x2go-DEBUG-onmainwindow.cpp:495> "$HOME=3DC:/Users/Foolius"= ;
x2go-DEBUG-onmainwindow.cpp:2123> Reading 2 sessions from config fi= le.
x2go-DEBUG-onmainwindow.cpp:9543> Starting win servers...
x2go= -DEBUG-onmainwindow.cpp:9895> "C:/Users/Foolius/.x2go/etc/sshd_conf= ig created."
x2go-DEBUG-onmainwindow.cpp:9312> got localhost
= x2go-DEBUG-onmainwindow.cpp:9334> Port is free: 7022
x2go-DEBUG-onmai= nwindow.cpp:9951> Creating desktop: x2go_Foolius
x2go-INFO-8> &quo= t;Verbindung mit Server wird gestartet: T410-Mint:22"
x2go-DEBUG-on= mainwindow.cpp:2702> Start new ssh connection to server:"T410-Mint&= quot;:"22" krbLogin: false
x2go-DEBUG-sshmasterconnection.cpp:= 202> starting ssh connection without kerberos authentication

x2go= -DEBUG-sshmasterconnection.cpp:206> SshMasterConnection, instance SshMas= terConnection(0x3283d78)=C2=A0 created
x2go-DEBUG-sshmasterconnection.c= pp:442> SshMasterConnection, instance SshMasterConnection(0x3283d78)=C2= =A0 entering thread
x2go-DEBUG-sshmasterconnection.cpp:478> libSsh n= ot inited yet, initting

x2go-DEBUG-sshmasterconnection.cpp:522> s= etting SSH DIR to "C:/Users/Foolius/ssh"
x2go-DEBUG-sshmasterc= onnection.cpp:789> cserverAuth
=C2=A0
x2go-DEBUG-sshmasterconnecti= on.cpp:804> state: 1

x2go-DEBUG-sshmasterconnection.cpp:640> s= etting SSH DIR to "C:/Users/Foolius/ssh"
x2go-DEBUG-sshmasterc= onnection.cpp:963> Password authentication

x2go-DEBUG-sshmasterco= nnection.cpp:654> user auth OK

x2go-DEBUG-onmainwindow.cpp:2797&g= t; SSH connection established.
x2go-DEBUG-onmainwindow.cpp:3060> Cont= inue normal x2go session
x2go-DEBUG-sshprocess.cpp:189> executing rem= ote command via SshProcess object (0): "export HOSTNAME && x2g= olistsessions"

x2go-DEBUG-sshmasterconnection.cpp:1434> crea= ting new channel

x2go-DEBUG-sshmasterconnection.cpp:1438> new cha= nnel:0x32436e8

x2go-DEBUG-sshmasterconnection.cpp:1469> executing= remote: "sh -c 'echo X2GODATABEGIN:9957aa01-d4b4-451b-9151-2086a8= 7f750b; PATH=3D/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2go= listsessions; echo X2GODATAEND:9957aa01-d4b4-451b-9151-2086a87f750b;'&q= uot;

x2go-DEBUG-sshmasterconnection.cpp:1492>=C2=A0 new exec chan= nel created

x2go-DEBUG-sshmasterconnection.cpp:1596> EOF ON CHANN= EL 0x32436e8 (SshProcess: 0)

x2go-DEBUG-sshmasterconnection.cpp:1664= > eof sent

x2go-DEBUG-sshmasterconnection.cpp:1668> channel cl= osed

x2go-DEBUG-sshprocess.cpp:449> ssh finished: true - "20= 854|foo-53-1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8= a956e4e9fa14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50= :35|foo|80589|30012|
23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mi= nt|R|2015-03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30= 013|30014|2015-03-09T17:29:52|foo|80410|30015|
27924|foo-55-1425912719_s= tDCINNAMON_dp32|55|T410-Mint|R|2015-03-09T15:51:59|7636feced9a254c621395662= 4f4d0165|192.168.178.30|30016|30017|2015-03-09T21:52:55|foo|80179|30018|" (0).

x2go-DEBUG-onmainwindow.cpp:3404> "20854|foo-53= -1425912309_stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8a956e4e9fa= 14491b8a9bcf8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50:35|foo|80= 589|30012|
23735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-= 03-09T15:48:08|002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|= 2015-03-09T17:29:52|foo|80410|30015|
27924|foo-55-1425912719_stDCINNAMON= _dp32|55|T410-Mint|R|2015-03-09T15:51:59|7636feced9a254c6213956624f4d0165|1= 92.168.178.30|30016|30017|2015-03-09T21:52:55|foo|80179|30018|
"x2go-DEBUG-onmainwindow.cpp:4231> No shadow session.
x2go-DEBUG-onma= inwindow.cpp:4254> "Decoding Sessionstring:20854|foo-53-1425912309_= stDCINNAMON_dp32|53|T410-Mint|R|2015-03-09T15:45:09|8a956e4e9fa14491b8a9bcf= 8bd5d5625|192.168.178.30|30010|30011|2015-03-10T10:50:35|foo|80589|30012|&q= uot;
x2go-DEBUG-onmainwindow.cpp:4254> "Decoding Sessionstring:2= 3735|foo-54-1425912488_stDCINNAMON_dp32|54|T410-Mint|R|2015-03-09T15:48:08|= 002f67c52ed75d4e7b7100f06d89830b|192.168.178.30|30013|30014|2015-03-09T17:2= 9:52|foo|80410|30015|"
x2go-DEBUG-onmainwindow.cpp:4254> "D= ecoding Sessionstring:27924|foo-55-1425912719_stDCINNAMON_dp32|55|T410-Mint= |R|2015-03-09T15:51:59|7636feced9a254c6213956624f4d0165|192.168.178.30|3001= 6|30017|2015-03-09T21:52:55|foo|80179|30018|"
x2go-DEBUG-sshprocess= .cpp:189> executing remote command via SshProcess object (1): "x2go= suspend-session foo-53-1425912309_stDCINNAMON_dp32"

x2go-DEBUG-= sshmasterconnection.cpp:1434> creating new channel

x2go-DEBUG-ssh= masterconnection.cpp:1438> new channel:0x3243690

x2go-DEBUG-sshma= sterconnection.cpp:1469> executing remote: "sh -c 'echo X2GODAT= ABEGIN:bcf98f38-0eff-4f41-93f6-ca3b14250c0e; PATH=3D/usr/local/bin:/usr/bin= :/bin x2gosuspend-session foo-53-1425912309_stDCINNAMON_dp32; echo X2GODATA= END:bcf98f38-0eff-4f41-93f6-ca3b14250c0e;'"

x2go-DEBUG-sshm= asterconnection.cpp:1492>=C2=A0 new exec channel created

x2go-DEB= UG-sshmasterconnection.cpp:1596> EOF ON CHANNEL 0x3243690 (SshProcess: 1= )

x2go-DEBUG-sshmasterconnection.cpp:1664> eof sent

x2go-D= EBUG-sshmasterconnection.cpp:1668> channel closed

x2go-DEBUG-sshp= rocess.cpp:444> have only stderr, something must be wrong

x2go-DE= BUG-sshprocess.cpp:449> ssh finished: false - "ERROR: failed to sus= pend session with ID foo-53-1425912309_stDCINNAMON_dp32
" (1).
<= br>x2go-DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainw= indow.cpp:9334> Port is free: 6000
x2go-DEBUG-onmainwindow.cpp:9400&g= t; using internal X: true
x2go-DEBUG-onmainwindow.cpp:9423> WxH:"= ;800"x"600"
x2go-DEBUG-onmainwindow.cpp:9428> "-m= ultiwindow -notrayicon -clipboard"
x2go-DEBUG-onmainwindow.cpp:9465= > Running "c:/Program Files (x86)/x2goclient\vcxsrv\vcxsrv.exe"= ; "-multiwindow -notrayicon -clipboard :0"
x2go-DEBUG-sshproce= ss.cpp:189> executing remote command via SshProcess object (2): "x2= goresume-session foo-53-1425912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9= de auto 1 both"

x2go-DEBUG-sshmasterconnection.cpp:1434> cr= eating new channel

x2go-DEBUG-sshmasterconnection.cpp:1438> new c= hannel:0x361bcf8

x2go-DEBUG-sshmasterconnection.cpp:1469> executi= ng remote: "sh -c 'echo X2GODATABEGIN:553ddae2-bcc9-4d80-9eb0-94ed= af9953b0; PATH=3D/usr/local/bin:/usr/bin:/bin x2goresume-session foo-53-142= 5912309_stDCINNAMON_dp32 800x600 adsl 16m-jpeg-9 de auto 1 both; echo X2GOD= ATAEND:553ddae2-bcc9-4d80-9eb0-94edaf9953b0;'"

x2go-DEBUG-s= shmasterconnection.cpp:1492>=C2=A0 new exec channel created

x2go-= DEBUG-onmainwindow.cpp:9312> got localhost
x2go-DEBUG-onmainwindow.cp= p:9340> Port already used: 6000
x2go-DEBUG-onmainwindow.cpp:9494> = X is started.
x2go-DEBUG-onmainwindow.cpp:9861> All winservers are st= arted.
x2go-DEBUG-onmainwindow.cpp:1479> Close event received.
x2go-DEBUG-onmainwindow.cpp:1503> Quitting tray icon and closing applic= ation.

x2go-INFO-6> "X2Go Client wird geschossen..."x2go-DEBUG-onmainwindow.cpp:1332> Saving settings...
x2go-DEBUG-onma= inwindow.cpp:1341> Saved=C2=A0 settings.
x2go-DEBUG-onmainwindow.cpp:= 1363> Waiting for the SSH connection to finish...
x2go-DEBUG-sshmaste= rconnection.cpp:708> SshMasterConnection, instance SshMasterConnection(0= x3283d78)=C2=A0 waiting for thread to finish
x2go-DEBUG-sshmasterconnec= tion.cpp:1353> Disconnecting...

x2go-DEBUG-sshmasterconnection.cp= p:1364> Deleting channel connections

x2go-DEBUG-sshmasterconnecti= on.cpp:1664> eof sent

x2go-DEBUG-sshmasterconnection.cpp:1668>= channel closed

x2go-DEBUG-sshmasterconnection.cpp:1372> Disconne= ct session

x2go-DEBUG-sshmasterconnection.cpp:1378> Delete socket= s

x2go-DEBUG-sshmasterconnection.cpp:1385> All channels closed, s= ession disconnected, quiting session loop

x2go-DEBUG-sshmasterconnec= tion.cpp:712> SshMasterConnection, instance SshMasterConnection(0x3283d7= 8)=C2=A0 thread finished
x2go-DEBUG-sshprocess.cpp:52> ssh process d= estructor
x2go-DEBUG-sshprocess.cpp:52> ssh process destructor
x2g= o-DEBUG-sshprocess.cpp:52> ssh process destructor
x2go-DEBUG-sshmaste= rconnection.cpp:719> SshMasterConnection, instance SshMasterConnection(0= x3283d78)=C2=A0 SshMasterConnection, instance=C2=A0 SshMasterConnection(0x7= fce7c008aa0) deleted
x2go-DEBUG-onmainwindow.cpp:1365> Waited=C2=A0 = for the SSH connection to finish.
x2go-DEBUG-onmainwindow.cpp:1429> T= erminating xorg...
x2go-DEBUG-onmainwindow.cpp:1431> Terminated=C2=A0= xorg.
x2go-DEBUG-onmainwindow.cpp:1432> Deleting xorg...
QProcess= : Destroyed while process is still running.
x2go-DEBUG-onmainwindow.cpp:= 1434> Deleted xorg.
x2go-DEBUG-sshmasterconnection.cpp:736> libssh= finalized

x2go-INFO-7> "X2Go Client wurde geschlossen."= ;
x2go-DEBUG-onmainwindow.cpp:508> Destroying x2goclient...
x2go-D= EBUG-onmainwindow.cpp:511> Destroyed=C2=A0 x2goclient.
=C2=A0



Mihai


--047d7b2ed8ab6a4acd0510eee40f-- From ionic@ionic.de Fri Apr 24 22:44:45 2015 Received: (at control) by bugs.x2go.org; 24 Apr 2015 20:44:45 +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=-0.1 required=5.0 tests=BAYES_00,MISSING_SUBJECT, T_DKIM_INVALID,URIBL_BLOCKED autolearn=no version=3.3.2 Received: from Root24.de (powered.by.root24.eu [5.135.3.88]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 4EC5D5DA94 for ; Fri, 24 Apr 2015 22:44:45 +0200 (CEST) Received: from nopileos.local (home.ionic.de [217.92.117.31]) by mail.ionic.de (Postfix) with ESMTPSA id 7DF394F08FF9 for ; Fri, 24 Apr 2015 22:44:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default; t=1429908284; bh=S/YuWbAR1lwRL0+g67LKdsqCRGCyk+TnixI9e6oWBpg=; h=Date:From:To:From; b=TdhivPevWcN2FjKYUDRHc/IE1YyUcoudJUnggs+kimtRvJ3VIFyQwL0KeQn0ZPH6R N5qQrUGkfPCs+UgLO+4O6mA1HEguCpJlxIjky5AZpdEF3S3BUq5mASziK9CnEqRfUW Ig0+zrLEhWHXyAXP9kSQN5j/YBaTw4Kqi111WU7k= Message-ID: <553AAB38.4030901@ionic.de> Date: Fri, 24 Apr 2015 22:44:40 +0200 From: Mihai Moldovan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: control@bugs.x2go.org Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FJx1bn5cHDtFj7kkRBIEumB8cM50rhPEG" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FJx1bn5cHDtFj7kkRBIEumB8cM50rhPEG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable reassign 845 x2goclient 4.0.3.2 severity 845 wishlist reassign 763 x2goserver 4.0.1.18-0x2go1+git20141006.949+wheezy.main.1 reassign 801 x2goserver 4.0.1.19 reassign 837 x2goclient 4.0.3.2 reassign 800 x2goserver reassign 829 nx-libs 3.5.0.32-0x2go1~git20150317.672+jessie.heuler.1 Thanks --FJx1bn5cHDtFj7kkRBIEumB8cM50rhPEG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJVOqs5AAoJEB/WLtluJTqHSCMQAJnsAIVN3H6wEIL1YbEGznGg UBwi0Xjf81TF7AlT1k56YUrQrY+989uuFmNPpAVVsmPFHeIIgdPzq4xnX6yZk93H gi90ZkraEpnNsw/ZYN72yqwaFgtfo1hHff/av5AUF/6qVN5dqj8UymbwDXE1AEEb dBUHvH3f+qUzwKt8UAecpdO/Ykb9Mn5n+2MGN3v1lbjkPQxklwOIXYNRx9w84rqi A10/lVRV7s5vB/DqfIAB7qAeDoVkhOgIvdf+m3lwnz6JnwbccTs/df3jpXaGG/WJ 6iJ95VCxvzRZH9nu4O9HAagy0TTUItkInqi7qydNwqKhsZ6cjYNbHqNTGYFPfaFi p8MsN7jvSSso5p4A0UJA45IcAfdFxmKt4Qu4z6v2IgG9PF6MK9985gvRzS/W558x V+6T+Tt6wECD1JBCKqAB7gY9bGqtsh3t5ID7KZXzyKfMvlSwIv20GETTJQX/mFqZ fkSuHyoGUnH6Z1b0XmKdhEmSPvupzFwLrJZfdeZ1lxNsi0s3v5Q9dN3DHZly+X+l 51HUVpK+yO5W5gWfhE5HWiD0xFgfjoDBnRbTKBpqcvEU5C9ZMsZ8NRae81Jye0lA cQ8ZO30p6L3Bkl+xNigmr5Aq1J26sWbIPF4zlzIkcbpxgHwzaaNvLXWVRJmJ7BCb /tImDTDWcd4Xwa3TIOk/ =CRy6 -----END PGP SIGNATURE----- --FJx1bn5cHDtFj7kkRBIEumB8cM50rhPEG--