- Install VNC with yum:
yum install vnc.i386 - Set an access password:
vncpasswd - Edit the servers:
vi /etc/sysconfig/vncservers
Uncomment last two lines. Set set the username and display number (I think you can find the next available display by runningvncserver) and deleting all of the params besides the display resolution on the second line.
It should look like:VNCSERVERS="3:root"VNCSERVERARGS[2]="-geometry 800x600" - Change the firewall settings to allow VNC access: (you have to be using iptables) edit iptables:
vi /etc/sysconfig/iptables, adding new lines for 580x and 590x, where x is the display number. (It should look like:-A INPUT -m state --state NEW -m tcp -p tcp --dport 5803 -j ACCEPT) - Start the server:
service vncserver start - If everything works, you should be able to access the server on a browser running java (like firefox) by browsing to http://servername:580x, where x is the display number.
Friday, December 26, 2008
VNC Server Installation
This morning I installed VNC with my dad on a Fedora Core 9 machine. This is what we did:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment