I followed information I found for using vncserver on a systemd setup:
#yum install tigervnc-server
#firewall-cmd --permanent --add-port=5903/tcp
#firewall-cmd --reload
#cp /lib/systemd/system/vncserver@.service
/etc/systemd/system/vncserver@:3.service
#vi /etc/systemd/system/vncserver@:3.service
---now replace <USER> with rgm
#systemctl enable vncserver@:3.service
Created symlink from
/etc/systemd/system/multi-user.target.wants/vncserver@:3.service to
/etc/systemd/system/vncserver@:3.service.
#systemctl start vncserver@:3.service
Job for vncserver@:3.service failed. See 'systemctl status
vncserver@:3.service' and 'journalctl -xn' for details.
# systemctl -l status vncserver@:3.service
● vncserver@:3.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
Active: failed (Result: exit-code) since Fri 2014-08-08 09:34:06 EDT;
4min 18s ago
Process: 1282 ExecStart=/sbin/runuser -l rgm -c /usr/bin/vncserver %i
(code=exited, status=126)
Process: 1278 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i >
/dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Aug 08 09:34:06 cb2.htt-consult.com systemd[1]: vncserver@:3.service:
control process exited, code=exited status=126
Aug 08 09:34:06 cb2.htt-consult.com systemd[1]: Failed to start Remote
desktop service (VNC).
Aug 08 09:34:06 cb2.htt-consult.com systemd[1]: Unit
vncserver@:3.service entered failed state.
I hd already run vncpasswd while logged in as rgm, thus creating the
directory /home/rgm/.vnc and the file passwd.
So why is it not starting? What am I missing?
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm