Knowledge base

Knowledge base: Known Issues
Grey screen or VNC Viewer window closes when connecting to VNC Server in Virtual Mode
Platform(s): Linux/UNIX Product(s): VNC Version(s): 5.1


When connecting to VNC Server in Virtual Mode, you may see a grey screen, or the VNC Viewer window may open briefly and then close again. We believe the problem is the way we check the system before adding the relevant entries into the ~/.Xauthority file. When adding these entries, we need to perform a lookup of the hostname of the machine, which is used to identify VNC Server. If the hostname is unresolvable for any reason, then the resulting entry does not work, and X clients cannot connect to VNC Server, and be remoted to VNC Viewers.


Check the output of the host command to ensure the hostname is resolvable:

host `hostname`

Note that backticks should be used, not single quotes.

The output should look something like: has address