LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   TightVNC Won't Work (https://www.linuxquestions.org/questions/linux-networking-3/tightvnc-wont-work-270305/)

chris319 12-25-2004 07:00 PM

TightVNC Won't Work
 
Can TightVNC control a Linux box using a Java-enabled browser and nothing more, or was I dreaming when I was controlling my Winders box this way (which I was able to get up and running in about 10 minutes)?

I have discovered the following behavior:

With KDE Desktop Sharing "allow uninvited connections" turned on:

Port 5800 - Open
Port 5901 - Open

With "allow uninvited connections" turned off:

Port 5800 - Closed
Port 5901 - Closed

It doesn't seem to matter what rules are set up with iptables. KDE Desktop Sharing makes its own rules.

I can sorta get the machines talking to each other but keep getting "Desktop Sharing - The remote user has closed the connection." messages on the Linux box.

Every time I start up tightvncserver I get:

Warning: mycomputer:n is taken because of /tmp/.Xn -lock
Remove this file if there is no X server mycomputer:n

where n increments each time tightvncserver is started.

:confused:

david_ross 12-28-2004 08:26 AM

Are you trying to use desktop sharing or are you wanting a seperate X server to be available from VNC?

chris319 12-28-2004 09:13 PM

Thanks for your reply.

Quote:

Are you trying to use desktop sharing or are you wanting a seperate X server to be available from VNC?
Tight VNC under Windows gives me desktop sharing so I think that's what I want.

After mucking about some more I installed vncjava and was able to get a VNC connection going on port 5800 + the X server connection (5800 + 1 = port 5801). After password verification I got a functional console window but no desktop or GUI.

Never got KDE Desktop Sharing to work.

david_ross 12-29-2004 02:55 PM

The best way to do desktop sharing is to install the XFree86 module that comes with RealVNC 4:
http://www.realvnc.com

chris319 12-29-2004 04:33 PM

Quote:

Originally posted by david_ross
The best way to do desktop sharing is to install the XFree86 module that comes with RealVNC 4:
http://www.realvnc.com

Will this work with any Java-enabled browser or do I need a special viewer program?


All times are GMT -5. The time now is 08:57 PM.