So I've been trying to get xrdp to work on my Odroid N2+ for a few weeks now and it's pulling teeth, but you never fully pull them out (no release, just constant pain). I really would like to be able to connect to a linux desktop without having to setup another monitor, keyboard, etc., but I haven't gotten a remote desktop to work properly a single time. I can connect via ssh, but I'd really like to have a visual workspace.
When I connect and login successfully via Microsoft Remote Desktop, the four outcomes I get are:
- The desktop doesn't load, it stays on a teal colored screen a while before giving up, with a message along the lines of "something went wrong". If I check in on the terminal with 'systemctl status xrdp' it says the connection and login were successful, but then starts repeating something like 'Socket 19 Closed'. (only with Xfce)
- The desktop loads, but it's completely distorted. I should have took a screenshot, but to describe simply, it was a bunch of misplaced dots. You could tell it was the desktop, because if you highlighted some of the desktop, you could see some dots change or appear. (Only with Xfce as well)
- A black screen. (With Xfce and MATE)
- A black screen for a moment, and then a white screen with the message "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again. (Current state, only on MATE)
I feel like I've tried everything:
- Different desktops (MATE, Xfce)
- Different distros (Ubuntu Mate 22, Debian Bullseye)
- Fresh installs of linux
- Installing packages in different orders
- Installing a variety of different packages
- Adding extra lines to /etc/xrdp/startwm.sh
- Connecting from different clients (mac, pc, android)
- Every idea from every link I could find, even if it seemed irrelevant
- Each of these over again for each new install/distro/desktop
I am still a complete novice with linux too, so I'm sorry if any terminology is off. I got a rasbpi a while back and began learning python and how to use linux, but it broke (something with the sd card reader just giving up; still trying to figure that one out too, lol).
I'm willing to try pretty much any idea really, new or old. Currently, I have Ubuntu 22.04 MATE installed from the official Odroid wiki and when connecting to remote desktop, I get the 4th outcome (black screen, then error). If anyone has any ideas, please, please, pretty please, I'd be happy to hear them. If there are any logs or other such data that I could provide, I'd be glad to do so.
Thank you much for reading.