Avatar

riquisimo

riquisimo@lemmy.dbzer0.com
Joined
1 posts • 170 comments
Direct message

Oh man, I can’t figure out what I did.

Somehow I routed the main display to the RDP session, meaning if I plug in a monitor I get a black screen instead of the desktop. I have to figure out what file I edited to do that. But searching online now none of the tutorials use whatever method I used roughly 6 years ago.

Oof. This is rough. What config files are you referring to?

permalink
report
parent
reply

I’ll give that a try.

Back when I set this up, for some reason, to get RDP working I needed to disable the local video output and have the main desktop be funneled into the remote session. I don’t remember the details of how or why. I’ll figure out how to reverse it and log in locally and see what I can gather.

permalink
report
parent
reply

This machine has always been GNOME. I ran “sudo do-release-upgrade.” I didn’t specify any flags for XFCE. I’m going to try to log in locally and see how it looks there.

permalink
report
parent
reply

It’s using RDP. I’m going to check out how RDP is configured on the machine and see if I can set it up “fresh” again. I think I went with RDP instead of VNC because I was connecting to it with a windows machine in the past and using RDP meant I could use the native windows RDP client.

Now that my primary machine is running Pop!_OS, I can check out whichever protocol has the better connection and re-set thing up with it.

permalink
report
parent
reply

I didn’t have an issue like this going from bionic beaver to focal fossa, but I don’t think my setup was as complicated before. Do other distros have this problem? Mint? Debian? (Does Debian ever update?)

permalink
report
parent
reply

That makes a lot of sense. I’ll work on logging into the machine locally and see what I can figure out from there. Thanks!

EDIT: I can’t figure out how I set this up. Somehow I routed the main display to the RDP session, meaning if I plug in a monitor I get a black screen instead of the desktop. I have to figure out what file I edited to do that. None of the tutorials that I can find now use whatever method I used roughly 6 years ago.

permalink
report
parent
reply

Totally fair. This machine has just been long running and switching distros has been more work than it’s worth. Though because things are breaking I’m looking to alternatives now. But for the time being, and to help me figure out this problem if I have it in the future, I’m trying to figure this out.

permalink
report
parent
reply

Yeah I’ve been running this machine on ubuntu since Bionic Beaver in 2018. Cannonical wasn’t such a bad guy back then, and migrating everything over to a new distro has always taken more effort than it’s worth. This machine runs headless and for the most part I interact with it though portainer so it hasn’t been an issue.

It’s just with the occasional remote desktop login that things are broken now. Do you have a recommended distro for servers/remote desktop usage?

permalink
report
parent
reply

The problem is that some desktop elements/settings seem to be xfce while some others are gnome. I’m going to need to do a deep dive to figure out how I set up remote desktop on that machine. Log in locally, get it working locally correctly, then see if I can get it working over RDP correctly.

permalink
report
parent
reply

Ok, so after installing ubuntu-desktop and reinstalling ubuntu-desktop the desktop hasn’t changed.

Ctrl+alt+T brings up the familiar terminal now though, and I can open a nautilus window by typing “nautilus.”

“echo $DESKTOP_SESSION” returns “xfce.” I’m logging into this machine remotely. Since I’m remote, I don’t think I can log out and still be “connected” to change the DE. Is there another way to change it?

If I connect a screen to the machine the desktop doesn’t load, I had to change a setting (of which I can’t remember, for a reason I can’t remember - something to do with optimizing the machine for remote desktop) and now the desktop only renders on the remote session.

permalink
report
parent
reply