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.
[Unit] Description=Remote desktop service (VNC) After=syslog.target network.target [Service] Type=forking ExecStartPre=/usr/bin/vncserver-x11-core -stop ExecStart=/usr/bin/vncserver-x11-core -showstatus ExecStop=/usr/bin/vncserver-x11-core -stop [Install] WantedBy=multi-user.target
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 ^^