X2Go Bug report logs - #516
X2go successfully connects to server, but no window is shown

version graph

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

Reported by: sebastien chabrolles <s.chabrolles@fr.ibm.com>

Date: Sat, 14 Jun 2014 20:25:03 UTC

Severity: normal

Tags: pending

Found in version 3.5.0.24

Fixed in version 3.5.0.25

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 516@bugs.x2go.org (full text, mbox, reply):

Received: (at 516) by bugs.x2go.org; 15 Jun 2014 04:01:36 +0000
From ionic@ionic.de  Sun Jun 15 06:01:35 2014
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,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 365 seconds by postgrey-1.34 at ymir.das-netzwertkeam.de; Sun, 15 Jun 2014 06:01:34 CEST
Received: from Root24.de (powered.by.root24.eu [91.121.15.64])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E81965DB15
	for <516@bugs.x2go.org>; Sun, 15 Jun 2014 06:01:34 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [85.183.67.131])
	by Root24.de (Postfix) with ESMTPSA id 566B43B005C9;
	Sun, 15 Jun 2014 05:55:28 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1402804528; bh=PmSq7ZTClrQb5WaqDZnRAZzXCWGVJO3FyZlRTOfZCeo=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=EyhB7U/p3q2WToMoQsOv/56c0ktAbZJPUiaOqL/+Zt17pP3czJMm2he9/2G0Tke/z
	 DYbMonWcjafI2UzpbwSaFQQw4TekQrUyZVPrHfJuvjF9i0OKqifpSpXluTNfs7DTY+
	 fH9WnVa/FbTqgqWUulxF2P9npMJtMfvi7RRfJJJI=
Message-ID: <539D1931.2090106@ionic.de>
Date: Sun, 15 Jun 2014 05:55:29 +0200
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 516@bugs.x2go.org, 
 sebastien chabrolles <s.chabrolles@fr.ibm.com>
Subject: Re: [X2Go-Dev] Bug#516:  Bug#516: X2go successfully connects to server,
 but no window is shown
References: <OF70D11DD0.EF25FFDA-ONC1257CF7.006F3027-C1257CF7.006FFC35@fr.ibm.com> <20140614224852.Horde.1aAwQpnldGt0QLLA8da6Wg1@mail.das-netzwerkteam.de>
In-Reply-To: <20140614224852.Horde.1aAwQpnldGt0QLLA8da6Wg1@mail.das-netzwerkteam.de>
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080401080709080003030604"
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Mike and Sebastien,

I hope I may answer.

* On 15.06.2014 12:48 am, Mike Gabriel wrote:
> Please use nx-libs from the nightly builds (or build it your self) and re-test with my fixes for the xtrans
code in NX/X11. (xtrans is responsible to set up listening sockets for the
X-Server as well as handle incoming connections).

I did. Built Fedora RPM packages for nx-libs based on today's git repo and
installed them.


> Another issue may well be: does your Fedora PPC64 system use poly-instatiated /tmp directories? If so, then you
want 3.5.0.25, as well.

No, the test system does not.

Still, the problem persists.

There's also not really any clue why this might be happening, either.

x2goserver's debug messages look all fine:

Jun 15 05:23:07 localhost /usr/bin/x2gostartagent: x2gostartagent called with
options: 800x600 wan 16m-png-9 unix-kde-depth_32 us query 0 R firefox
Jun 15 05:23:07 localhost /usr/bin/x2gosessionlimit[10364]: x2gosessionlimit has
been called
Jun 15 05:23:07 localhost /usr/bin/x2golistsessions[10367]: x2golistsessions has
been called with options: --all-servers
Jun 15 05:23:10 localhost /usr/bin/x2gofeature: x2gofeature called with options:
X2GO_RUN_EXTENSIONS
Jun 15 05:23:11 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Jun 15 05:23:11 localhost /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
root-93-1402802588_stRfirefox_dp32 pre-start
Jun 15 05:23:11 localhost /usr/bin/x2gostartagent: successfully started X2Go
agent session with ID root-93-1402802588_stRfirefox_dp32
Jun 15 05:23:11 localhost /usr/bin/x2gofeature: x2gofeature called with options:
X2GO_RUN_EXTENSIONS
Jun 15 05:23:11 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Jun 15 05:23:11 localhost /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
root-93-1402802588_stRfirefox_dp32 post-start
Jun 15 05:23:11 localhost /usr/bin/x2gostartagent: blocking creation of agent's
keyboard file /root/.x2go/C-root-93-1402802588_stRfirefox_dp32/keyboard as
requested by session startup command
Jun 15 05:23:16 localhost /usr/bin/x2goruncommand: x2goruncommand called with
options: 93 10575 root-93-1402802588_stRfirefox_dp32 30136 /usr/bin/firefox nosnd R
Jun 15 05:23:16 localhost /usr/bin/x2gofeature: x2gofeature called with options:
X2GO_RUN_EXTENSIONS
Jun 15 05:23:16 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Jun 15 05:23:16 localhost /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
root-93-1402802588_stRfirefox_dp32 pre-runcommand
Jun 15 05:23:16 localhost /usr/bin/x2gomountdirs[10764]: x2gomountdirs has been
called with options: dir root-93-1402802588_stRfirefox_dp32 ionic
/root/.x2go/ssh/key.J82727
/Users/ionic/.x2go/S-root-93-1402802588_stRfirefox_dp32/spool__PRINT_SPOOL___REVERSESSH_PORT__30137
Jun 15 05:23:16 localhost /usr/bin/x2gosetkeyboard: x2gosetkeyboard called with
options:
Jun 15 05:23:16 localhost /usr/bin/x2gofeature: x2gofeature called with options:
X2GO_XSESSION
Jun 15 05:23:16 localhost /usr/bin/x2gosetkeyboard:
/root/.x2go/C-root-93-1402802588_stRfirefox_dp32/keyboard is blocked, not
setting keyboard parameters from client-side settings
Jun 15 05:23:16 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_XSESSION
Jun 15 05:23:16 localhost /usr/share/x2go/x2gofeature.d/x2goserver.features:
x2goserver.features called with options: X2GO_XSESSION
Jun 15 05:23:16 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features:
x2goserver-fmbindings.features called with options: X2GO_XSESSION
Jun 15 05:23:16 localhost
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features:
x2goserver-xsession.features called with options: X2GO_XSESSION
Jun 15 05:23:17 localhost /usr/bin/x2gomountdirs[10764]: successfully mounted
ionic@127.0.0.1:30137/Users/ionic/.x2go/S-root-93-1402802588_stRfirefox_dp32/spool
to /tmp/.x2go-root/spool/C-root-93-1402802588_stRfirefox_dp32


But there is one interesting bit in the C-... directory.

The "clients" contains those lines:

error opening security policy file /usr/lib64/nx/X11/xserver/SecurityPolicy
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Can't find file "null" for symbols include
>                   Exiting
>                   Abandoning symbols file "default"
> Error:            Cannot open "compiled/server-93.xkm" to write keyboard
description
>                   Exiting

We can ignore the first one.

This, however, leaves us with the xkbcomp errors.

I tried "debugging" that and /usr/bin/xkbcomp has indeed been called with "-w 1
-R/usr/share/X11/xkb -xkm - -em1 'The XKEYBOARD keymap compiler (xkbcomp)
reports:' -emp '>'  -eml 'Errors from xkbcomp are not fatal to the X server'
compiled/server-93.xkm"

Now, while normally xkbcomp errors may not be fatal to the X server, they could
be fatal to x2go. Is that true?

I can get rid of the first error ('Can't find file "null"') by forcing a
specific keyboard layout in x2goclient.

Further, I'm wondering why xkbcomp is called with "compiled/server-93.xkm" as
its output argument. To my understanding, xkbcomp should rather upload its
compiled xkbmap to the Xserver on display 93 (note that the value is within the
output file name) instead of writing it to a file. Am I mistaken?

Unfortunately, I have been unable to reproduce this on any of my other two
machines. I tried everything, from setting a specific keyboard value to sending
null/null as on the ppc64 machine, but my x86_64 machines never even called xkbcomp.

I've had a quick look at nx-libs sources and grepped for xkbcomp, but this
string is all over the place in the X11 sources, so getting some useful
information extracted is difficult.

Do YOU know, by any chance, when xkbcomp is supposed to be called?
As none of my machines are doing that, I suppose xkbcomp is not supposed to be
called at all?


I'll try to get a closer look at that later today, those were my initial findings.

Any input is appreciated.



Mihai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTnRkxAAoJEB/WLtluJTqHoikP/3F29hsW7wzUOgXyWbEy94j8
grwtjShkX3DY3lnDNiAMA8aFsSH+DjkEwe//G+8iIBC8pKuYq98Pd8On3mqKV6Ug
SjP80DPG0KXt/bZTYEGT1Ou6qseCBjSXY0PjiAK5GKf0MEVXL75V6T/YQG8OWO4O
JBtjBVd0+dIcqTfewLUMeCvYzJFKKFuszaaZJDqODtdz8TH7KlcPE64Mi8N0BYNr
BXZWDm/VyOeYhCIToPfEEDC4DOsJb01xtvStNxqmWW+Uoo79fKEAOVc1voWPemYO
/j5mRjn/6KTL5JMplLi8gfG4ilRPB10XN2wHpElDFLyjVMGz2H4wtBf2GuceiRCH
LGtvnRJ/XfYvTuiFeK7ZM8wcy/cc6BBPXa+6v5bMt0qKv7q4wp3vtbs81UzKJGAw
/WwIkSPjZFkDmaWtutcxWiuw62OB9KO3AsYXlj9nUOOHF4UyeX6CL2jC6WMixapN
jj6CXBJyrV8+P3UerB/JExLZgHJ73KLKBNuokinKA95luO8QGDjndz5o1sa0WiNO
jc7+lkvx0CZd3/fxyAKnnseFi2jsusrTMz3BUcTDEG3QgxLEnSl0rvPHS+MC55D7
eOoAj+zdYzDUq/ifZ30HcatlmMESzIv/CZ1dc03kKT1DEvxMjZELCjca12SYmYek
l/FzUx/7hc1E4Ul/vfag
=n1F0
-----END PGP SIGNATURE-----


[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 12:53:53 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.