X2Go Bug report logs - #66
ThinClient is not reconnecting after terminating the session

version graph

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

Reported by: Raphael Lechner <raphael.lechner@gmail.com>

Date: Thu, 29 Nov 2012 17:18:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

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

Bug is archived. No further changes may be made.

Full log

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

Received: (at submit) by bugs.x2go.org; 29 Nov 2012 17:14:02 +0000
From raphael.lechner@gmail.com  Thu Nov 29 18:14:02 2012
Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [])
	by ymir (Postfix) with ESMTPS id 928535DB16
	for <submit@bugs.x2go.org>; Thu, 29 Nov 2012 18:14:02 +0100 (CET)
Received: by mail-ob0-f179.google.com with SMTP id x4so2554480obh.24
        for <submit@bugs.x2go.org>; Thu, 29 Nov 2012 09:14:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
MIME-Version: 1.0
Received: by with SMTP id bd18mr2274174oec.133.1354209240993;
 Thu, 29 Nov 2012 09:14:00 -0800 (PST)
Received: by with HTTP; Thu, 29 Nov 2012 09:14:00 -0800 (PST)
Date: Thu, 29 Nov 2012 18:14:00 +0100
Message-ID: <CAKrPV6neY0-V-7rBeKrbgov20pcRoTHgy0UF-vP5R13mzy83qQ@mail.gmail.com>
Subject: ThinClient is not reconnecting after terminating the session
From: Raphael Lechner <raphael.lechner@gmail.com>
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1
Package: x2gothinclient

I have the X2Go Server running on Ubuntu 12.04 LTS and 4 Thinclients
that are booting from PXE. All Clients have autologin enabled and most
of the time the login works without problems, but probably I have
found two issues.

1) After terminating the session with x2goterminate-session $session
on the server side, the client tries to restart infinitely the GUI but
nothing appears and the reconnect is not working. This is 100%
reproducible on my machines.

After some debugging I found that the x2gothinclientd process is
producing many defuncted sh processes and it seems that the problem is
located in the following lines of code:/usr/sbin/x2gothinclientd:
local *IN, *OUT, *ERR;
$x2goclient_pid = eval {
open3( \*IN, \*OUT, \*ERR, "su - x2goclient -c 'DISPLAY=:0 bash -c
\"/etc/x2go/x2gothinclient_start &\"'");

I changed this lines to:
qx(su - x2goclient -c \"export DISPLAY=:0; ./etc/x2go/x2gothinclient_start\");

After that the reconnect is working perfectly.

2) Sometimes this problem exists also on the first autologin. After I
have rebooted 4 Machines at the same time, then maybe on the 2-3 try I
have one machine with this problem. (Without changing the

Please let me know if you need more information.

Thank you!

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Jul 23 00:15:48 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.