how keep the same xfce4 session with xrdp ?
from Corsair@programming.dev to linux@lemmy.ml on 09 Mar 10:04
https://programming.dev/post/26608921

Hi,

I’ve installed xrdp on Devuan(debian with sysvinit)

when I connect from other machine (linux, windows) with rdp, I get a fresh new desktop (even the wallpaper is the default one) and none of the opened windows on the server (same account) is displayed on the remote client.

Is it the nature of the rdp protocol or is it possible to reconnect to the same xfce session ?

Thanks.

#linux

threaded - newest

testman@lemmy.ml on 09 Mar 10:20 next collapse

StackOverflow says that it can be done by editing xrdp.ini:
askubuntu.com/…/how-do-i-set-up-xrdp-session-that…

Is there a specific reason for choosing RDP?
VNC is the most common protocol in Linux. And RustDesk is also a good, more advanced alternative.

Corsair@programming.dev on 09 Mar 16:49 next collapse

Thanks @testman@lemmy.ml

StackOverflow says that it can be done by editing xrdp.ini

This post date from 2013 O_o

default **/etc/xrdp/xrdp.ini** in my version

ini [Xorg] name=Xorg lib=libxup.so username=ask password=ask ip=127.0.0.1 port=-1 code=20 [Xvnc] name=Xvnc lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=-1 [vnc-any] name=vnc-any lib=libvnc.so ip=ask port=ask5900 username=na password=ask [neutrinordp-any] name=neutrinordp-any lib=libxrdpneutrinordp.so ip=ask port=ask3389 username=ask password=ask

so I don’t have [xrdp1]

   

To summarize:

Edit the xrdp.ini file set port = ask connect from the remote machine, and at login if you have no existing session, specify port -1 to resume a session enter the default of 5910

I believe this i working if the previous session was already made remotely… ?otherwise how I get the port of the local X session ?

   

Is there a specific reason for choosing RDP?\

rdp is usefull if you have windows client client, but that it’s.

   

And RustDesk is also a good, more advanced alternative.

great piece of software, but too heavy in my case, I want something simple, that just do one thing good. I don’t need

  • End-to-end encryption
  • File transfer
  • Chat features
magguzu@lemmy.ml on 09 Mar 17:53 collapse

VNC is sloooooow and RDP is actually usable since it renders with vectors.

ikidd@lemmy.world on 10 Mar 00:12 collapse

You’re getting another X11 session instead of the console session.

IIRC, you can set up X11vnc on the system and connect it to the :0 display, then direct xrdp to use x11vnc as the backend. Then when you connect, it grabs that vnc session and translates it to rdp protocol. I’m not sure if that’s still viable.