plasma 6 and xrdp

hw hw at adminart.net
Fri Mar 1 16:20:38 GMT 2024


On Fri, 2024-03-01 at 15:14 +0100, René J.V. Bertin wrote:
> On Friday March 01 2024 12:16:19 hw wrote:
> 
> > With xrdp, you can connect with a RDP client just fine if so
> > configured
> 
> Connect with an RDP client to what? An MSWin Pro machine?

You can connect with an rdp client to an xrdp server just fine.  IIRC
you can configure the server to allow rdp, vnc and X11.

> Last time I tried to use RDP to connect to a running X11 session I
> got a VNC equivalent that didn't look any better than what I get
> with TightVNC's x0vncserver, plus it actually reconfigured the host
> session resolution, so that was that :D

Yeah, use rpd instead.  Unfortunately, you can't seem to change the
resolution when logging into a Gnome or a Wayland or X11 session from
remote like you can with Windows.  Once you're connected, it's too
late to change it.  I would think that at least Wayland would support
that --- but you can't even see what's on other displays when the host
has multiple displays in use (or at least I don't know how I could).

> > Does that also mean that Fedora will compile everything in such a way
> > that X11 support is entirely omitted?  Is that even possible?
> 
> AFAIK not for anything that requires GTK2, or that uses a Tcl/Tk UI.

Oh I mean only KDE and whatever else uses QT.  And doesn't Gnome use
gtk4 or something?

> Omitting X11 support entirely also means a distro-level decision
> that remote connections can only be done over RDP or VNC. That
> sounds like it'd require a lot more set-up effort than simply
> enabling SSH and using X11 forwarding.

Well, with Gnome it's no more effort than clicking on two buttons or
so in the settings before someone can connect with an rdp client from
remote.

The only problem is that a user must be logged in and must enable the
so-called desktop sharing before anyone can connect from remote.

This feature seems to be entirely missing in KDEs settings.

> > In any case, it looks as if sooner or later there will be no more X11
> > but only Wayland.  And I wonder what the replacement for xrdp will be.
> 
> I think you'd have to look at Freedesktop's intentions with XOrg,
> which may be a little less fatalistic than what distros plan to do
> with it. For one, Wayland is very Linux-centric, so there has to be
> incentives from other platforms using X11 to keep the server
> alive. Which may of course mean just that, fixing bugs and security
> issues, but more than that isn't really needed, is it?

That other platforms may keep Xorg alive doesn't mean that it would
still work with Linux.  Can you even install the NVIDIA driver on
another platform like FreeBSD just like that?  Will the drivers
continue to support Xorg on Linux and/or on other platforms when
Wayland has replaced it?

What about adding new features to Xorg?

> As to xrdp: it relies on a protocol that is not X11-specific
> itself. KDE for instance has krdc, which uses FreeRDP behind the
> scenes (the binary, from what I understand) to provide RDP
> connections in a Qt shell. I've used that application on my Mac,
> which means using neither X11 nor Wayland to display a remote
> desktop.

It's a good thing that you do not need to rely on X11.  Rdp is
available even on Windows.  X11 forwarding is the worst option.

Krdc isn't too great, and how do you allow someone to join your KDE
session from remote?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: This is a digitally signed message part
URL: <http://mail.kde.org/pipermail/kde/attachments/20240301/d139d2e9/attachment.sig>


More information about the kde mailing list