Desktop Environment : Configure Xrdp Server2024/05/07 |
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 # MATE # dbus-launch --exit-with-session /usr/bin/mate-session # Xfce # dbus-launch --exit-with-session /usr/bin/startxfce4 # LXDE # dbus-launch --exit-with-session /usr/bin/startlxde # LXQt # dbus-launch --exit-with-session /usr/bin/startlxqt # Budgie # env GNOME_SHELL_SESSION_MODE=Budgie:GNOME dbus-launch --exit-with-session /usr/bin/budgie-desktop # Sugar # dbus-launch --exit-with-session /usr/bin/sugar 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 |
|