From unknown Thu Mar 28 16:32:19 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#332: RPM issue of the OSBD queues Reply-To: Frank Warnke , 332-quiet@bugs.x2go.org Resent-To: Frank Warnke X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 29 Oct 2013 14:03:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 332 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: rpm-packages Received: via spool by 332-submitter@bugs.x2go.org id=U332.138305468819446 (code U ref 332); Tue, 29 Oct 2013 14:03:02 +0000 Received: (at 332-submitter) by bugs.x2go.org; 29 Oct 2013 13:51:28 +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,HTML_MESSAGE, RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from smtp003.onecommunications.net (smtp003.onecommunications.net [69.95.226.13]) by ymir (Postfix) with SMTP id A277B5DB1C for <332-submitter@bugs.x2go.org>; Tue, 29 Oct 2013 14:51:26 +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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Mike Gabriel CC: Jan Engelhardt , 332-quiet@bugs.x2go.org, 332@bugs.x2go.org, control@bugs.x2go.org, 332-submitter@bugs.x2go.org References: <20131025104103.Horde.LPJmANDtmHuUXFrWnDh3CA5@mail.das-netzwerkteam.de> <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" This is a multi-part message in MIME format. --------------070004030407050907050609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070004030407050907050609 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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

--------------070004030407050907050609--