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.

  • Corsair@programming.devOP
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    23 hours ago

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