LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-26-2004, 03:26 AM   #1
abapdr
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
Question 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i know if the connection is closed using a nonblocking socket? Thinking Programming 2 10-06-2005 08:53 AM
Unable to connect to UNIX socket /tmp/.esd/socket error while using grip dr_zayus69 Linux - Software 4 08-23-2005 07:28 PM
how to find out if a nonblocking socket is closed jwstric2 Programming 3 04-03-2005 10:14 AM
RFB, VNC and C++ devilkin Programming 0 02-16-2005 03:06 AM
Where do I go to allow RFB and ssh connections in MDK 9.2? DesertWolf0132 Linux - Software 5 06-11-2004 08:31 AM


All times are GMT -5. The time now is 12:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration