How to Install XRDP and Audio Redirection on Ubuntu Server 18

Introduction

This is a guide on how to install XRDP with Audio Redirection on Ubuntu Server 18.
 
  1. Log into Ubuntu 18 Server
  2. Install MATE Desktop Environment
  3. Install XRDP and Audio Redirection
  4. Open port 3389 on the firewall
  5. Test XRDP connection

1.Log into Ubuntu 18 Server

Please refer to https://portal.databasemart.com/kb/a237/how-to-ssh-to-linux-server.aspx to log into the Ubuntu server via SSH.
 
Please refer to https://portal.databasemart.com/kb/a604/how-to-access-linux-server-via-mac.aspx to log into the Ubuntu server from MAC.

2.Install MATE Desktop Environment 

To install the Mate-desktop environment, please issue the following commands in the terminal session
 
sudo apt install mate-core mate-desktop-environment mate-notification-daemon lightdm

3.Install XRDP and Audio Redirection

 
chmod +x xrdp-installer-1.2.1.sh
 
./xrdp-installer-1.2.1.sh -s
 
 
sudo reboot

4.Open port 3389 on the firewall

sudo ufw allow 3389/tcp

5.Test XRDP connection

Enter win+R on the keyboard and type "mstsc" to launch the Remote Desktop Connection application. Input your hostname or the server IP.
 
Input username "administrator" and the server password, then click "OK" to connect to the Ubuntu 18 server.
 
Now you are successfully logged in.
 

6.Done

Add Feedback