Hi,
I'm currently writing a systemd service file for the x2goserver. It still does not work and is work in progress, mostly because of x2gocleansession dies with an error message: Here is the service file:
----------> snip <---------- # this is a systemd service file for starting x2goserver [Unit] Description=x2go - remote desktop server After=syslog.target network.target # [Service] # The process to start is x2gocleansession ExecStart=/usr/bin/x2gocleansession # # perhaps some other things have to be done # don't know yet, let's talk to Colin [Install] WantedBy=multi-user.target ----------> snip <----------
And here is the output I get from systemctl:
----------> snip <---------- [root@beteigeuze ~]# systemctl status x2goserver.service x2goserver.service - x2go - remote desktop server Loaded: loaded (/lib/systemd/system/x2goserver.service; disabled) Active: failed (Result: exit-code) since Wed, 04 Apr 2012 11:27:01 +0200; 8s ago Process: 13781 ExecStart=/usr/bin/x2gocleansession (code=exited, status=203/EXEC) CGroup: name=systemd:/system/x2goserver.service ----------> snip <----------
So x2gocleansession dies with an error code 203. I was talking with our systemd maintainer and he asked me to find out, what this error code means and how to get more information, why it dies.
If anyone could help me, I would be greatful.
Thanks,
Oliver
Here is the service file:
----------> snip <---------- # this is a systemd service file for starting x2goserver [Unit] Description=x2go - remote desktop server After=syslog.target network.target # [Service] # The process to start is x2gocleansession ExecStart=/usr/bin/x2gocleansession # # perhaps some other things have to be done # don't know yet, let's talk to Colin [Install] WantedBy=multi-user.target ----------> snip <---------- Ok, the first error was the path, x2gocleansessions is in /usr/sbin, not /usr/bin... The second error was that application name (missing "s" at the end of
Am 04.04.2012 11:51, schrieb Oliver Burger: Argh.... the command. Now the error I wrote in the last mail is gone. But now I get no output at all and it's still not working. when starting x2gocleansessions manually, everything is ok.
Oliver