xrdp doesn't work on Mint 19

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
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 » Wed Jul 04, 2018 11:47 am

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 » Wed Jul 11, 2018 7:28 pm

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 » Thu Jul 12, 2018 9:38 am

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 » Fri Jul 13, 2018 1:04 pm

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 » 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.

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 » 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 :)

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 » Sat Aug 11, 2018 12:42 am

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 » Tue Aug 14, 2018 5:16 am

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 » Wed Aug 15, 2018 8:48 pm

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: 1
Joined: Fri Nov 09, 2018 6:16 am

Re: xrdp doesn't work on Mint 19

Post by easylm » Fri Nov 09, 2018 6:34 am

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.

Post Reply

Return to “Software & Applications”