LinuxVNC Server Configuration

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.