Install and configure VNC in CentOS 6.3

Source: Internet
Author: User

CentOS 6.3 installation and configuration of VNC for friends who are used to WIN the system, it is too uncomfortable to use Linux without a graphical operation interface. In fact, Linux also has a graphical operation interface, which is VNC. Roy will show you how to use the VNC graphic operation interface. 1. Install GNOME Desktop Environment [root @ tanvps ~] # Yum-y groupinstall "GNOME Desktop Environment" 2. Install the KDE Desktop Environment [root @ tanvps ~] # Yum groupinstall "X Window System" "KDE (K Desktop Environment)" 3. Install the VNC Server [root @ tanvps ~] # Yum-y install vnc-serverLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirror-fpt-telecom.fpt.net * extras: mirror-fpt-telecom.fpt.net * updates: mirror-fpt-telecom.fpt.netSetting up Install ProcessResolving Dependencies-> Running transaction check-> Package tigervnc-server.i686 0:1. 0.90-0.17.20110314svn4359.el6 will be installed-> Fini Shed Dependency ResolutionDependencies Resolved ================================== ========================================================== ===== Package Arch Version RepositorySize ================================ ========================================================== ========= Installing: tigervnc-server i686 1.0.90-0.17.20110314svn4359.el6 base 1.1 MTransaction Summary ==================== ====================================== ====================== Install 1 Package (s) Total download size: 1.1 MInstalled size: 2.9 MDownloading Packages: tigervnc-server-1.0.90-0.17.20110314svn4359.el6.i686.rpm | 1.1 MB 00: 02 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYRetrieving key from file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Importing GPG key 0xC105B9DE: Userid: CentOS-6 Key (CentOS 6 Official Signing K Ey) Installed: tigervnc-server.i686. 0.90-0.17.20110314svn4359.el6Complete! [Root @ tanvps ~] #4. Configure VNC [root @ tanvps ~] # Su-jackiebui [jackiebui @ tanvps ~] # VncpasswdPassword: ****** verify: ******* [jackiebui @ tanvps ~] # Ls. vnc/5. Edit the VNC configuration file [root @ tanvps ~] # Vi/etc/sysconfig/vncservers # The VNCSERVERS variable is a list of display: user pairs. # Uncomment the lines below to start a VNC server on display: 2 # as my 'myusername' (adjust this to your own ). you will also # need to set a VNC password; run 'man vncpasswd' to see how # to do that. # do not run this service if your local area network is # untrusted! For a secure way of using VNC, see this URL: # http://kbase.redhat.com/faq/docs/DOC-7028# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP. # Use "-localhost" to prevent remote VNC clients connecting using t when # doing so through a secure tunnel. see the "-via" option in the # 'man vncviewer 'manual page. VNCSERVERS = "1: jackiebui" // Uncomment 2 last lines, and edit your VNC userV NCSERVERARGS [2] = "-geometry 800 × 600-nolisten tcp-localhost" // Save and exit start VNC [root @ tanvps ~] # Vncserver [root @ tanvps ~] # Chkconfig vncserver on // set to start upon startup

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.