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.
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
[Install] WantedBy=multi-user.target