tag #332 rpm-packages thanks
Hi Jan,
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 [1].
Thanks, Mike
[1]
http://code.x2go.org/gitweb?p=x2goserver.git;a=blobdiff;f=debian/x2goserver....
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Processing commands for control@bugs.x2go.org:
tag #332 rpm-packages Bug #332 [x2goserver] [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory Added tag(s) rpm-packages. thanks Stopping processing here.
332: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=332 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems
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....
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
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.... The init script is already whatever was in debian/x2goserver.init.
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.... 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.
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
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....
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
On Tuesday 2013-10-29 14:51, Frank Warnke wrote:
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.
Such consideration has already been done by distros, and I concur with openSUSE's current opinion to not enable services just because their constituting package got installed (possibly automated and/or drawing in dependent packages).
Hi Jan,
On Di 29 Okt 2013 15:41:09 CET, Jan Engelhardt wrote:
On Tuesday 2013-10-29 14:51, Frank Warnke wrote:
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.
Such consideration has already been done by distros, and I concur with openSUSE's current opinion to not enable services just because their constituting package got installed (possibly automated and/or drawing in dependent packages).
thanks for clearing that up.
Can you please add that bit of information to the X2Go wiki then? The
X2Go Server DB will fill with loads of dead sessions if the
x2gocleansessions Perl script (via init script) does not run.
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On Tuesday 2013-10-29 15:54, Mike Gabriel wrote:
Hi Jan,
On Di 29 Okt 2013 15:41:09 CET, Jan Engelhardt wrote:
On Tuesday 2013-10-29 14:51, Frank Warnke wrote:
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.
Such consideration has already been done by distros, and I concur with openSUSE's current opinion to not enable services just because their constituting package got installed (possibly automated and/or drawing in dependent packages).
thanks for clearing that up.
Can you please add that bit of information to the X2Go wiki then? The X2Go Server DB will fill with loads of dead sessions if the x2gocleansessions Perl script (via init script) does not run.
Which makes me wonder - can't you remove the dead sockets when "it" exits?
Hi Jan,
On Di 29 Okt 2013 16:06:22 CET, Jan Engelhardt wrote:
On Tuesday 2013-10-29 15:54, Mike Gabriel wrote:
Hi Jan,
On Di 29 Okt 2013 15:41:09 CET, Jan Engelhardt wrote:
On Tuesday 2013-10-29 14:51, Frank Warnke wrote:
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.Such consideration has already been done by distros, and I concur with openSUSE's current opinion to not enable services just because their constituting package got installed (possibly automated and/or drawing in dependent packages).
thanks for clearing that up.
Can you please add that bit of information to the X2Go wiki then? The X2Go Server DB will fill with loads of dead sessions if the
x2gocleansessions Perl script (via init script) does not run.Which makes me wonder - can't you remove the dead sockets when "it" exits?
no sockets remain. In some cases (session crashes, etc.) a clean-up of
remaining SSHFS mounts is necessary.
Also, in future version of X2Go Server, the suspend/terminate
functionality will be provided in x2gocleansessions, as well. A change
in the database will then actually suspend the session. For the
correct functionality of the session broker this is necessary already
today.
Please make x2gocleansessions available or document that it is not
available and why and how to enable it. Thanks!
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...