From jasminlevesque@gmail.com  Fri Dec 12 04:13:11 2014
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: =?UTF-8?Q?Jasmin_L=C3=A9vesque?= <jasminlevesque@gmail.com>
Date: Thu, 11 Dec 2014 22:12:50 -0500
Message-ID: <CAJzfp8m-nShQgtSTySn9EB-uHJteCq2_OhtkOePr4mux_of1HA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#697: Nightly x2goserver crashes the x2go windows
 client on connect
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 697@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e01419c0ad3208b0509fc450b

--089e01419c0ad3208b0509fc450b
Content-Type: text/plain; charset=UTF-8

> 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

--089e01419c0ad3208b0509fc450b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
to narrow down this issue, please try these steps:<br>
<br>1=C2=A0 o enable loglevel=3Ddebug in /etc/x2go/x2goserver.conf, what do=
 you see in<br>
=C2=A0 =C2=A0 /var/log/messages?<br>2=C2=A0 o use a Linux X2Go Client<br>3=
=C2=A0 o use PyHoca-GUI or PyHoca-CLI as client application for X2Go on a L=
inux<br>
=C2=A0 =C2=A0 machine (with --libdebug option on the cmdline)<br>4=C2=A0 o =
btw. do you actually see the session window (for desktop sessions)<br>
=C2=A0 =C2=A0 appear? (and then disappear?)<br>5=C2=A0 o try ssh user@serve=
r -X nxagent :20 (does nxagent come up?)<br>
<br>
We have to find out, if your crash is an X2Go Server bug or an NX bug on EP=
EL-7.<br>
<br>
Thanks+Greets,<br>
Mike<span class=3D""><font color=3D"#888888"><br>
</font></span></blockquote><div><br></div><div>1- /var/log/message with deb=
ug loglevel on server after a try with a Windows client:<br>Dec 11 21:24:42=
 centos7nightly systemd: Created slice user-1000.slice.<br>Dec 11 21:24:42 =
centos7nightly systemd: Starting Session 3 of user jasminl.<br>Dec 11 21:24=
:42 centos7nightly systemd: Started Session 3 of user jasminl.<br>Dec 11 21=
:24:42 centos7nightly systemd-logind: New session 3 of user jasminl.<br>Dec=
 11 21:24:45 centos7nightly systemd-logind: Removed session 3.<br><br></div=
><div>2- On a CentOS 7 machine, with x2goclient:<br></div><div>x2go-INFO-1&=
gt; &quot;Starting x2goclient...&quot;<br>x2go-WARNING-1&gt; &quot;Can&#39;=
t load translator: :/x2goclient_en_us&quot;<br>x2go-WARNING-2&gt; &quot;Can=
&#39;t load translator: :/qt_en_US&quot;<br>x2go-INFO-3&gt; &quot;Started=
=C2=A0 x2goclient.&quot;<br>x2go-INFO-8&gt; &quot;Starting connection to se=
rver: <a href=3D"http://10.10.1.147:22">10.10.1.147:22</a>&quot;<br>Segment=
ation fault (core dumped)<br><br><br>3-On a CentOs 7 machine, PyHoca-GUI rp=
m dependency boken with epel... requires notify-python, PyHoca-CLI installs=
 successfully (will created another bug for that one..) so...<br>Calling &q=
uot;pyhoca-cli --server 10.10.1.147 --libdebug -q lan --password mypass&quo=
t;:<br>Traceback (most recent call last):<br>=C2=A0 File &quot;/usr/bin/pyh=
oca-cli&quot;, line 422, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 thisPyHoca=
CLI.authenticate()<br>=C2=A0 File &quot;/usr/lib/python2.7/site-packages/py=
hoca/cli/frontend.py&quot;, line 455, in authenticate<br>=C2=A0=C2=A0=C2=A0=
 self._X2GoClient__connect_session(self.x2go_session_hash, username=3D_user=
name, password=3Dself.args.password, force_password_auth=3Dforce_password_a=
uth)<br>=C2=A0 File &quot;/usr/lib/python2.7/site-packages/x2go/client.py&q=
uot;, line 1367, in connect_session<br>=C2=A0=C2=A0=C2=A0 sshproxy_force_pa=
ssword_auth=3Dsshproxy_force_password_auth,<br>=C2=A0 File &quot;/usr/lib/p=
ython2.7/site-packages/x2go/session.py&quot;, line 1355, in connect<br>=C2=
=A0=C2=A0=C2=A0 self.update_status()<br>=C2=A0 File &quot;/usr/lib/python2.=
7/site-packages/x2go/session.py&quot;, line 1641, in update_status<br>=C2=
=A0=C2=A0=C2=A0 raise e<br>x2go.x2go_exceptions.X2GoControlSessionException=
: x2golistsessions command failed after we have tried 20 times<br><br></div=
><div>In the server&#39;s /var/log/message:<br>Dec 11 22:05:33 centos7night=
ly systemd: Starting Session 14 of user jasminl.<br>Dec 11 22:05:33 centos7=
nightly systemd-logind: New session 14 of user jasminl.<br>Dec 11 22:05:33 =
centos7nightly systemd: Started Session 14 of user jasminl.<br>Dec 11 22:05=
:33 centos7nightly /usr/bin/x2gofeaturelist: x2gofeaturelist called with op=
tions:<br>Dec 11 22:06:00 centos7nightly systemd: Failed to mark scope sess=
ion-14.scope as abandoned : Stale file handle<br>Dec 11 22:06:00 centos7nig=
htly systemd-logind: Removed session 14.<br><br></div><div>While trying to =
run x2golistsessions on the server:<br>DBIconnect(&#39;dbname=3D/var/x2go/x=
2go_sessions&#39;,&#39;&#39;,...)failed:unabletoopendatabasefileat/usr/shar=
e/perl5/vendor_perl/X2Go/Server/DB/SQLite3.pmline67.<br><br></div><div>Coul=
d it be possible that the DB was never created / initialized during x2goser=
ver&#39;s install process? or is it something else entirely? Am I using pyh=
oca-cli correctly?<br></div><div><br></div><div>4- No, I don&#39;t see the =
same behavior as with bug #675<br><br></div><div>5- Yes, if by nxagent you =
mean a black empty window with NX as the title.<br><br></div><div><br>Thank=
s for the followups<br><br><br></div><div>Jasmin<br></div><div><br></div></=
div></div></div>

--089e01419c0ad3208b0509fc450b--

