Where are the Log files for VNC
Scott C. Best
sbest "at" best.com
Sat Jul 13 19:04:01 2002
Heya. Since the VNC server is running on the same machine
as the SSH server, it may be that your VNC server needs to be setup
to "Allow Loopback".
Two quick debug steps: after you start VNC on your server,
trying telnet'ing to "127.0.0.1:5903" from the command line of
your server. See if you get the RFB response. If you don't, try
telneting to the IP address of servername. Depending on which
one works, adjust your ssh command accordingly:
ssh -L 5902:ip.address.that.works:5903 servername
Then from your client, telnet into "127.0.0.1:5902" and
see if you get the RFB response. If that doesn't work, trying
connecting to "clientname:5902" and see if *that* works. Me,
I like to use 127.0.0.1 as often as possible, though sometimes
it takes an extra configuration step.
> Hello all, I'm trying to VNC via ssh from my redhat 7.3 laptop to my
> redhat 7.3 server accross the internet. On the server I run vncserver and
> get a connection to Xvnc :3 -desktop which is running on port 5903 if I
> read the documentation correctly.
> When I do a "ssh -L 5902:servername:5903 servername" from the laptop I get
> the password prompt and it lets me login just fine. I then type in
> vncveiwer localhost:2 and I get nothing, it doesn't give me an error I
> just get nothing. On the server I can still see "Xvnc :3 -desktop" still
> running. Per the documenation this is all that I need to do in order to
> get this to work. Have I left out anything? What logs can I look at to
> see whats going on?
> >From the documentation I have read this should be very easy. But so far
> it's not working very well.