tightVNC - RFB socket closed
Hi Gurus,
Background: Mandrake 10.0 Community
I'm trying to remote control my Linux server (1.2.3.4) from my XP Pro laptop (xx.xx.xx.xx) and I don't seem to be able to make it work.
-- I run vncpasswd where I set up a password - 12345678
-- I run vncserver and check the domain.com:1.log file in my /home/user/.vnc directory, which says that the server is running and is "Listening for VNC connections on TCP port 5901"
-- netstat and nmap tell me that port 5901 is open and listening
-- on my XP Pro laptop I navigate to the directory where the VNC java classes are, open a command prompt and try to connect to my server (not on the same network) using the java VncViewer:
C:\j2re1.4.1_03\bin\java -Xmx128M VncViewer HOST 1.2.3.4 PORT 5901
-- I get the TightVNC authentication window where I type in my password I set up in step 1 - 12345678
-- I get the following error message in the consol:
**********
RFB socket closed
java.io.EOFException
at java.io.DataInputStream.readFully(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at RfbProto.readVersionMsg(RfbProto.java:178)
at VncViewer.tryAuthenticate(VncViewr.java:349)
at VncViewer.ConnectAndAuthenticate(VncViewer.java:330)
at VncViewer.run(VncViewer.java:154)
at java.lang.Thread.run(Unknown Source)
Network error: remote side closed connection
**********
In my log file on the Linux box I see the following entry:
"Rejected connection from client xx.xx.xx.xx"
What am I doing wrong here?
Any help would be much appreciated. Thanks in advance,
abapdr
|