VNCServer configuration in CentOS6.4

Source: Internet
Author: User
In CentOS6.4, the simplest VNCServer configuration environment is CentOS6.4Final. all components except KDE are installed on the desktop. 1. the installation service yuminstalltigervnc-server name is a bit strange, centOS5 called vnc-server2, run and set the password vncserver: 1 enter the password... in CentOS 6.4, the VNC Server configuration environment is CentOS Final. all components except KDE are installed on the desktop. 1. the installation service yum install tigervnc-server name is a bit strange, centOS5 is called vnc-server 2. run and set the password vncserver: 1. enter the password to generate the relevant file xauth: creating new authority file/root /. xauthority New 'centos6-244: 1 (root) 'desktop is centos6-244: 1 Starting applications specified in/root /. vnc/xstartup Log file is/root /. vnc/centos6-244: 1.log 3. configure User vim/etc/sysconfig/vncservers add the last line: VNCSERVERS = "1: root" multiple users are separated by spaces, first, su-to the user to run vncserver: n to set the configuration file and password 4. practical command usage: vncserver [: ] [-Name ] [-Depth ] [-Geometry X ] [-Pixelformat rgbNNN | bgrNNN] [-fp] [-fg] ... Vncserver-kill Vncserver-list vncserver [: n] vncserver-list shows several running vncserver-kill: n kills the number of x-display vncpasswd to change the password. 5. service management service vncserver restart. Other usage:/etc/init. d/vncserver {start | stop | restart | try-restart | status | force-reload} chkconfig vncserver on (chkconfig -- level 35 vncserver on) 6. connect the client to CentOS: use TigerVNC Viewer connection ip: 1 Windows: use Real VNC Viewer connection ip: 1 enter password to access

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.