Article Title: LinuxVNC server configuration. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Operating System: Fedora 11 or redhat server 5
Detailed steps for exclusive launch
1,
Rpm-qa | grep vnc
You can find
Vnc-1.0.0-2.fc11.i586
Vnc-server-1.0.0-2.fc11.i586
2,
Env
Suppose you can find the HOME =/home/user
3,
Ifconfig
Suppose ip = 192.168.119.131
4,
Vncserver: 10
Command to create a user and enable 10 as a terminal
5,
Vi/home/user/. vnc/xstartup
Modify the last row tmp & to gnome &
6. root permission
Change vi/etc/sysconfig/vncservers
VNCSERVERS = "10: user"
VNCSERVERARGS [10] = "-geometry 800x600"
7. root permission
Modify firewall vi/etc/sysconfig/iptables to add
-A input-m state -- state NEW-m tcp-p tcp -- dport 5910-j ACCEPT
-A input-m state -- state NEW-m udp-p udp -- dport 5910-j ACCEPT
8. Modify selinux
Vi/etc/selinux/config
SELINUX = disabed
9. root
Service xinetd restart
Service iptables restart
Chkconfig -- level 345 vncserver on // auto start upon startup
Service vncserver restart
Now the server has started
On other computers
Ping 192.169.119.131 OK
Install vncviewer
Enter 192.168.119.131: 5910
Congratulations!