Trying to remote from windows to the linux box. After entering username and password the rdp session disconnects and throws me out back to windows

1 Answer 1


Are you using the out-of-the-box configuration, or did you install and configure a RDP-compatible service, like xRDP?

RDP is a Microsoft protocol and isn't enabled on most (any?) Linux distributions that I'm aware of by default. If you would like to enable your Linux GUI desktop with access through RDP, I suggest following a guide like this one starting at Step 2. Or, you could try a separate remote desktop program like NoMachine. It's proprietary, but I think it works great if you really need it... fast performance, reliable, and easy to use!

I can't in good consciousness mention remote access to a Linux box without also asking, do you really need to interact with the GUI desktop? If simply having access to the command line is enough, then Windows 10, macOS, and Linux OS are already pre-loaded with a SSH client that you can use to connect.

And, if you want to get fancier and really leverage the 'nix experience, you could use a MS Windows implementation of an x11 client to connect. Check out xpra for a project that's been around for a long time, or MobaXterm for a complete suite of remote access tools for Windows that can even run as a portable application without any installation.

  • Ubuntu and Fedora 2022 (GNOME) come with RDP support out-of-the-box.
    – Chris
    Commented Jul 18, 2022 at 21:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.