Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure VNC Server in CentOS7

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to install VNC Server in CentOS 7. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

Need to use Linux remote desktop services, xmanager used before, feel general, this time try VNC.

My operating system is CentOS 7.

I. Server

Install VNCServer

#yum -y install vnc *vnc-server*

set a password

# vncserver

You will require a password to access your desktops.

Password: 123456 #Enter the 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 the service

Start a window, such as Window 1

# vncserver :1

stop 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"

II. 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

The Internet says that modifying vi /root/.vnc/xstartup can start gnome desktop. I have not encountered this situation.

I finished installing gnome, restart vncserver can be used.

Thank you for reading! About "CentOS7 how to install configuration VNC Server" this article is shared here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report