What’s the best way to maintain a private, persistent Linux desktop session over RDP?

0
0
Asked By MellowCedar42 On

I'm considering moving from Windows 11 to Linux and need reliable remote access to my workstation. On Windows, I can work through RDP, leave applications and unsaved files open, disconnect, and later reconnect to the same session. The physical monitor can remain locked or blank while I work remotely, so nobody at the office can see or interact with the desktop. I'd like the same behavior on Linux: one continuous GUI session that can be resumed from either the physical machine or a remote client, without mirroring the physical display as basic VNC or screen-sharing tools do. I'm familiar with persistent SSH sessions through tmux, but persistent graphical sessions are new to me. What modern Linux setup would best provide this, particularly with privacy and compatibility with Windows RDP clients in mind?

5 Answers

Answered By SilverKite_58 On

Xpra is worth considering if you do not need a complete remote desktop window. It keeps graphical applications running on the Linux machine after disconnecting and lets you reconnect later, either as individual forwarded windows or through a desktop session. It works over SSH, supports clients on multiple operating systems, and is generally more flexible than traditional VNC.

Answered By NimbleHarbor6 On

GNOME’s built-in remote desktop support can provide RDP access on Wayland, but it has important session-management limitations. On some systems, a remote headless session and an already-running physical console session cannot both be used interchangeably by the same user. If seamless switching between local and remote access is essential, an X11 desktop with xrdp or X2Go may currently be less frustrating.

Answered By OrbitingPanda7 On

For a separate, headless desktop session, xrdp with xorgxrdp is probably the most straightforward option. It creates an X11 desktop that is not attached to the physical monitor, so the office display can stay locked or off while you reconnect to the same session remotely. XFCE is often used because it is lightweight and works well with xrdp. The main limitation is that xrdp setups can have trouble when the same user already has an active local session, depending on the distribution and configuration.

Answered By CopperLynx31 On

SSH X11 forwarding is fine for launching a few individual applications, but it is not a great replacement for a persistent full desktop. It depends heavily on network latency and bandwidth, and applications can disappear when the connection or SSH session is not managed carefully. For a complete resumable workspace, use xrdp, X2Go, Xpra, or a similar session-oriented tool instead.

Answered By QuietMarble19 On

If you want to reconnect to the actual console session rather than start a separate desktop, look at NoMachine or a carefully configured VNC/x11vnc setup. These can blank or lock the physical display while the remote connection is active. A dummy HDMI plug can also make the graphics stack create a usable display when no monitor is connected, although this is still closer to controlling the console session than a true independent RDP login.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.