this post was submitted on 13 Jan 2026
13 points (93.3% liked)

Linux

61084 readers
763 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Hi,

I'm trying, without success so far, to initiate (or reconnect to an existing one) a remote desktop session (xfce here)

I've tried rustdesk, but this is sharing desktop[^1]

I've tried nomachine, but even if it's look like it can do Remote desktop[^2] I see the login screen, and screen of the active user :/ not the one I give crendential for...

Xrdp fail.. plain and simple..

Is that possible or am I dreaming ?

Thanks.

[^1]: an active user (in front of the computer) can share his desktop with someone remotly, both are seeing the same. Generally the all screen is sended to the remote user trough video compress.

[^2]: a remote user can connect this his desktop session held (or not) open on the server. A user sitting in front of the acced computer and the remote user, do not see the same ! like tty

top 7 comments
sorted by: hot top controversial new old
[–] skami@sh.itjust.works 4 points 4 days ago (1 children)

Maybe with Xpra you could do something like that

[–] SpongeB0B@programming.dev 3 points 4 days ago* (last edited 4 days ago)

Thank you @skami@sh.itjust.works
Xpra works ! tons of features, floss and Python 🐍 ! ❤

[–] qjkxbmwvz@startrek.website 2 points 4 days ago

VNC? You have your choice of servers, and clients are ubiquitous.

A big gotcha is that you need to be careful with encryption/security, as in classic UNIX style VNC does one thing (remote desktops). It's easy to forward over ssh though.

You can also use VNC to share, which is not what you want; this depends on the type of server/settings. But you can definitely create a new virtual X11 session and access it remotely.

[–] mvirts@lemmy.world 1 points 3 days ago

I think xvnc does this with vnc. If using gnome start gnome-remote-desktop with systemctl --user start gnome-remote-desktop then use grdctl to set it up (or the settings gui). I've had luck with rdp on a Wayland session this way.

[–] FrostyPolicy@suppo.fi 2 points 4 days ago

Xrdp won't work if there is already an active user session locally with the same user account that is trying to connect remotely.

[–] brickfrog@lemmy.dbzer0.com 2 points 4 days ago

Some ideas for the future

Xrdp fail… plain and simple…

Xrdp usually works fine, you should try to find any specific error messages or logs. Xrdp also runs a service so you could also see if the service itself is running or what it's status is (systemctl status xrdp).

For me Xrdp did fail when I initially tried to run it. I don't remember the exact error being produced but there was something wrong with the port number xrdp wanted to use.. in the end I had to stop the service, edit /etc/xrdp/xrdp.ini and set the port to a specific port number without using vsock. xrdp by default was set to use vsock ports which wasn't working for for me.

Sounds like you want something like X11 forwarding. I have never used it, but I believe it is proper remote desktop, not sharing.