vnc
I'm trying to vnc to my Linux machine from XP (using TightVNC viewer). I ran the vncserver :1 command on the linux box, setup the password but when I try to access it from the XP box, I get a 'Failed to connect to server' error.
This is how my xstartup file looks like: #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & What am I doing wrong? Thanks, -- Puli |
Well, first I'd comment all of that out and just type kdestart so you actually get a KDE session. Second, what are you doing from the client to connect. It asks for an ip address and you are giving that. What do you put for a display number? if you are running the server on :1, then in the client you'd put xxx.xxx.xxx.xxx::1. Notice to two colons.
|
Tried that... Doesn't still work :-(
I tried both the hostname.domain::1 and IP Address::1 I still get 'Failed to connect to server' error |
Is this on your internal LAN? Is Linux firewall setup to allow connections to the VNC port? I had to open port 5901 on my Linux box since that is the default port vnc uses if your trying to connect to x session 1.
|
Thanks for the response.
I've tried it both in my home network and the internal LAN at work... Same problem both places... How do I open up the port 5901? |
All times are GMT -5. The time now is 09:47 PM. |