X2Go Bug report logs - #332
handle session suspension/termination via x2gocleansessions

version graph

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

Reported by: Frank Warnke <frank@newspapersystems.com>

Date: Thu, 24 Oct 2013 19:18:01 UTC

Severity: wishlist

Tags: rpm-packages

Found in version 4.0.1.6

Full log


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

Received: (at 332) by bugs.x2go.org; 29 Oct 2013 13:51:28 +0000
From frank@newspapersystems.com  Tue Oct 29 14:51:27 2013
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,HTML_MESSAGE,
	RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED autolearn=unavailable version=3.3.2
Received: from smtp003.onecommunications.net (smtp003.onecommunications.net [69.95.226.13])
	by ymir (Postfix) with SMTP id 62B2C3BC43
	for <332@bugs.x2go.org>; Tue, 29 Oct 2013 14:51:27 +0100 (CET)
Received: (qmail 15670 invoked from network); 29 Oct 2013 13:51:25 -0000
Received: from unknown (HELO dell24.scs.com) (frank@newspapersystems.com@64.179.77.46)
  by smtp003.onecommunications.net with ESMTPA; 29 Oct 2013 13:51:25 -0000
Message-ID: <526FBD5B.8090501@newspapersystems.com>
Date: Tue, 29 Oct 2013 09:51:23 -0400
From: Frank Warnke <frank@newspapersystems.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
CC: Jan Engelhardt <jengelh@inai.de>, 332-quiet@bugs.x2go.org, 
 332@bugs.x2go.org, control@bugs.x2go.org, 332-submitter@bugs.x2go.org
Subject: Re: Bug#332: RPM issue of the OSBD queues
References: <20131025104103.Horde.LPJmANDtmHuUXFrWnDh3CA5@mail.das-netzwerkteam.de> <alpine.LSU.2.11.1310251321250.7320@nerf07.vanv.qr> <526A7574.8010504@newspapersystems.com> <20131029082122.Horde.9Ry9VXQ7Ly_fM607XI1KTQ1@mail.das-netzwerkteam.de>
In-Reply-To: <20131029082122.Horde.9Ry9VXQ7Ly_fM607XI1KTQ1@mail.das-netzwerkteam.de>
Content-Type: multipart/alternative;
 boundary="------------070004030407050907050609"
[Message part 1 (text/plain, inline)]
Hi Mike,

I did some more digging.

The start up script, /etc/init.d/x2gocleansessions, has what it needs to 
create the directory /tmp/.X11-unix.  However, that script does not seem 
to be run during system startup on my very minimal CentOS v6.4 servers.

Running "chkconfig --list | grep x2go" does not come up with anything.  
Chkconfig does not see it, so /etc/init.d/x2gocleansessions does not run 
even though it is in the correct directory.

I had to add it manually to chkconfig so it would run on system start up;

# chkconfig --add x2gocleansessions

Now chkconfig sees it as a script to run on system start up;

# chkconfig --list | grep x2go
x2gocleansessions    0:off    1:off    2:off    3:on    4:off 5:on    6:off

Now the start up script /etc/init.d/x2gocleansessions runs on system 
start up and creates /tmp/.X11-unix.

I looked at other application heavy CentOS v6 servers that we have x2go 
"working" on.  They work because it seems that some other application 
creates /tmp/.X11-unix during system start up.  These "working" machines 
also did not have x2gocleansessions running upon system start up.  I ran 
"chkconfig --add x2gocleansessions" on them as well.

If I have figured out the problem, it looks like the x2goserver 
installation script on CentOS v6 may need to have "chkconfig --add 
x2gocleansessions" run in it.

Thanks,
Frank

On 10/29/2013 04:21 AM, Mike Gabriel wrote:
> Hi Frank,
>
> On  Fr 25 Okt 2013 15:43:16 CEST, Frank Warnke wrote:
>
>> On 10/25/2013 07:23 AM, Jan Engelhardt wrote:
>>> On Friday 2013-10-25 12:41, Mike Gabriel wrote:
>>>> can you take a look at issue #332 in X2Go BTS. Obviously, you 
>>>> should add
>>>> something to the RPM package's init script of X2Go Server that 
>>>> resembles this
>>>> http://code.x2go.org/gitweb?p=x2goserver.git;a=blobdiff;f=debian/x2goserver.init;h=5ae86e4832e3f4c497cc238510aa26375d9bcfd3;hp=b56a4cb5898bdf805b533d153a54fd138e06f9b9;hb=b3d9404c654c051875a1f3abcbd3ff81aa6780b7;hpb=d7f10874cafc3113afe50d0e109f084533aace3f 
>>>>
>>> The init script is already whatever was in debian/x2goserver.init.
>>>
>>>
>
>> I have this in /etc/rc.d/rc.local on CentOS v6.4 64bit, so that after 
>> a reboot, x2goclient can still connect to the server;
>>
>> /bin/mkdir -m 1777 /tmp/.X11-unix
>>
>
> As Jan stated, there should be an init script for X2Go Server. The 
> script launches /usr/sbin/x2gocleansessions. It also should handled 
> the /tmp/.X11-unix directory. Can you please check if that script is 
> in place? Can you also check, why it does not work on your system? 
> Thanks.
>
> Mike

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 12:29:24 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.