Install graphical interfaces for CentOS 6.4 and use VNC for remote connection

Source: Internet
Author: User
Tags windows remote desktop

Install graphical interfaces for CentOS 6.4 and use VNC for remote connection

Install graphical interfaces for CentOS 6.4 and use VNC for remote connection

1. Install the VNC service
# Yum install-y tigervnc-server
# Passwd // set the root user vnc remote connection password
# Service vncserver start

2. Modify the vnc service desktop configuration file
# Vi/root/. vnc/xstartup
Comment out the last line (twm &) in the open edit text, and add a line of gnome-session &. The final Modification result is:
# Twm &
Gnome-session &

3. Modify the vnc service configuration file
# Vi/etc/sysconfig/vncservers
Edit the last two lines of text, remove the annotator, and modify the content as follows:
VNCSERVERS = "1: root"
VNCSERVERARGS [3] = "-geometry 800x600-nolisten tcp-localhost"


4. Restart the vnc service.
# Service vncserver restart

5. Install X window System

# Yum groupinstall-y 'x Window System'

6. Install GNOME

# Yum groupinstall-y 'desktop'

7. Start GNOME

# Startx

8. Use VNC Client for remote connection

Enter ip: 1 in the connection address, for example, 127.0.0.1: 1.

VNC installation Configuration

Install and configure VNC in CentOS 6.3

In Linux, the dependency installation VNC is not detected.

CentOS6 VNC service installation and configuration

VNC remote control installation and Setup

Windows accesses Ubuntu through VNC

Install VNC for accessing Ubuntu 12.04 through Windows Remote Desktop

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.