Unable to start vncserver on RHEL7.
Issue
- Vncserver was configured as per the RedHat knowledgebase Article:966063. But still the vncserver process is not starting on the system. Getting following error, when try to start service:
vncserver@:2.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled)
Active: failed (Result: exit-code) since Fri 2015-10-30 14:55:20 EDT; 3min 6s
ago
Process: 18664 ExecStart=/sbin/runuser -l <USER> -c /usr/bin/vncserver %i (cod
e=exited, status=1/FAILURE)
Process: 18661 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null
2>&1 || : (code=exited, status=0/SUCCESS)
Oct 30 14:55:20 localhost.localdomain runuser[18664]: runuser: user <USER> does
not exist
Oct 30 14:55:20 localhost.localdomain systemd[1]: vncserver@:2.service: control
process exited, code=exited status=1
Oct 30 14:55:20 localhost.localdomain systemd[1]: Failed to start Remote desktop
service (VNC).
Oct 30 14:55:20 localhost.localdomain systemd[1]: Unit vncserver@:2.service ente
red failed state.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.