[2024] YOU CAN - How to Install and Configure XRDP on Ubuntu Desktop

Published: 04 October 2024
on channel: Francis Techworld
102
3

Learn how to install and configure XRDP on your Ubuntu Desktop to enable remote desktop access. This step-by-step tutorial covers everything from updating your package list to setting up the GNOME desktop environment and configuring firewall settings. Follow along to get your remote desktop up and running smoothly!

Commands covered:

Update package list
Install XRDP
Check XRDP status
Add XRDP user to ssl-cert group
Allow XRDP through the firewall
Install GNOME desktop environment
Restart XRDP services
Configure startwm.sh for GNOME session
Reload systemd manager configuration
Set default target to multi-user
Reboot the system
Don’t forget to like, share, and subscribe for more tutorials!"

Hashtags: #Ubuntu #XRDP #RemoteDesktop

Install XRDP
sudo apt install xrdp -y

Check XRDP status
sudo systemctl status xrdp

Add XRDP user to ssl-cert group
sudo adduser xrdp ssl-cert

Allow XRDP through the firewall
sudo ufw allow 3389/tcp

Install GNOME desktop environment
sudo apt install ubuntu-gnome-desktop -y

Restart XRDP services
sudo systemctl restart xrdp
sudo systemctl restart xrdp-sesman

sudo nano /etc/xrdp/startwm.sh


#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi

Start GNOME session
gnome-session

if test -r /etc/profile; then
. /etc/profile
fi

if test -r ~/.profile; then
. ~/.profile
fi

test -x /etc/X11/Xsession && exec /etc/X11/Xsession
exec /bin/sh /etc/X11/Xsession


Reload systemd manager configuration
sudo systemctl daemon-reload

Restart XRDP services
sudo systemctl restart xrdp
sudo systemctl restart xrdp-sesman

Set default target to multi-user
sudo systemctl set-default multi-user.target

Reboot the system
sudo reboot


Watch video [2024] YOU CAN - How to Install and Configure XRDP on Ubuntu Desktop online without registration, duration hours minute second in high quality. This video was added by user Francis Techworld 04 October 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 102 once and liked it 3 people.