X2Go Bug report logs - #697
Nightly x2goserver crashes the x2go windows client on connect

version graph

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

Reported by: Jasmin Lévesque <jasminlevesque@gmail.com>

Date: Thu, 11 Dec 2014 00:15:01 UTC

Severity: normal

Tags: pending

Fixed in version 4.0.1.19

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#697: [X2Go-Dev] Bug#697: Nightly x2goserver crashes the x2go windows client on connect
Reply-To: Jasmin Lévesque <jasminlevesque@gmail.com>, 697@bugs.x2go.org
Resent-From: Jasmin Lévesque <jasminlevesque@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: Fri, 12 Dec 2014 03:15:01 +0000
Resent-Message-ID: <handler.697.B697.141835399711712@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 697
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 697-submit@bugs.x2go.org id=B697.141835399711712
          (code B ref 697); Fri, 12 Dec 2014 03:15:01 +0000
Received: (at 697) by bugs.x2go.org; 12 Dec 2014 03:13:17 +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,T_FILL_THIS_FORM_SHORT,URIBL_BLOCKED,WEIRD_PORT
	autolearn=ham version=3.3.2
Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B37E85E0F0
	for <697@bugs.x2go.org>; Fri, 12 Dec 2014 04:13:11 +0100 (CET)
Received: by mail-wg0-f41.google.com with SMTP id y19so8031561wgg.14
        for <697@bugs.x2go.org>; Thu, 11 Dec 2014 19:13:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=jxsPOfwXepZnLxaUGVQPUbmUVR4NlO94hfcMzMpY7wU=;
        b=I9EgsSzzz3uS+VdtsUrawPdSnjKg6NcQTixAlYgcdIKbbRbgz6utwXT5PmfV7NwEv3
         8L7p3pm4sXv0UQGLYTmfSJw3h7RFoLEeYF3bzwz1tciP4hwARoNjvfBugwj/pPUJX5fW
         jHpaL0CC0s7OrdAL0pjYgaPSZkBlGbFDS0vRTmM9APvgb4+Dv9v7oiBnB07GM6Hvr4W0
         JzKjFNF4dnFn/bpTEgjD2M9sUJRQgdEA8qztjhXaC6ka4EuZ3QRtwBZxfeiEiPoARFD8
         0VX1Xgiez07xaY5q61eW//LLiLLas464rKt52ZvpiX11n9ISOhdgVq/mtkcrXsQVlUwH
         7tIw==
X-Received: by 10.180.108.235 with SMTP id hn11mr3558072wib.14.1418353991424;
 Thu, 11 Dec 2014 19:13:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.122.193 with HTTP; Thu, 11 Dec 2014 19:12:50 -0800 (PST)
In-Reply-To: <20141211100309.Horde.QiN9lLTtlub3oeypBVqvSA1@mail.das-netzwerkteam.de>
References: <CAJzfp8nGgZb2i6o5-tpqGzp4=XBuDcn_RiH3WWEL=y_Vt=eU9g@mail.gmail.com>
 <20141211100309.Horde.QiN9lLTtlub3oeypBVqvSA1@mail.das-netzwerkteam.de>
From: Jasmin Lévesque <jasminlevesque@gmail.com>
Date: Thu, 11 Dec 2014 22:12:50 -0500
Message-ID: <CAJzfp8m-nShQgtSTySn9EB-uHJteCq2_OhtkOePr4mux_of1HA@mail.gmail.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 697@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e01419c0ad3208b0509fc450b
[Message part 1 (text/plain, inline)]
> to narrow down this issue, please try these steps:
>
> 1  o enable loglevel=debug in /etc/x2go/x2goserver.conf, what do you see in
>     /var/log/messages?
> 2  o use a Linux X2Go Client
> 3  o use PyHoca-GUI or PyHoca-CLI as client application for X2Go on a Linux
>     machine (with --libdebug option on the cmdline)
> 4  o btw. do you actually see the session window (for desktop sessions)
>     appear? (and then disappear?)
> 5  o try ssh user@server -X nxagent :20 (does nxagent come up?)
>
> We have to find out, if your crash is an X2Go Server bug or an NX bug on
> EPEL-7.
>
> Thanks+Greets,
> Mike
>

1- /var/log/message with debug loglevel on server after a try with a
Windows client:
Dec 11 21:24:42 centos7nightly systemd: Created slice user-1000.slice.
Dec 11 21:24:42 centos7nightly systemd: Starting Session 3 of user jasminl.
Dec 11 21:24:42 centos7nightly systemd: Started Session 3 of user jasminl.
Dec 11 21:24:42 centos7nightly systemd-logind: New session 3 of user
jasminl.
Dec 11 21:24:45 centos7nightly systemd-logind: Removed session 3.

2- On a CentOS 7 machine, with x2goclient:
x2go-INFO-1> "Starting x2goclient..."
x2go-WARNING-1> "Can't load translator: :/x2goclient_en_us"
x2go-WARNING-2> "Can't load translator: :/qt_en_US"
x2go-INFO-3> "Started  x2goclient."
x2go-INFO-8> "Starting connection to server: 10.10.1.147:22"
Segmentation fault (core dumped)


3-On a CentOs 7 machine, PyHoca-GUI rpm dependency boken with epel...
requires notify-python, PyHoca-CLI installs successfully (will created
another bug for that one..) so...
Calling "pyhoca-cli --server 10.10.1.147 --libdebug -q lan --password
mypass":
Traceback (most recent call last):
  File "/usr/bin/pyhoca-cli", line 422, in <module>
    thisPyHocaCLI.authenticate()
  File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py", line 455,
in authenticate
    self._X2GoClient__connect_session(self.x2go_session_hash,
username=_username, password=self.args.password,
force_password_auth=force_password_auth)
  File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1367, in
connect_session
    sshproxy_force_password_auth=sshproxy_force_password_auth,
  File "/usr/lib/python2.7/site-packages/x2go/session.py", line 1355, in
connect
    self.update_status()
  File "/usr/lib/python2.7/site-packages/x2go/session.py", line 1641, in
update_status
    raise e
x2go.x2go_exceptions.X2GoControlSessionException: x2golistsessions command
failed after we have tried 20 times

In the server's /var/log/message:
Dec 11 22:05:33 centos7nightly systemd: Starting Session 14 of user jasminl.
Dec 11 22:05:33 centos7nightly systemd-logind: New session 14 of user
jasminl.
Dec 11 22:05:33 centos7nightly systemd: Started Session 14 of user jasminl.
Dec 11 22:05:33 centos7nightly /usr/bin/x2gofeaturelist: x2gofeaturelist
called with options:
Dec 11 22:06:00 centos7nightly systemd: Failed to mark scope
session-14.scope as abandoned : Stale file handle
Dec 11 22:06:00 centos7nightly systemd-logind: Removed session 14.

While trying to run x2golistsessions on the server:
DBIconnect('dbname=/var/x2go/x2go_sessions','',...)failed:unabletoopendatabasefileat/usr/share/perl5/vendor_perl/X2Go/Server/DB/SQLite3.pmline67.

Could it be possible that the DB was never created / initialized during
x2goserver's install process? or is it something else entirely? Am I using
pyhoca-cli correctly?

4- No, I don't see the same behavior as with bug #675

5- Yes, if by nxagent you mean a black empty window with NX as the title.


Thanks for the followups


Jasmin
[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 17:02:35 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.