Summary enable VNC record for CentOS

Source: Internet
Author: User

Summary enable VNC record for CentOS

Before starting VNC, we need to know three points.

1. My current CentOS desktop version is

[Root @ localhost ~] # Gnome-panel -- version
Gnome gnome-panel created .1

2. vnc service

[Root @ localhost ~] # Rpm-qa | grep vnc
Vnc-server-4.1.2-14.el5_3.1

3. self-starting service settings

Chkconfig

Okay. Let's proceed step by step.

1. The current centos desktop version is

2. vnc service enabled

1) view the vnc version

2) Enable vnc and enter the connection password

# Vncserver

You will require a password to access your tops.

Password:
Verify:

Xauth: creating new authority file/root/. Xauthority

New 'localhost. localdomain: 1 (root) 'desktop is localhost. localdomain: 1

Here: 1 indicates that the following link is 5901, 2 is 5902, and recursive

3) Configure vnc

Twm &

Gnome-session &

Startkde &

Start twm desktop and GNOME desktop or KDE Desktop respectively

# Vi/root/. vnc/xstartup

Shield twm

And add gnome-session &

Then restart

[Root @ localhost ~] # Service vncserver restart
Shutting down VNC server: [OK]
Starting VNC server: no displays configured [OK]

3. self-starting service settings

Chkconfig -- level 2345 vncserver on

Chkconfig -- list | grep vncserver

------------ Chkconfig level ------------------------------

Level 0: Shutdown
Level 1: Single User Mode
Level 2: multi-user command line mode without network connection
Level 3: multi-user command line mode with network connection
Level 4: unavailable
Level 5: multi-user mode with graphic interface
Level 6: restart

-------------------------------------------------------

0: The system is down. The default running level cannot be set to 0. Otherwise, the system cannot start normally and the machine is down.

1: single-user working status, root permission, used for system maintenance, remote login is prohibited, just like login in safe mode in Windows.

2: multi-user status, not supported by NFS.

3: full multi-user mode with NFS. After logging on to the console, go to the command line mode.

4: The system is not used. It is generally not used for reservation. In some special cases, you can use it to do some things. For example, you can switch to this mode to make some settings when the battery of your laptop is exhausted.

5: On the X11 console, log on to the graphical GUI mode and use the XWindow system.

6: The system is shut down and restarted normally. The default running level cannot be set to 6. Otherwise, the system cannot be started normally. If you run init6, the system restarts.

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.