CENTOS-6.5X64:VNC installation Configuration

Source: Internet
Author: User

1, before installing the software first check whether the system has installed the software: Rpm-qa tigervnc-server

2, according to the query of the previous command, the display system is still not installed VNC server-side software, then we will use the command to install: Yum Install tigervnc-server-y

3, the first server side needs to run Level 5 graphical interface. You can make the command query: RunLevel

4, use the Vncserver command to configure the VNC remote use password: vncserver

5. Edit VNC to start the GUI file vim/root/.vnc/xstartup the last line Twm & this comment off, then add a line of content Gnome-session & then save exit (: Wq)

6, re-edit vnc another configuration file vim/etc/sysconfig/vncservers modify the last two lines as follows vncservers= "1:root 2:root" #VNCSERVERARGS [2]=]-geometry 800x600-nolisten tcp-localhost "vncserverargs[1]="-geometry 1366x768 "vncserverargs[2]="-geometry 1366x768 "then save exit (: Wq

7. Automatically starts with the system Chkconfig--level 345 vncserver on

8. Firewall Settings View VNC listening port Netstat-ntupl|grep vnc modify vim/etc/sysconfig/iptables copy 22 port One line, paste two lines change port (5901, 5902)

9. Restart Firewall Services service iptables restart

CENTOS-6.5X64:VNC installation Configuration

Related Article

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.