Linux-Noob Forums
Broken VNC? - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html)
+--- Forum: Remote Access (https://www.linux-noob.com/forums/forum-88.html)
+--- Thread: Broken VNC? (/thread-2087.html)



Broken VNC? - Navrax - 2006-03-15


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! :(




Broken VNC? - Navrax - 2006-03-20


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"