Home > System Tutorial > LINUX > Steps to install and configure VNC server on CentOS 7

Steps to install and configure VNC server on CentOS 7

PHPz
Release: 2023-12-28 18:58:07
forward
945 people have browsed it

You need to use the remote desktop service of Linux. I have used xmanager before and it feels average. I will try VNC this time.

My operating system is CentOS7

1. Server

Install VNCServer

#yum -y install vnc *vnc-server*

set password

# vncserver

You will require a password to access your desktops.

Password: 123456           #Enter vnc connection password
Verify: 123456             #Confirm vnc password

xauth: creating new authority file /root/.Xauthority

New ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

Start service

Start a window, such as window No. 1

# vncserver :1

Out of service

[root@iZ23zjkwlj8Z ~]#vncserver -kill :1

Killing Xvnc process ID 1661

Install GNOME Desktop

Remember to restart vncserver after installation

#yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

2. Client

I am Windows, using the client http://www.realvnc.com/, download the VNC-Viewer for the corresponding platform

Enter IP: window number, ok login successful

It is said on the Internet that only by modifying vi /root/.vnc/xstartup can the gnome desktop be started. I have never encountered this situation.

After I installed gnome, I restarted vncserver and it was ready to use.

CentOS 7下安装配置 VNC Server的方法

CentOS 7下安装配置 VNC Server的方法

The above is the detailed content of Steps to install and configure VNC server on CentOS 7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template