xrdp doesn't work on Mint 19

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
pbaumann

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

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

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

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

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

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: 9
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

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

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: 5
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

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

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

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

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

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

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 24898 times
crowemag55

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

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: 4
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

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”