[fedora-arm] vncserver won't start

Robert Moskowitz rgm at htt-consult.com
Mon Aug 4 02:46:03 UTC 2014


# 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 Sun 2014-08-03 21:52:51 EDT; 
50min ago

Aug 03 21:52:51 cb2.htt-consult.com runuser[26377]: runuser: user <USER> 
does not exist
Aug 03 21:52:51 cb2.htt-consult.com systemd[1]: vncserver@:3.service: 
control process exited, code=exited status=1
Aug 03 21:52:51 cb2.htt-consult.com systemd[1]: Failed to start Remote 
desktop service (VNC).
Aug 03 21:52:51 cb2.htt-consult.com systemd[1]: Unit 
vncserver@:3.service entered failed state.

but trimming starting comments of /etc/systemd/system/vncserver@:3.service


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

[Service]
Type=forking
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/sbin/runuser -l rgm -c "/usr/bin/vncserver %i"
PIDFile=/home/rgm/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target

I did not change the PIDFile= when I enabled the service and went back 
to fix that. and still got the error.




More information about the arm mailing list