XRDP MATE desktop server macOS remote desktop client

Hi,
I have tried to get access to a MATE system from macOS within a single WLAN domain.

On the MATE system I have configured XRDP according to these instructions:
https://help.ubuntu.com/community/xrdp

On the mac I used the RDP client from the app store.

The configuration enables to start the connection and authenticates up to a full black screen then it breaks the connection and returns to the PC widget.

On the MATE-System a logged-in user with the same name gets a logout.
Where could I get some error log to dig into the problem causes?

Thank you.

As I recall, a year ago when I installed MATE and added XRDP, I had to make the following changes to my .xsession file:

unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
mate-session

Logout and login again, and everything runs smoothly.

1 Like

Thank you for your kind support.
I have a xsession file in /etc/X11 and at other locations.
Is the one at /etc/X11 the right one?

Do I have to include
unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
mate-session
litterally?
at the end of the file?

Regards.
Laszlo

I made the change to my local .xsession file. No other files needed changing.

I just wanted to understand how to make the changes:
append exactly this text at the end of the file:

unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
mate-session

exact?

Yes, precisely.

Instructions I've seen on installing and connecting to Ubuntu specify creating the ~/.xession file and entering

mate-session

into it. The two 'unset' statements prior to that call resolved the problem for me. You've got me now searching to find where I found the solution. Everything I see right now simply says to put the 'mate-session' into the ./.xsession file.

So, my entire ./.xsession file is

unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
mate-session

And I now have no problems.

You can find a good article on installing xrdp here:

1 Like

A warm Thank you!
Laszlo