Linux-Noob Forums

Full Version: Broken VNC?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I'll start ssh

 

/etc/init.d/sshd start

 

Then, from my winbox I'll start PuTTY, load my vnc settings ( The forwarded ports, etc) then I'll open and log into my box via ssh. Yay! BUT, when I open vncviewer on windows, and try and open localhost:1 it just hangs! Normally I would get dialogue to input a password to vnc! :(


Quote:I'll start ssh 

/etc/init.d/sshd start

 

Then, from my winbox I'll start PuTTY, load my vnc settings ( The forwarded ports, etc) then I'll open and log into my box via ssh. Yay! BUT, when I open vncviewer on windows, and try and open localhost:1 it just hangs! Normally I would get dialogue to input a password to vnc! :(
 

I did the following command on the linux box where i wanted to vnc to



Code:
ssh -L 5901:localhost:5900 user@vncip




 

nmap shows vnc to be up. However, when I open up vncviewer on my Winbox and try to go to localhost:1, instead of a passwd dialogue I get a message IN TERMINAL everytime I try to vncviewer localhost:1 I get a message saying

 



Code:
channel 2: open failed: connect failed: Connection refused




 

Also, when checking my logs I found this.



Code:
tail -f ~/.vnc/tux:1.log
_XSERVTransSocketINETAccept: ...SocketINETGetPeerAddr() failed:

19/03/06 04:18:56 Rejected connection from client 127.0.0.1
19/03/06 04:18:56 Rejected HTTP connection from client 127.0.0.1

19/03/06 15:38:13 Rejected connection from client 127.0.0.1
19/03/06 15:38:13 Rejected HTTP connection from client 127.0.0.1

19/03/06 15:45:33 Rejected connection from client 127.0.0.1
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":1.0"