Fedora XFCE Desktop & XRDP SetupConfigure a lightweight XFCE desktop environment and access your Fedora system remotely through RDP using XRDP. 1
Install the XFCE Desktop EnvironmentInstall the XFCE desktop environment on Fedora. XFCE provides a lightweight, responsive graphical desktop that is well suited for remote desktop sessions. sudo dnf install @xfce-desktop-environment -y 2
Install XRDPInstall XRDP together with the Xorg backend required for the graphical remote desktop session. sudo dnf install xrdp xorgxrdp -y sudo systemctl enable --now xrdp 3
Configure the XFCE SessionCreate an .xsession file for the user account that will be connecting through RDP. cat > /home/cotsios/.xsession <<'EOF' #!/bin/sh export XDG_CURRENT_DESKTOP=XFCE export XDG_SESSION_DESKTOP=xfce exec dbus-run-session -- xfce4-session EOF Set the correct ownership and permissions: chown cotsios:cotsios /home/cotsios/.xsession chmod 755 /home/cotsios/.xsession 4
Create the .Xclients FileConfigure the user's X client startup file to launch XFCE through a D-Bus session. cat > /home/cotsios/.Xclients <<'EOF' #!/bin/sh exec dbus-run-session -- xfce4-session EOF Set the appropriate ownership and permissions: chown cotsios:cotsios /home/cotsios/.Xclients chmod 755 /home/cotsios/.Xclients 5
Install the Whisker Application MenuInstall the Whisker Menu plugin to provide a more convenient application launcher for the XFCE desktop. sudo dnf install xfce4-whiskermenu-plugin -y 6
Restart XRDPRestart the XRDP service so the configuration changes take effect. sudo systemctl restart xrdp 7
Expose XRDP Through the Incus ContainerIf Fedora is running inside an Incus container, create a proxy device that forwards TCP port 3389 from the Incus host to the Fedora container.
incus config device add fedora44 rdp proxy \
listen=tcp:0.0.0.0:3389 \
connect=tcp:10.1.128.50:3389
Important: Make sure 10.1.128.50 is the correct IP address of the Fedora container before applying the proxy configuration.
Connect Using RDPFrom a Windows computer, open Remote Desktop Connection and connect to the IP address of the Incus host using port 3389. Add the Whisker MenuAfter connecting to the XFCE desktop, right-click the XFCE panel and select: Panel → Add New Items → Whisker Menu This adds the Whisker application menu to the XFCE panel and provides a convenient Windows-style application launcher. |
Fedora XFCE Desktop & XRDP SetupConfigure a lightweight XFCE desktop environment and access your Fedora system remotely through RDP using XRDP. 1
Install the XFCE Desktop EnvironmentInstall the XFCE desktop environment on Fedora. XFCE provides a lightweight, responsive graphical desktop that is well suited for remote desktop sessions. sudo dnf install @xfce-desktop-environment -y 2
Install XRDPInstall XRDP together with the Xorg backend required for the graphical remote desktop session. sudo dnf install xrdp xorgxrdp -y sudo systemctl enable --now xrdp 3
Configure the XFCE SessionCreate an .xsession file for the user account that will be connecting through RDP. cat > /home/cotsios/.xsession <<'EOF' #!/bin/sh export XDG_CURRENT_DESKTOP=XFCE export XDG_SESSION_DESKTOP=xfce exec dbus-run-session -- xfce4-session EOF Set the correct ownership and permissions: chown cotsios:cotsios /home/cotsios/.xsession chmod 755 /home/cotsios/.xsession 4
Create the .Xclients FileConfigure the user's X client startup file to launch XFCE through a D-Bus session. cat > /home/cotsios/.Xclients <<'EOF' #!/bin/sh exec dbus-run-session -- xfce4-session EOF Set the appropriate ownership and permissions: chown cotsios:cotsios /home/cotsios/.Xclients chmod 755 /home/cotsios/.Xclients 5
Install the Whisker Application MenuInstall the Whisker Menu plugin to provide a more convenient application launcher for the XFCE desktop. sudo dnf install xfce4-whiskermenu-plugin -y 6
Restart XRDPRestart the XRDP service so the configuration changes take effect. sudo systemctl restart xrdp 7
Expose XRDP Through the Incus ContainerIf Fedora is running inside an Incus container, create a proxy device that forwards TCP port 3389 from the Incus host to the Fedora container.
incus config device add fedora44 rdp proxy \
listen=tcp:0.0.0.0:3389 \
connect=tcp:10.1.128.50:3389
Important: Make sure 10.1.128.50 is the correct IP address of the Fedora container before applying the proxy configuration.
Connect Using RDPFrom a Windows computer, open Remote Desktop Connection and connect to the IP address of the Incus host using port 3389. Add the Whisker MenuAfter connecting to the XFCE desktop, right-click the XFCE panel and select: Panel → Add New Items → Whisker Menu This adds the Whisker application menu to the XFCE panel and provides a convenient Windows-style application launcher. |

Login