Computing.Net > Forums > Linux > Vnc server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Vnc server

Reply to Message Icon

Name: Miles Saunders
Date: September 30, 2004 at 08:15:04 Pacific
OS: Fedora Core 2
CPU/Ram: P3 350Mhz//128Mb
Comment:

Hi,

I have installed and have running the VNC SERVER on my Linux machine here. Now i have another WINDOWS machine on the network running VNC VIEWER, and when i type my LINUX machines IP into that it comes up CONNECTION REFUSED.

Could this be to do with the LInux Firewall?
If so how do i disable or allow VNC through the firewall??


Thanks,
Miles



Sponsored Link
Ads by Google

Response Number 1
Name: Deputy DooDah
Date: September 30, 2004 at 22:42:53 Pacific
Reply:

Linux handles the VNC server a little differently.

Assume you have VNC server running on a windows box. To connect to it, you would only have to enter the IP address then the password.

On a Linux box, the VNC server assigns a desktop number as well. So you have to enter the IP address along with the desktop number, then the password.
This means you can have several instances of vncserver running. The first time you start vncserver, it uses desktop number one. Start it again and it makes desktop #2 available and so on.

So let's assume the IP of your Linux vnc server is 192.168.123.1. To connect to it from a windows box, you have to enter 192.168.123.1:1 where :1
is the desktop number.

Likewise to stop a vnc session, you have to specify which desktop number to stop. For example, the command:

vncserver -kill:2

will stop session number 2.

I hope this is what you were looking for.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Vnc server

vnc server setup www.computing.net/answers/linux/vnc-server-setup/20306.html

setting up vnc server on RHEL WS 3 www.computing.net/answers/linux/setting-up-vnc-server-on-rhel-ws-3/26815.html

VNC Server www.computing.net/answers/linux/vnc-server/18174.html