CentOS 5.11 Open VNC Access

Source: Internet
Author: User

Because in some cases, you need to use a desktop environment for Linux, such as the installation and configuration of Oracle requires a graphical interface.

By default, we have installed the GNOME desktop environment

Yum-y Install Vncserver

Configure Vncserver, New in/etc/sysconfig/vncserver

vncservers= "1:root" vncserverargs[1]= "-geometry 1024x768-alwaysshared-depth 24"

Configure the VNC connection password

vncpasswd


Setting up VNC initialization

Vncserver

Then configure

Vim. Vnc/xstartup

#twm & #注释这样

Gnome-session & #新增这样


By default TWM is a very small graphical interface that is completely out of line with our operational needs

Then start the service

Service Vncserver Start;chkconfig Vncserver on

This article is from "Maple Night" blog, please be sure to keep this source http://fengwan.blog.51cto.com/508652/1726775

CentOS 5.11 Open VNC Access

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.