X2Go Bug report logs - #800
$X2GO_CLIENT not set

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Julius K <fooliuskoolius@gmail.com>

Date: Sun, 1 Mar 2015 13:15:01 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#800: [X2Go-Dev] Bug#800: $X2GO_CLIENT not set
Reply-To: Julius K <fooliuskoolius@gmail.com>, 800@bugs.x2go.org
Resent-From: Julius K <fooliuskoolius@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 10 Mar 2015 13:15:01 +0000
Resent-Message-ID: <handler.800.B800.14259931088613@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 800
X-X2Go-PR-Package: <x2goserver>
X-X2Go-PR-Keywords: 
Received: via spool by 800-submit@bugs.x2go.org id=B800.14259931088613
          (code B ref 800); Tue, 10 Mar 2015 13:15:01 +0000
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: <CAN=tz-j9fHF_PmC1aGD0jLhzKVnxJixwQH4dT958pgg8nsNL0g@mail.gmail.com>
	<54F5B396.6070206@ionic.de>
	<CAN=tz-g=nysuAQ_vOYu7WDkAdcUN7s+fxEcd0-UV70YkhR8V8A@mail.gmail.com>
	<54FDC794.70206@ionic.de>
Date: Tue, 10 Mar 2015 14:11:43 +0100
Message-ID: <CAN=tz-jQ_F8oD0smgYCqAy_HctzYGBpajEU8kNr-LG3jVABgKw@mail.gmail.com>
From: Julius K <fooliuskoolius@gmail.com>
To: Mihai Moldovan <ionic@ionic.de>
Cc: "x2go-dev@lists.x2go.org" <x2go-dev@lists.x2go.org>, 800@bugs.x2go.org
Content-Type: multipart/alternative; boundary=047d7b2ed8ab6a4acd0510eee40f
[Message part 1 (text/plain, inline)]
2015-03-09 17:17 GMT+01:00 Mihai Moldovan <ionic@ionic.de>:

> On 09.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>>:
> >
> >     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> "Übersetzung: :/x2goclient_de_de installiert."
x2go-INFO-5> "Übersetzung: :/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=C:/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=/usr/local/bin:/usr/bin:/bin export HOSTNAME && x2golistsessions; echo
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:09|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:09|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=/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=/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
>
>
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:57:58 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.