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 1.0.1.8-0~x2go1+squeeze~main~321~build

Fixed in version 1.0.99.1

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 [209.85.214.179])
	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;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=FtQCx6tFLMrjFmASqc3iEOZIz3f2UuQMaRi4kgEmzAY=;
        b=EZR/bdk7YRtB1Cjr1nY0OYAiuWAA/q1UIq5NnNLN0iN0bxDxbhgodFg+bldNhez5Yv
         vxLrlASdiKePUnPLgoSXOl/1fmVzWEqVjYTa59IoEogj0TOdebvKbixONOPdRGD22QuS
         //aaon0kkCrnxUV68veMJnbrQp3fzZVybZtJodA5EhAqOvB6fwKczokYH+a9pC3pFWnh
         5rB0d70zai2UK4OgxYHO99sdtMmk1ejnc8ChDdzBYEXy2Fv7+oN6xCsGmymj4PW8+8QU
         iGN225g9iPXEArfcnc9cyNIZ/FwLV/K2roLEhIB9dpdMn2V7mR9x5VP8crVvnWiu4LTd
         vIkw==
MIME-Version: 1.0
Received: by 10.60.172.178 with SMTP id bd18mr2274174oec.133.1354209240993;
 Thu, 29 Nov 2012 09:14:00 -0800 (PST)
Received: by 10.76.13.202 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
Version: 1.0.1.8-0~x2go1+squeeze~main~321~build

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
x2gothinclientd).

Please let me know if you need more information.

Thank you!
Raphael

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.