Get the App
SLTechnology News&Howtos  ›  Servers  › 

Centos7 installs Xrdp remote Desktop Service

Shulou Source: shulou.com Published: 2022-06-02 06:32:37 11月16日 Update

Guided 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 installation 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" > ~ / .Xprinter [root@localhost ~] # chmod + x .Xprinter connects remotely on the client side

Summary

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

Original address of this article: https://www.linuxprobe.com/centos7-xrdp-remote-desktop.html

Tags: Desktop environment service system graphics client client server computer login selection command address mode interface face security experiment control management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Xiaomi Apple MariaDB vpn