Page 1 of 2

xrdp doesn't work on Mint 19

Posted: Wed Jul 04, 2018 11:47 am
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

Re: xrdp doesn't work on Mint 19

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

Re: xrdp doesn't work on Mint 19

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

Re: xrdp doesn't work on Mint 19

Posted: Fri Jul 13, 2018 1:04 pm
by DJones9204
Glad things are working better for you now! Linux is great, but at times it forces you to dig deep into problems...

Re: xrdp doesn't work on Mint 19

Posted: Tue Jul 17, 2018 5:43 pm
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.

Re: xrdp doesn't work on Mint 19

Posted: Fri Jul 20, 2018 7:38 am
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 :)

Re: xrdp doesn't work on Mint 19

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

Re: xrdp doesn't work on Mint 19

Posted: Tue Aug 14, 2018 5:16 am
by wh243s
It works for me.

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

It works perfectly on Xfce.

Thanks.

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

Posted: Wed Aug 15, 2018 8:48 pm
by wh243s
It woks well both on mate and xfce but not on cinnamon.

Any suggestion to make it work on Cinnamon?

Re: xrdp doesn't work on Mint 19

Posted: Fri Nov 09, 2018 6:34 am
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.

Re: xrdp doesn't work on Mint 19

Posted: Fri Apr 12, 2019 8:59 pm
by justondean
hey all.

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

// Juston

Re: xrdp doesn't work on Mint 19

Posted: Thu Jun 27, 2019 1:53 am
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.

Re: xrdp doesn't work on Mint 19

Posted: Thu Oct 17, 2019 12:24 pm
by hermeson
happenned the same to me!!! apps closes after 3 sec....

anyone any idea????

Re: xrdp doesn't work on Mint 19

Posted: Fri Dec 06, 2019 7:33 am
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

Re: xrdp doesn't work on Mint 19

Posted: Sat Jan 04, 2020 12:27 pm
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...

Re: xrdp doesn't work on Mint 19

Posted: Mon Jan 20, 2020 7:38 pm
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 6950 times

Re: xrdp doesn't work on Mint 19

Posted: Wed Feb 26, 2020 5:42 pm
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...

Re: xrdp doesn't work on Mint 19

Posted: Sun Mar 01, 2020 1:09 pm
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!

Re: xrdp doesn't work on Mint 19

Posted: Thu Mar 19, 2020 6:53 am
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?

Re: xrdp doesn't work on Mint 19

Posted: Mon Apr 06, 2020 12:26 pm
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...