r/MXLinux • u/motorambler • Apr 20 '26
Help request How to enable RDP remote desktop access for LAN connection?
I just installed MX25 XFCE on a secondary PC. My main PC runs Fedora 43 Gnome and I have Remmina installed on this PC and want to connect to my MX25 desktop in my home network. How do I enable remote desktop access? I have looked through the countless settings options but have not found it. Connecting to my Windoze PC is easy by simply enabling Remote Desktop access, but I can't connect to my MX25 pc :(
UPDATE: I now have Fedora on both machines and everything works fine.
6
Upvotes
3
u/artfully_dejected Apr 20 '26
Do you have xrdp installed and port 3389 open on your firewall?
10
u/Time2dodo Apr 21 '26 edited Apr 21 '26
Hi, I think something is missing on the MX Linux config side for xRDP. I can't help from your Fedora side and will have to presume that everything is setup and working as it needs to be therefore. I have used the following a few times set up rdp into my MX Linux boxes that are also connected on my LAN (from my Win 11 machine - don't judge me, I have to have it).
I have just tested it again on a previously untouched MX Linux machine in the last few mins (any excuse for a tinker) and it worked for me. To be clear the following guide came from a source I cannot remember a while ago, so apologies to the creator if you are reading this as I cannot refer to you and thank you enough. I have just added to it to make it clearer for my simple brain.
Open terminal and cut and paste this >
sudo apt install xrdp xorgxrdp build-essential dpkg-dev libpulse-dev git autoconf libtool libltdl-dev automake
2. Edit the Xwrapper configuration.
Open terminal and cut and paste this >
sudo nano /etc/X11/Xwrapper.config
Change the line from console to anybody.
Save and exit the editor.
3. Configure UFW Firewall.
Allow traffic from a specific IP address to the XRDP port.
Open terminal and cut and paste this >
sudo ufw allow from <enter the ip of yout fedora machine>/24 to any port 3389
i.e sudo ufw allow from 192.168.1.46/24 to any port 3389
4. Restart XRDP Service.
Open terminal and cut and paste this >
sudo service xrdp restart
5. This last part (5) got me confused for a while (this is my addition) -
You must be logged off the current session on your MX Linux machine otherwise the connection will fail.
I went a little crazy trying to work this out the first time I tried setting it all up.
6. I have my MX Linux machines all with a static ip setup, and just enter the respective IP into my Win 11 rdp client when I need to connect to them.
I have had no issues with this setup for a while now.
Hope this helps.
MX Linux is taking over (my house).
3
u/wbiggs205 Apr 21 '26
look at rustdesk it free and works even on your phone
2
u/AggressiveGarage707 Apr 21 '26
if you want a nice 'snappy' experience I'd recomend sunshine (server) / moonlight (client), mostly used for gaming remotely, but works just as well for GUI stuff too.
1
u/Bulky_Somewhere_6082 Apr 21 '26
You don't need RDP to connect to your MX system - use 'ssh'. You might need to do a bit of configuration which is normal. This will give you terminal level access to the MX system. If you want to use a GUI app on the MX system and have the output on your Fedora system you can use 'ssh -X' which will forward all of the display data back to your Fedora system.
1
u/SleepingProcess Apr 22 '26
The only decent remote desktop performance I found (including, sound, microphone...) on Linux is to use NoMachine.
1
u/ZecProphet Apr 23 '26
Might try this:
# Flush existing rules
iptables -F
iptables -X
# Allow RDP traffic
iptables -A INPUT -p tcp --dport 3389 -j ACCEPT
# NAT to localhost (adjust if xrdp runs on a different port)
iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to-destination 127.0.0.1:3389
On the windows side, this link or this second instructions may help.