How can I set up RDP between two Ubuntu desktops?

April 14, 2025 4 answers
Asked by 24 hour detour
I've been using Linux since the 90s, mostly through the command line and as a server solution. Recently, I've started transitioning my workstations from Windows to Linux, focusing on Ubuntu. I've installed Ubuntu Desktop 22 on both a desktop and a laptop. Now, I'm looking to experiment with remote desktop capabilities. Specifically, I want to access my desktop from my laptop, with the goal of seeing the standard GUI login screen as if I were physically in front of it. Is there a guide or setup process someone could recommend? I've sifted through countless Google results and would love some straightforward advice. Thanks!

Answers

r3_matrix
Do you actually need a GUI login screen, or just want to run GUI apps? If it's the latter, you can use xhost to give your remote system access, SSH into the remote machine, set the DISPLAY variable to point to your local machine, and run the apps you need. Less fuss that way!
Reply to this answer
sap~flow4
I can't recommend NoMachine enough. It's completely free and probably the fastest remote desktop option Iโ€™ve tried. It also has multiple configuration options to suit your needs.

24 hour detour: I remember hearing about NoMachine but had forgotten it! Iโ€™ll look into it again.

Reply to this answer
swayback
If you want to go for a VNC solution, you could check out x0vncserver. Hereโ€™s a link for more info: [x0vncserver Documentation](https://manpages.debian.org/bookworm/tigervnc-scraping-server/x0vncserver.1.en.html.gz#DESCRIPTION).

24 hour detour: Iโ€™ll definitely check that out, thanks for the suggestion!

Reply to this answer
bracketless
You can set up remote desktop by installing an xrdp server on both machines. Once that's done, you should be able to RDP between them without any issues. Itโ€™s pretty straightforward!

24 hour detour: I tried that but encountered some problems. I might revisit it soon and see if I can sort it out.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions