How to Install Remote Desktop (Xrdp) on Ubuntu 18.04 | E2E Networks documentation (2024)

Introduction

Remote Desktop (Xrdp) is a free and open-source implementation of the Microsoft RDP server that enables operating systems other than Microsoft Windows to provide a fully functional RDP-compatible remote desktop experience.

This tutorial will explain to you how to install and configure the Xrdp on Ubuntu 18.04.

Prerequisite

  • Sudo access to your Ubuntu 18.04 server

Step 1: Log in to the server with Sudo access.

In order to install the Xrdp application, you need to login to the server with Sudo access to it.

# ssh username@your_server_ip

Step 2: Install XRDP Packages

After login, you can update your package list for upgrades for packages that need upgrading, as well as new packages that have just come to the repositories with below command

# sudo apt-get update

After updates, Run below command to install Xrdp on your server

# sudo apt-get install xrdp

Step 3: Install your preferred desktop environment

To install XFCE Please use below command

# sudo apt-get install xfce4

#Optional

# sudo apt-get install xfce4-terminal

(or)

To install MATE Please use below command

# sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon

Configurations to use prefered environment

After installation, configure XRDP to use XFCE environment with below command

# sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh

(Or)

if you installed MATE, Please use to the below command to MATE environment

# sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh

By default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file which is readable only by users that are members of the “ssl-cert” group. Execute the following command to add the xrdp user to the group

# sudo adduser xrdp ssl-cert

Step 4: Allow RDP port in Firewall

Post configuring, To connect with the RDP session you need to allow the port in firewall which by default is closed. Run the below command to open the port in Ubuntu 18.04

If you have enabled UFW, Use to the below command

# sudo ufw allow 3389/tcp

If Iptables is running on your server, Use below command

# sudo iptables -A INPUT -p tcp --dport 3389 -j ACCEPT# sudo netfilter-persistent save# sudo netfilter-persistent reload

Step 5: Restart the Xrdp application

Restart once the Xrdp application to make sure all the above changes are reflected.

# sudo /etc/init.d/xrdp restart

That’s it. You will now be able to connect to the server via RDP

Conclusion

You should now be able to connect to the server via Xrdp. If you are using Linux as your Local desktop you can connect to the server via Remmina. If you are using windows as a local desktop, Windows users have an RDP connection application by default on their machines. To find it search for “Remote Desktop Connection” from the start menu.

How to Install Remote Desktop (Xrdp) on Ubuntu 18.04 | E2E Networks  documentation (2024)
Top Articles
How to Make Money Selling Canva Templates - by The Side Blogger
15+ Best Money Making Fintech App Ideas For 2023
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
His Lost Lycan Luna Chapter 5
Jonathon Kinchen Net Worth
Shorthand: The Write Way to Speed Up Communication
877-668-5260 | 18776685260 - Robocaller Warning!
Dr Lisa Jones Dvm Married
123 Movies Black Adam
Fallout 4 Pipboy Upgrades
Progressbook Brunswick
New Mexico Craigslist Cars And Trucks - By Owner
Persona 4 Golden Taotie Fusion Calculator
Binghamton Ny Cars Craigslist
5 high school volleyball stars of the week: Sept. 17 edition
Willam Belli's Husband
Forum Phun Extra
Nhl Tankathon Mock Draft
Air Quality Index Endicott Ny
[PDF] PDF - Education Update - Free Download PDF
Sec Baseball Tournament Score
Surplus property Definition: 397 Samples | Law Insider
Reicks View Farms Grain Bids
Wiseloan Login
Wolfwalkers 123Movies
Ordensfrau: Der Tod ist die Geburt in ein Leben bei Gott
Craigs List Jax Fl
Kleinerer: in Sinntal | markt.de
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Human Unitec International Inc (HMNU) Stock Price History Chart & Technical Analysis Graph - TipRanks.com
Capital Hall 6 Base Layout
1987 Monte Carlo Ss For Sale Craigslist
2008 Chevrolet Corvette for sale - Houston, TX - craigslist
Aliciabibs
Skyrim:Elder Knowledge - The Unofficial Elder Scrolls Pages (UESP)
10 games with New Game Plus modes so good you simply have to play them twice
Michael Jordan: A timeline of the NBA legend
One Main Branch Locator
Flags Half Staff Today Wisconsin
Sept Month Weather
Ferguson Employee Pipeline
Jack In The Box Menu 2022
Wunderground Orlando
Shoecarnival Com Careers
Busted Newspaper Mcpherson Kansas
Walgreens On Secor And Alexis
Arcanis Secret Santa
Identogo Manahawkin
Diamond Desires Nyc
18443168434
Blippi Park Carlsbad
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 6262

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.