Desktop Environment : Configure Xrdp Server2024/11/04 |
Install Xrdp Server to connect to Fedora Desktop from the Windows Remote Desktop feature. |
|
[1] | Install and Start Xrdp Server. |
[root@dlp ~]#
[root@dlp ~]# dnf -y install xrdp tigervnc-server systemctl enable --now xrdp |
[2] | If Firewalld is running, allow RDP port. |
[root@dlp ~]# firewall-cmd --add-port=3389/tcp success [root@dlp ~]# firewall-cmd --runtime-to-permanent success |
[3] | Login as a user and configure Desktop session on Xrdp. |
[fedora@dlp ~]$
vi ~/startwm.sh # create new #!/bin/sh # GNOME # dbus-launch --exit-with-session /usr/bin/gnome-session # GNOME Classic # env GNOME_SHELL_SESSION_MODE=classic dbus-launch --exit-with-session /usr/bin/gnome-session # KDE dbus-launch --exit-with-session /usr/bin/startplasma-wayland # Cinnamon # dbus-launch --exit-with-session /usr/bin/cinnamon-session # Budgie # env GNOME_SHELL_SESSION_MODE=Budgie:GNOME dbus-launch --exit-with-session /usr/bin/budgie-desktop chmod 755 ~/startwm.sh
|
[4] | Connect from Windows clients. For example on Windows 11. Open Start Menu - [Windows Tool] - [Remote Desktop Connection] to start remote desktop app. |
[5] | Input the hostname or IP address you'd like to connect and push the [Connect] button. |
[6] | Answer with [Yes]. |
[7] | Input a user which is on Fedora OS to authenticate. |
[8] | If successfully passed authentication, RDP session starts like follows. |
Sponsored Link |