15.9 Troubleshooting a VNC Connection
With so much happening in the background, VNC can sometimes seem opaque, particularly when problems arise and the server either fails to start, or attempts to connect remotely result in error messages. There are, however, a number of techniques for tracking down and resolving VNC problems:
If the VNC service fails to start, check the systemctl status of the service and check for error messages:
# systemctl status vncserver@:1.service
For more detailed information, check the systemd journal by running the following command:
# journalctl -xe
Additional information may be available in the log file located at:
/home/<username>/.vnc/<hostname>.<domain>:<display number>.log
For example:
/home/neilsmyth/.vnc/fedoraserver01.localdomain:1.log
If the systemd VNC service is still unable to start the VNC server, try starting it manually using the following command:
# vncserver :<display number>
...