Tuesday, March 17, 2009

Troubleshooting vncserver start issues

My purpose was to install Oracle DB server on a Linux server, for which I required to start a VNC session.

I ended up facing the following errors...

error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
X connection to :2.0 broken (explicit kill or server shutdown).
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":2.0"

So, began to troubleshoot and fix errors one by one...

How to fix them ?

First, let us fix "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy".

In my machine, the actual SecurityPolicy file was available in /etc/X11/xserver/SecurityPolicy.
So, created a symbolic link at /usr/X11R6/lib/X11/xserver/ for SecurityPolicy file.

Will post again on how to fix the next issue.

Continuation...
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

How did I get rid of this error ?
A colleague of mine disabled the firewall on the Linux box I was using. Voila, VNC works !

No comments:

Post a Comment