Hi John,
On Mo 21 Okt 2013 10:07:37 CEST, John Williams wrote:
On Mon, Oct 21, 2013 at 12:11 AM, Sebastian Flothow <sebastian.flothow@gip.com> wrote:
Am 19.10.2013 05:45, schrieb John Williams:
One thing that usually works is to restart the server process
I just had a look at /etc/init.d/x2goserver on my box, the only thing being started there is x2gocleansessions. Is this what you're referring to?
Is x2gocleansessions supposed to continue running in the background? There are no x2gocleansessions processes running on my machine right now.
I am running the x2goserver package from Archlinux, which uses systemd. After I found out that restarting x2goserver.service via systemd would usually allow me to resume a session from a Windows client (without hanging), I set up a cron job on my linux box that restarts it every hour.
The x2gocleansessions script forks itself and becomes a daemon
process. It should run on your system permanently. It contains a loop
that executes its code every 2 seconds (older versions of X2Go Server:
every 5 seconds).
Here is the unit file /etc/systemd/system/multi-user.target.wants/x2goserver.service
[Unit] Description=x2go - remote desktop server After=syslog.target network.target
[Service] ExecStart=/usr/bin/x2gocleansessions PIDFile=/run/x2goserver.pid
x2gocleansessions belongs to /usr/sbin, not /usr/bin. Please contact
the archlinux maintainer of X2Go Server and tell him that.
Also, we will be happy to include a service file, once it's proven to work...
[Install] WantedBy=multi-user.target
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...