[X2Go-Dev] Writing a systemd service file

Oliver Burger obgr_seneca at mageia.org
Wed Apr 4 11:51:26 CEST 2012


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 at 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



More information about the x2go-dev mailing list