VNC : no display configured
Posted on 2012-09-14
The vncserver which is on one of my redhat desktop suddenly stopped working. I am no longer able to use vncviewer to connect to it from my window box anymore.
There is no firewall and Selinux configured on this redhat box. I can ping it from my windows box and can ssh into it.
[user2@localhost .vnc]$ /sbin/service vncserver status
Xvnc is stopped
I went inside /home/user2/.vnc directory and checked the log
Fri Sep 14 10:06:37 2012
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5903
vncext: Listening for HTTP connections on port 5803
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'localhost.localdomain:3'
xmodmap: unable to open display 'localhost.localdomain:3'
xhost: unable to open display "localhost.localdomain:3"alhost.localdomain:3