RDP-How to install XRDP Server (Remote Desktop) Debian 10

From EN Ikoula wiki
Revision as of 16:43, 27 June 2021 by Ccunha64415 (talk | contribs)
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Desktop) Debian 10]] RDP-Comment installer XRDP Server (Remote Desktop) Debian 10


Introduction

Xrdp is an open-source implementation of Microsoft's Remote Desktop Protocol (RDP) that allows you to graphically control a remote system. With RDP, you can connect to the remote machine and create a real desktop session, just as if you had connected to a local machine.

Installation

Note: All actions are performed with root acces.
1) Update the services.

apt update

apt upgrade

2) Installation of the desktop environment (xfce-desktop)

Note: There are other environments that may be suitable for this installation.

apt install task-xfce-desktop

3) XRDP installation (Allow's you to connect to the remote machine (RDP))

apt install xrdp

4) Check the service status  (Active (Running))

systemctl status xrdp

Fichier:D-1.JPG

5)By default Xrdp uses the file /etc/ssl/private/ssl-cert-snakeoil.key which is only readable by users who are members of the "ssl-cert" group. 

Run the following command to add the xrdp user to the group.

adduser xrdp ssl-cert


It's done. Xrdp has been installed on your Debian system.

And now you can access your server from the Windows Remote Desktop.


600px

Firewall

Par défaut, Xrdp écoute sur le port 3389 sur toutes les interfaces. Si vous utilisez un pare-feu sur votre serveur Debian, ce que vous devriez toujours faire, vous devrez ajouter une règle qui permettra le trafic sur le port Xrdp.

Exemple pour (iptables)


iptables -t filter -A INPUT -p tcp --dport 3389 -j ACCEPT


Cloudstack

Sur Cloudstack veuillez bien créer une règle (Ingress Rule) pour le port:3389 sur votre INSTANCE en:

Sur l'interface Cloudstack https://cloudstack.ikoula.com/

Cliquer sur votre instance\Security Groups\Security Groups\Nom de votre security Group\Ingress Rule


600px

Conclusion



Cet article vous a semblé utile ?

0



You are not allowed to post comments.


Catégorie: Serveur dédié Catégorie:Serveur VPS Catégorie:Serveur dédié