[opensuse 12.2] how to add a vnxserver at boot ?

Greetings !!

I’m just trying to set the RealVNC server for all the ten computers in the lab.
Problem is: the following script triggers this error → Failed to issue method call: Unit vncserver.service failed to load: Invalid argument. See system logs and ‘systemctl status vncserver.service’ for details.

** /lib/systemd/system/vncserver@:1.service**

Description=Remote desktop service (VNC)
After=syslog.target network.target


ExecStartPre=/usr/bin/vncserver-x11-core -stop
ExecStart=/usr/bin/vncserver-x11-core -showstatus
ExecStop=/usr/bin/vncserver-x11-core -stop


The symbolic link has been put in /etc/systemd/system/multi-user.target.wants/vncserver.service

There is nothing in the logs (where could I find some informations in case of ?) and the systemctl status gives the same information: invalid argument but which one ?

I did first systemctl daemon-reload

We could click on the icon to launch each server but I prefer the vncserver to launch during boot.

If someone have advices to fix it up it would be nice ^^

…nevermind… I found the argument that is missing → cgroup is empty (and I renamed vncserver@:1.service into vncserver.service).



seems to make it working…

netstat and ps shows that vncserver is running… I’m trying some connections from a viewer…

…it works !! this thread has been posted using vnc…