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.

  • @ikidd
    link
    English
    410 hours ago

    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.

    • @[email protected]OP
      link
      fedilink
      English
      0
      edit-2
      18 hours ago

      Thanks @[email protected]

      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
      [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