Why does vncserver fails with "Starting VNC server: no displays configured" on Red Hat Enterprise Linux ?
Environment
- Red Hat Enterprise Linux
- vncserver
Issue
-
Why does vncserver fails with "Starting VNC server: no displays configured" on Red Hat Enterprise Linux ?
$ service vncserver restart Starting VNC server: no displays configured
Resolution
- Check, if vncserver is configured as documented at How to configure Virtual Network Computing (VNC) to work with Red Hat Enterprise Linux ?
-
Verify that the following line exists in /etc/sysconfig/vncservers, and does not have any typos such as space between "N" and "<user>"
$ cat /etc/sysconfig/vncservers ... VNCSERVERS="N: <user>"
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments