From: Tobias Nissen on
Hi!

I want to take over an existing X11-Session using RDP. I don't want to
do it with VNC because RDP is much faster. A nice side effect would be
that it is supported out of the box on Windows.

Looking at the man-page of xrdp it seems that the only way to do it is
to execute x11vnc (to take over the existing session) and then to use a
bridge with xrdp¹. Are there other ways to do it?

How does the bridging work in the first place? I couldn't find any
information about it in the manuals. `man xrdp` just mentions that
"[i]t can also be used as a VNC->RDP bridge", that's all.

OK, next question. If I manage to take over an existing X11-session
using this VNC->RDP-bridging approach, will I have the speed benefit I
am aiming at? Or will there by a negative impact of VNC speed-wise?

Thanks in advance!
Tobias

¹ Because the default mode of operation is that xrdp's session manager
kicks in and creates a new session, right?
http://xrdp.sourceforge.net/documents/asession/index.html
From: Joe Beanfish on
Tobias Nissen wrote:
> Hi!
>
> I want to take over an existing X11-Session using RDP. I don't want to
> do it with VNC because RDP is much faster. A nice side effect would be
> that it is supported out of the box on Windows.
>
> Looking at the man-page of xrdp it seems that the only way to do it is
> to execute x11vnc (to take over the existing session) and then to use a
> bridge with xrdp¹. Are there other ways to do it?
>
> How does the bridging work in the first place? I couldn't find any
> information about it in the manuals. `man xrdp` just mentions that
> "[i]t can also be used as a VNC->RDP bridge", that's all.
>
> OK, next question. If I manage to take over an existing X11-session
> using this VNC->RDP-bridging approach, will I have the speed benefit I
> am aiming at? Or will there by a negative impact of VNC speed-wise?
>
> Thanks in advance!
> Tobias
>
> ¹ Because the default mode of operation is that xrdp's session manager
> kicks in and creates a new session, right?
> http://xrdp.sourceforge.net/documents/asession/index.html

IIRC RDP has an option to connect to the "console" instead of making a
new desktop. Not sure though.

I wouldn't expect VNC RDP bridging to be better than VNC. RDP is fast
because it works at a higher level and can pass widget commands around.
Since X isn't locked into one widget set VNC has to work with the screen
buffer and pass raw image areas around.