this post was submitted on 09 Mar 2025
4 points (100.0% liked)

Linux

51482 readers
255 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] testman@lemmy.ml 1 points 2 days ago (1 children)

StackOverflow says that it can be done by editing xrdp.ini:
https://askubuntu.com/questions/133343/how-do-i-set-up-xrdp-session-that-reuses-an-existing-session#360835

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 -1 points 2 days ago* (last edited 2 days 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