Install KDE/gnome + VNC in centos to implement remote graphical interface management

Source: Internet
Author: User
Tags vps

When using Linux VPs, many people are not used to managing servers through SSH command lines. people prefer to remotely use images like remote desktop in windows.ProgramHowever, such a program does not exist in Linux.
There must be some solutions. There is a software called VNC that can achieve remote graphic management!
The following describes how to install the KDE or GNOME desktop environment and VNC! You only need to run the following command on SSH:CodeYou can!
Test environment: burstnet VPs 512 m
Note: VNC requires MB or more memory!

1. Install KDE

Yum install kdepim

Or install gnome (MB or more memory can be installed on both)

Yum groupinstall gnome-Desktop
Yum install gnome-session

Gnome is recommended for memory usage!

Run again

Yum groupinstall "X Window System" "GNOME desktop environment" "KDE (K desktop environment )"

2. Install VNC

Yum-y install VNC-server Firefox x11-xorg
Yum-y install fonts-Chinese

3. Configure and run the following code:

Vncserver

After running, you will be prompted to set the password. You need to enter the password twice. After setting your password, the program will create a. VNC Directory, which is usually/root/. VNC
Kill the VNC process and delete the temporary sockets.

Pkill-9 VNC
Rm-RF/tmp/. X1 *

Edit/root/. VNC/xstartup. In VI, press a to edit. ESC to exit the edit mode. After WQ is saved, exit!

VI/root/. VNC/xstartup

Will not use Vi? See Common VI commands.
In the last line, set TWM
Change KDE to startkde.
Change gnome to gnome-session.

4. Restart vncserver

Vncserver

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.