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 remote Desktop Service in Centos7 system

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shows you how to install remote desktop services in Centos7 system. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Xrdp is an open source implementation of the Microsoft remote Desktop Protocol (RDP) that allows you to control remote systems graphically. With RDP, you can log in to a remote computer and create a real desktop session, just as you log in to a local computer.

System environment

Server: Centos7.7 Minimal

Client: Windows10

Install the desktop environment

The system installed in this lab does not have a desktop environment installed, so we need to install it ourselves. Skip this step if you have already installed the desktop. Centos7 provides "Cinnamon Desktop", "MATE Desktop", "GNOME Desktop", "KDE Plasma Workspaces", "LXQt Desktop", "Xfce" for our installation.

The following command lists the available environment groups:

[root@localhost ~] # yum grouplistLoaded plugins: fastestmirrorThere is no installed groups file.Maybe run: yum groups mark convert (see man yum) Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * epel: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comAvailable Environment Groups: Minimal Install Compute Node Infrastructure Server File and Print Server Cinnamon Desktop MATE Desktop Basic Web Server Virtualization Host Server with GUI GNOME Desktop KDE Plasma Workspaces Development and Creative WorkstationAvailable Groups: Cinnamon Compatibility Libraries Console Internet Tools Development Tools Educational Software Electronic Lab Fedora Packager General Purpose Desktop Graphical Administration Tools Haskell LXQt Desktop Legacy UNIX Compatibility MATE Milkymist Scientific Support Security Tools Smart Card Support System Administration Tools System Management TurboGears application framework XfceDone

We can choose the desktop environment we like, and choose to install the Xfce desktop here:

[root@localhost] # yum-y install epel-release & & yum groupinstall Xfce

Install Xrdp

[root@localhost ~] # yum-y install xrdp

After the installation is complete, set up boot and start xrdp

[root@localhost] # systemctl start xrdp & & systemctl enable xrdp

Create ~ / .Xdesktop and set the xfce4 desktop to start by default

[root@localhost ~] # echo "xfce4-session" > ~ / .Xray [root@localhost ~] # chmod + x .Xray

Connect remotely on the client

Summary

Installing the Xrdp server allows you to manage the CentOS 7 server locally through a graphical interface.

The above is how to install remote desktop service in Centos7 system. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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