Page 1 of 1
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:
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:
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
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:
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