CentOS installation, using VNC

Source: Internet
Author: User

VNC (Virtual network computer) is an abbreviation for a computer that is virtualized. VNC is an excellent remote control tool software developed by the prestigious European Research Laboratory at T. VNC is a free, open source software based on UNIX and Linux operating systems that is powerful, efficient and practical, with performance comparable to any remote control software in Windows and Macs. I use VNC mainly to see how others operate, similar to Remote Desktop, we all landed VNC I can see his operations in real time on my landing interface. I can also operate. installationBy default, CentOS is not installed. (Check if rpm-q vnc vnc-serveris installed)
If the prompt is not installed, then start the installation and enter: Yum Install VNC vnc-server ( Yum Install tigervnc-server "This is in centos6.5 Setting up VNC1. Initial start of VNC $ when installation is completeVncserverSet VNC password: (I use VNCVNC here)
$ vncpasswd
Password: (#这里我输入的是vncvnc)
Verify: (#这里我输入的是vncvnc)
2.Configure Desktop Types$Vim ~/.vnc/xstartup
In general, the Linux desktops we use are "Gnome" desktops, modifying the last two lines. Switch
# xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
# TWM &
Gnome-session &
3. Configure login account, desktop resolution, connection mode
vim/etc/sysconfig/vncservers modify the last two linesvncservers= "1:root"
vncserverargs[1]= "-geometry 1024x768"
4. Configure the firewall to allow the VNC connection ( This step is not done because the firewall is not started ) if it is a cloud host, the firewall remember to open 5900-5903 port
The VNC server listens on the port starting from 5900, Display:1 listens 5901,display:2 listens 5902, and so on. The CentOS firewall default is not allowed to connect these ports, so you need to use the following steps to open the firewall (requires root permission):
Vim/etc/sysconfig/iptablesabove we only added a root account and desktop 1, so here according to the above rules, add a "5901" port number. -A input-m State--state new-m tcp-p TCP--dport 5901-j ACCEPTRestarting the firewallService iptables Restart
5. Setting up VNC auto-start# Chkconfig vncserver on
6. Close
Vncserver-kill:1 (Note that there is a space after kill)7. Start$service vncserver Start
8. Windows Client (VNC Viewer) Links:Http://pan.baidu.com/s/1dD2e2cDPassword: CMCV         The password is the VNC set password  
Reference:Http://www.centoscn.com/image-text/install/2014/0504/2905.htm L
Questions:Cloud Server is not a desktop system, landing is a black screen, can be installed by the following methodslog in to the system and install with Yum#yum groupinstall ' X Window System '-yInstalling the GNOME desktop environment #yum groupinstall ' GNOME Desktop environment '-y
centos6.5 installation is quite different# yum Groupinstall "desktop" "Desktop Platform" "Desktop Platform Development" "Chinese support [en]" # Vim/etc/inittab will Id:3:initdefault: Change to id:5:initdefault:# reboot
Reference:Http://www.jb51.net/os/RedHat/117151.html above, reference to Http://www.111cn.net/sys/CentOS/75983.htm (CentOS 6.5 Desktop Environment installation configuration steps) and http://jingyan.baidu.com/article/ca2d939dd1dabbeb6c31ce24.html (Linux Centos 6.5 installation desktop environment Gnome_ Baidu experience)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

CentOS installation, using VNC

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.