Unable to find host + real vnc problem

Rick Stevens rstevens at internap.com
Thu Oct 25 17:07:06 UTC 2007


On Thu, 2007-10-25 at 08:54 -0700, Biswajit Nayak wrote:
> Hi All, 
>    I am getting following error while connecting to my
> linux box (RHEL 4) from windows XP( Real VNC client).
> I am also seeing "error opening security policy file"
> while starting vnc server. I checked on server side
> that VNCServer is running. I can ping to the host.
> However Real VNC viewer does not work. Any clue ? 
> 
> Error Text
> **********
> unable to connect to host: A socket operation was
> attempted to an unreachable host (10065) + vnc
> 
> Vnc Server side log
> *******************
> Thu Oct 25 08:26:18 2007
>  vncext:      VNC extension running!
>  vncext:      Listening for VNC connections on port
> 5902
>  vncext:      Listening for HTTP connections on port
> 5802
>  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/TTF/, removing from list!
> Could not init font path element
> /usr/X11R6/lib/X11/fonts/CID/, removing from list!

There's a couple of possibilities:

If you launched the server code via "vncserver" or something like that,
then make sure your vnc client is trying to access "hostname:1" (since
the X vnc server will be on display 1, not the default of 0.

If you included the "vnc" module in your xorg.conf, then you will be
sharing the primary display between the normal X display and the VNC
client.

If you set up the VNC server to tunnel through ssh, you need to tell the
VNC client to tunnel through ssh as well.  On the Linux "vncviewer"
command, this is indicated by using the "-via ssh-gateway-name" option
on the command line.  I don't know what the equivalent is on RealVNC on
Windows.

As to the server-side log entries, don't worry about them.  They're
simply telling you that you don't certain fonts installed.  It's not
fatal.
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-         It is better to have loved and lost.  Cheaper, too!        -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list