[NBLUG/talk] TightVNC and RH Linux

Mark Street jet at sonic.net
Sat Feb 7 09:46:01 PST 2004


On Saturday 07 February 2004 09:17 am, Todd Cary wrote:
> View my Linux box from a Windows box.

Make sure you have a vncserver running on the linux box.

$ vncserver

It will startup, prompt you for a password and tell you what Display it is 
running on.  Probably 1 if it is the first instance, 2 if it is the second 
instance, etc.

Then from the windows box use the client to connect to the IP of the Linux box 
with the proper display set.  You will be prompted for a password, then boom, 
you are in.

The ~/.vnc directory in your home holds information on the running server.  
Take a peek.

>
> Here is what I have accomplished so far:
>
> 1) I have the Windows vnc viewer loaded on the Windows box and Xvnc is
> running on the Linux box.
>
> 2) From the Windows browser, http://192.168.0.22:5801/ DOES make a
> connection.
>
> 3) Using the Windows client, I cannot connect.
>
> Now do I have things backward?  I need a server on the Windows box so I
> can connect to the Linux FROM the Windows box?
>
> ++++++
>
> Security question: /var/log/messages does not reflect the connections or
> attempted connections.  What log file shows this?
>
> Does vnc have it's own log file?  I cannot tell from the docs.
>
> Todd
>
> Mark Street wrote:
> >vnc is exactly opposite of X windows.  It is a client and server type
> > service but the server runs on a remote machine and you run the client
> > locally to connect to the remote server.
> >
> >So, on the windows box should have the 'server' running.  You will notice
> > a small white and green icon in the taskbar on the windows box when the
> > server is active, you can even set it to come up on boot.
> >
> >Windows boxen use display :0 for the primary display, Linux boxen will
> > vary
> >
> >So, you would connect from the Linux box like so;  vncviewer
> > 192.168.1.**:0
> >
> >Whatever your IP address for the windows box is.  Read some of the
> > excellent docs that augie referred to for additional info.
> >
> >On Saturday 07 February 2004 08:02 am, Todd Cary wrote:
> >>When I do ps -A | grep "vnc" I get Xvnc, so vnc is running.
> >>
> >>What I am unclear about is how to access it from a client.  On my
> >>windows box, I have the TightVNC client running and I have ports 5800
> >>and 5900 open on the router, but I cannot connect.
> >>
> >>What is a good trouble shooting approach?

-- 
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc



More information about the talk mailing list