centos graphical interface (VNC)

From the beginning:

This article introduces the installation method of centos graphical interface.

Later I found that there is a link tool under the command line, which is not very convenient to use. So if you want to install a firefox browser, then you need to install a graphical interface.

I originally wanted to use nomanchine (fast), but unfortunately it was updated to 4.0, the software on the server will not be installed, and there is no suitable tutorial on the Internet.

Consider using vnc. After reading a few tutorials, I managed to get it right, not very smooth. In the future, I will still consider nomachine, and I hope that students who have practiced will leave a message and communicate together. :)

 

1. Check whether VNC is installed on the Linux system. Enter the command in the terminal window:

rpm -q vnc-server

 

2. If it is not installed:

yum install vncvnc-server 

Then check whether it is installed, if not installed:

yum install -y tigervnc-server


3. Start the VNC service

vncserver

Enter the password twice.

 

4. Switch to the root account: su root and enter the password of the root account

vi /etc/sysconfig/vncservers  #vnc配置文件

Press i to enter edit mode

VNCSERVERS="1:root" 
# 桌面号:用户    监听 590* 端口,默认端口为 5901 VNCSERVERARGS[1]="-geometry 1200x800"

Press esc and enter: wq to save and exit

 

 

5. Restart the vnc service:

 

service vncserver restart 

 

Note that it may have been started at this time, not a failed start.

 

6. Download the vncviewer client.

Note the ip when connecting: ip: 1 

enter password

 

7.success 

But the speed is too slow, you must try nomachine when you have time.

There are not many tutorials in the latest version 4.0.

 

Reference link:

 Centos6 installs VNCServer to achieve graphical access

CentOS 6 VNC server installation

 

Published 245 original articles · Like 104 · Visits 690,000+

Guess you like

Origin blog.csdn.net/think_ycx/article/details/48110953