How can I set up RDP between two Ubuntu desktops?
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
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
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.
Reply to this answer
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
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.
24 hour detour: I remember hearing about NoMachine but had forgotten it! Iโll look into it again.