Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-01-28 21:23:33

florian1
Member
Registered: 2025-01-28
Posts: 2
Windows 10Firefox 134.0

XRDP from Windows to Xubuntu

Hi all,
I try to establish a remote desktop connection from my Win11 to Xubuntu (24.04), but it fails.

First I start up mstsc on Windows, type in the IP of the Xubuntu machine and hit enter.
Then I am promted to login to Xubuntu. (Session = Xorg)
After providing the correct username and password, the remote desktop window turns black and closes.

Any idea on how I can resolve this issue?

Offline

#2 2025-01-28 22:33:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,717
LinuxFirefox 134.0

Re: XRDP from Windows to Xubuntu

Assuming you've got xrdp running on xubuntu. Can you confirm:

ps -ef | grep xrdp

Also, can you share the contents of the /etc/xrdp/xrdp.ini & /etc/xrdp/startwm.sh configuration files?

And finally:

sudo journalctl -b 0 | grep xrdp

...after a failed attempt.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-01-28 23:48:42

k3dAR
Member
From: Czech Republic
Registered: 2022-07-27
Posts: 58
LinuxChrome 132.0

Re: XRDP from Windows to Xubuntu

Tried with almost clean Xubuntu 24.04 in virtual, install xrdp, open Remmina on main system, and connect to it, same problem as you...
But found, xrdp need on local machine NOT be logged, so when i logout, then RDP conection work ;-)

Last edited by k3dAR (2025-01-28 23:49:51)

Offline

#4 2025-01-29 07:13:37

florian1
Member
Registered: 2025-01-28
Posts: 2
Windows 10Firefox 134.0

Re: XRDP from Windows to Xubuntu

So, I guess I have a quite similiar setup to k3dar. There is a proxmox hypervisor which runs xubuntu on top of it as a VM. The Win11 client is run on a notebook. Both are located in the same VLAN, so there is no firewall or other security enforcement point in between.

I can confirm the experience from the last post. In case you have an open connection to xubuntu (e.g. via "VM console") the rdp connection via xrdp fails. Once logged out from xubunto, the rdp session works fine.

However, is there an option where I can rdp into xubuntu, even though there is an established session?
Either via a simultanious session or if that is not possible, so that the first session is automatically disconnected?

Last edited by florian1 (2025-01-29 07:22:08)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 534.73 KiB (Peak: 535.58 KiB) ]