Re: Enabling VNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-10-18 at 20:08, Jeremy Conlin wrote:
> I just installed FC2 on a machine at home and would like to use VNC as 
> I only have one monitor and it needs to stay with the Windows machine 
> for my wife.  I ran the command 'vncserver' and then tried to connect 
> via both a client and through a web browser.  Both times the connection 
> was refused.  I suspect the problem is in the firewall, but I don't 
> have the slightest idea how to configure that.  Can anyone help me get 
> VNC to work?
> Thanks,
> Jeremy

There are a couple of things that could be a problem.

1. Make sure iptables is not blocking port 5901 (default port).  To do a
quick test just disable iptables temporarily by running the command:
service iptables stop

If this works then you will need to configure iptables to let port 5901
through.

2. vncserver is not running.  You need to make sure you have set a
password for vnc. If you have not vncserver will not run.  There is a
vncpasswd command.  You need to run that as the user you run vncserver
as. It will create a directory and some files under you home account. 
(set this up under a regular user account not root, you can use su to
get root permissions when needed)

3. If using the vncviewer from windows make sure you append :1 to the IP
address you use for the system you are connecting to.


-- 
Scot L. Harris
webid@xxxxxxxxxx

There seems no plan because it is all plan.
		-- C.S. Lewis 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux