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

Опубликовано: 04 Октябрь 2024
на канале: 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


Смотрите видео [2024] YOU CAN - How to Install and Configure XRDP on Ubuntu Desktop онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Francis Techworld 04 Октябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 102 раз и оно понравилось 3 людям.