xrdp doesn't work on Mint 19

Questions about applications and software
Forum rules
Before you post please read how to get help
pbaumann
Level 1
Level 1
Posts: 3
Joined: Wed Jul 04, 2018 11:40 am

xrdp doesn't work on Mint 19

Post by pbaumann »

Hi,

After installing Tara (Mate Desktop) from scratch I tried to get xrdp working, but without success.

Installing (apt install xrdp) worked, the xrdp service is up an running, but connecting via rdp leads to an empty window. What's missing?

Best wishes
Paul

DJones9204
Level 1
Level 1
Posts: 2
Joined: Tue Jul 10, 2018 8:09 am

Re: xrdp doesn't work on Mint 19

Post by DJones9204 »

I was having the exact same problem.

When an xrdp connection initiates, it generates a file in your home directory named, for example: .xorgxrdp.XXXX.log, where XXXX is a number.

The specific error line was: (EE) Unable to locate/open config file: "xrdp/xorg.conf"

So, the solution was to install the package xorgxrdp from apt, i.e. "sudo apt install xorgxrdp"

Took me a long time to figure this out. Hope it works for you.

Dan

pbaumann
Level 1
Level 1
Posts: 3
Joined: Wed Jul 04, 2018 11:40 am

Re: xrdp doesn't work on Mint 19

Post by pbaumann »

Hi,

Thanks, after installing xorgxrdp I was able to connect to mate desktop.

BUT A connection could only be enabled if no one is connected on the host. If you disconnect (no logoff) your xrdp session you can't connect to the Desktop on the host again (Could not acquire name on session bus). It seems that only one session can be active.
After reconnecting to the xrdp session and logging out, the taskbar on the host was missing. I had to restart the session (alt+ctrl+backspace).

While xrdp worked very well on Mint 18, it doesn't work well Mint 19. That's a drawback of Mint 19 (I belive it's rather Ubuntu than Mint who's to blame).

Best wishes
Paul

PS: Just found out: To have more than one Mate session active you have to create a new .xsession file.

Code: Select all

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS mate-session>~/.xsession

DJones9204
Level 1
Level 1
Posts: 2
Joined: Tue Jul 10, 2018 8:09 am

Re: xrdp doesn't work on Mint 19

Post by DJones9204 »

Glad things are working better for you now! Linux is great, but at times it forces you to dig deep into problems...

Capinha413
Level 1
Level 1
Posts: 1
Joined: Tue Jul 17, 2018 5:19 pm

Re: xrdp doesn't work on Mint 19

Post by Capinha413 »

I have the problem in Linux Mint 19 xfce. First I installed via "sudo apt xrdp xorgxrdp"
Can explain with a tutorial?

Thanks.

Valeriy_tc
Level 1
Level 1
Posts: 1
Joined: Fri Jul 20, 2018 7:30 am

Re: xrdp doesn't work on Mint 19

Post by Valeriy_tc »

Capinha413 wrote:
Tue Jul 17, 2018 5:43 pm
I have the problem in Linux Mint 19 xfce. First I installed via "sudo apt xrdp xorgxrdp"
Can explain with a tutorial?

Thanks.
Install:

Code: Select all

sudo apt-get update

sudo apt install xrdp xorgxrdp
sudo apt install -y freerdp-x11

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession

sudo reboot
Test:

Code: Select all

xfreerdp /v:127.0.0.1
enjoy :)

jang1a
Level 1
Level 1
Posts: 7
Joined: Thu Aug 14, 2008 11:34 pm

Re: xrdp doesn't work on Mint 19

Post by jang1a »

Hi. I followed the instructions to here, also using xfce. When I rdp into the VM, I sign in, and get a black screen.

wh243s
Level 1
Level 1
Posts: 2
Joined: Tue Aug 14, 2018 5:13 am

Re: xrdp doesn't work on Mint 19

Post by wh243s »

It works for me.

I tried it on Cinnamon first but it did not work.

It works perfectly on Xfce.

Thanks.

wh243s
Level 1
Level 1
Posts: 2
Joined: Tue Aug 14, 2018 5:13 am

Re: rdp remote desktop doesn't work on Mint 19

Post by wh243s »

It woks well both on mate and xfce but not on cinnamon.

Any suggestion to make it work on Cinnamon?

easylm
Level 1
Level 1
Posts: 3
Joined: Fri Nov 09, 2018 6:16 am

Re: xrdp doesn't work on Mint 19

Post by easylm »

Valeriy_tc wrote:
Fri Jul 20, 2018 7:38 am

Install:

Code: Select all

sudo apt-get update

sudo apt install xrdp xorgxrdp
sudo apt install -y freerdp-x11

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession

sudo reboot
Test:

Code: Select all

xfreerdp /v:127.0.0.1
enjoy :)
Hi,
this is not working for me...
I installed LM using linuxmint-19-mate-64bit-v2.iso
LinuxMint 19 (tara)
Gnome 3.28.2
Kernel 4.15.0-38-generic
Xorg 1.19.6 (25 October 2018 04:11:27PM)
when I try to login

Code: Select all

$ xfreerdp /v:127.0.0.1
I get:

Code: Select all

connected to 127.0.0.1:3389
Failed to check FreeRDP file descriptor
What should I miss?

Thx in advance.

justondean
Level 1
Level 1
Posts: 1
Joined: Fri Apr 12, 2019 8:55 pm

Re: xrdp doesn't work on Mint 19

Post by justondean »

hey all.

THANKS to Valeriy_tc
I followed the instructions and now have xrdp working.

// Juston

mulong
Level 1
Level 1
Posts: 1
Joined: Thu Jun 27, 2019 1:48 am

Re: xrdp doesn't work on Mint 19

Post by mulong »

Valeriy_tc wrote:
Fri Jul 20, 2018 7:38 am
Capinha413 wrote:
Tue Jul 17, 2018 5:43 pm
I have the problem in Linux Mint 19 xfce. First I installed via "sudo apt xrdp xorgxrdp"
Can explain with a tutorial?

Thanks.
Install:

Code: Select all

sudo apt-get update

sudo apt install xrdp xorgxrdp
sudo apt install -y freerdp-x11

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession

sudo reboot
Test:

Code: Select all

xfreerdp /v:127.0.0.1
enjoy :)
I did all this and when I connect on local or remote I get a black screen for 2-3 seconds and the app closes.

hermeson
Level 1
Level 1
Posts: 2
Joined: Wed Aug 14, 2019 10:55 am

Re: xrdp doesn't work on Mint 19

Post by hermeson »

happenned the same to me!!! apps closes after 3 sec....

anyone any idea????

ZainlessBrombie
Level 1
Level 1
Posts: 1
Joined: Fri Dec 06, 2019 7:32 am

Re: xrdp doesn't work on Mint 19

Post by ZainlessBrombie »

Well FYI: If you have e.g. cinnamon you need to run

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

instead of

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession

akidd
Level 1
Level 1
Posts: 21
Joined: Wed Dec 18, 2019 9:32 pm

Re: xrdp doesn't work on Mint 19

Post by akidd »

I finally have access to a remote desktop on 19.3...

but now I don't have a local one. After following the instructions I was excited to finally see a remote desktop after trying vino, x11vnc... I did add ZainlessBrombies addtion as I'm using cinnamon.

Code: Select all

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

instead of

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession
When my machine restarted the login screen appears. The input cursor blinks a couple times and then hard freezes. I can't input anything. However I can connect remotely via RDP...

I am greeted with an Authentication request for org.freedesktop.NetworkManager.network-control
Remote Desktop Connection.png
I tried backing out the .session changes and restarting... no joy.

Any ideas? one step forward...

MEA707
Level 1
Level 1
Posts: 45
Joined: Sat Jan 18, 2020 2:33 pm

Re: xrdp doesn't work on Mint 19

Post by MEA707 »

I can't get xrdp to work in Mint 19.3 Cinnamon.

This is what I get:
xrdperror.PNG
xrdperror.PNG (91.48 KiB) Viewed 6983 times
Lenovo ThinkPad T440p | Intel Core i7-4800MQ 2.70 GHz | Microsoft Windows 10 Pro 64-bit

Lenovo ThinkPad T61 | Intel Core 2 Duo T9300 2.50 GHz | Linux Mint 19.3 Cinnamon 64-bit

crowemag55
Level 1
Level 1
Posts: 1
Joined: Wed Feb 26, 2020 5:33 pm

Re: xrdp doesn't work on Mint 19

Post by crowemag55 »

AKidd, did you find an answer for the "no local" login condition? I'm seeing that too. Mint XFCE, 19.3. running in VirtualBox VM.

Can RDP from Windows and seem to have a stable session. Using it now as a matter of fact.

-John

akidd wrote:
Sat Jan 04, 2020 12:27 pm
I finally have access to a remote desktop on 19.3...

but now I don't have a local one. After following the instructions I was excited to finally see a remote desktop after trying vino, x11vnc... I did add ZainlessBrombies addtion as I'm using cinnamon.

Code: Select all

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

instead of

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsession
When my machine restarted the login screen appears. The input cursor blinks a couple times and then hard freezes. I can't input anything. However I can connect remotely via RDP...

I am greeted with an Authentication request for org.freedesktop.NetworkManager.network-control
Remote Desktop Connection.png

I tried backing out the .session changes and restarting... no joy.

Any ideas? one step forward...

GatorMike
Level 1
Level 1
Posts: 1
Joined: Sun Mar 01, 2020 12:40 pm

Re: xrdp doesn't work on Mint 19

Post by GatorMike »

I'm running Mint Cinnamon 19.3 on Virtual Box. I tried installing xrdp and xorgxrdp from the terminal per:

Code: Select all

sudo apt-get update

sudo apt install xrdp xorgxrdp
sudo apt install -y freerdp-x11

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

sudo reboot
But there were dependency issues, namely I had to install xorg-video-abi-23.

This broke something locally. I could not get into my desktop locally. I could however remote desktop.

What I did to fix this is
1. Started with a clean VM again.
2. Installed xrdp, xorgxrdp, and freeRDP-x11 via the Software Manager.
3. at the terminal, echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession
4. Rebooted.

Everything works great now. (Except the software rendering warning)

Been struggling with this. I think step 3 is what I've been missing. Thanks for the help!

miffy
Level 1
Level 1
Posts: 2
Joined: Fri Nov 13, 2015 10:28 am

Re: xrdp doesn't work on Mint 19

Post by miffy »

Isn't that exactly the same?

And the description of freerdp-x11 says:
- RDP client for Windows Terminal Services (X11 client)

Is that really necessary on the destination host?

xaio
Level 1
Level 1
Posts: 1
Joined: Mon Apr 06, 2020 12:18 pm

Re: xrdp doesn't work on Mint 19

Post by xaio »

Hi...

sudo apt-get update

sudo apt install xrdp xorgxrdp-hwe-18.04
sudo apt install -y freerdp-x11

echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

sudo reboot

Note: xorgxrdp-hwe-18.04

Work...

Locked

Return to “Software & Applications”