1. Install VNC server
yum -y install tigervnc-server
2. Add VNC user
su vncuser1
vncpasswd
3. Edit VNC config file
sudo vim /etc/sysconfig/vncservers
add the following lines:
VNCSERVERS="1:vncuser1 2:vncuser2 "
VNCSERVERARGS[1]="-geometry 1800x1200"
VNCSERVERARGS[1]="-geometry 1440x960"
4. Start VNC server
sudo service vncserver start
5. Enable firewall port 5901 by running config (Note editing iptable doesn't work on Fedora). Remember to add port 5902 for second user.
sudo system-config-firewall
6. Connect with VNC viewer (I use Mac version). Remember to add :1 after your IP address!
沒有留言:
張貼留言