After upgrading from Ubuntu Jellyfish to Numbat, my desktop seems broken? Super key doesn't open menu, dark theme/settings doesn't work. How can I fix this?
from riquisimo@lemmy.dbzer0.com to linux@lemmy.ml on 17 Sep 2024 02:19
https://lemmy.dbzer0.com/post/27935301

One of the wallpapers has XFCE on it, but I didn’t change my desktop environment. Also of note, when I open the terminal it doesn’t look the same as it used to. Instead of the dark purple window it’s a black window with white text and the window’s icon is a red “X” with a dark blue “T” on it.

This is a headless machine and I connect to it through remote-desktop.

If I go through the applications menu (manually clicking, the super key does nothing and my keyboard does not have a “Fn” key) and go to settings I get the window on the left. Changing the settings in this window does nothing. Right clicking the desktop and clicking “desktop settings” I get the window on the right. This window correctly changes the wallpaper.

When I open the home folder I get Thunar.

My guess is there are two desktop environments competing or something right now? How can I fix this?

Also, weirdly, if I click my name in the upper right I can “lock screen” and “log out…” but I can’t “switch user,” “suspend,” or “shut down.”

Thank you in advance for any help.

#linux

threaded - newest

over_clox@lemmy.world on 17 Sep 2024 02:26 next collapse

Your problem is that you’re still using Ubuntu, after Canonical started injecting advertising and wants you to pay for it now.

Try a different distro, like anything besides Ubuntu…

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 02:31 next collapse

My primary machine runs Pop!_OS, but I’ve had this machine running for years. Back when I installed Ubuntu on it, Canonical wasn’t widely known as a bad guy. I’ve got various services running that I would need to resetup if I started from scratch.

I get where you’re coming from, but to migrate everything over would take so much time. For now I would really like it if my desktop just worked correctly. When I get the time I can look into putting mint or debian on it.

over_clox@lemmy.world on 17 Sep 2024 02:42 next collapse

I feel your pain from a distance, I really do. ☹️

The best advice I have in the meantime is to prepare for a full backup of all packages and consider switching to a different Debian based distro…

forums.debian.net/viewtopic.php?t=138166

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 02:59 collapse

That link seems to be filled with ways to clone drives, but if I’m migrating I wouldn’t want to clone ubuntu and take it with me.

I know that your /home folder can be on a different drive/partition, but can you install files to a different location as well? Like install docker etc. in your /home folder or something and then if you switch distros just bring your /home folder with you and remake the links to the apps or something.

As user-focused as linux is (at least linux users), I wouldn’t be surprised if there was some tool that made this easy. But idk.

over_clox@lemmy.world on 17 Sep 2024 03:04 next collapse

I sorta had a feeling that wasn’t necessarily the best link after I posted it. Check this for more info (I’m on my phone right now…)

unix.stackexchange.com/…/how-to-create-a-list-of-…

over_clox@lemmy.world on 17 Sep 2024 03:12 collapse

Wanna hear a scary command I’ve used before?

sudo aptitude reinstall ‘~i’

Not for the faint of heart, nor meant for a fresh install, but that literally reinstalls every single registered package in Debian based distro.

Edit: If you ever dare use that command, you better make 2 pots of coffee and roll 3 joints, cuz it’ll take a good while…

finley@lemm.ee on 17 Sep 2024 03:37 collapse

Popos is based on Ubuntu, but maintained by a separate company and has major differences. I’ve also been running it on a couple of machines for years and have been quite happy with it.

avidamoeba@lemmy.ca on 17 Sep 2024 14:59 collapse

Get out with this noise. This is the same nonsense as “just install Linux” to a person with a Windows problem.

over_clox@lemmy.world on 17 Sep 2024 15:42 next collapse

Have you not caught the recent news that Ubuntu is now plastering adverts on the desktop if you haven’t paid for it?

Please kindly fuck off.

over_clox@lemmy.world on 17 Sep 2024 15:49 collapse

Here mofo, go purchase Ubuntu Pro…

slrpnk.net/post/13269933

Canonical can suck my balls.

avidamoeba@lemmy.ca on 17 Sep 2024 15:54 collapse

Wait you thought that meme was factual? 🫨 Even OP themselves said in that thread it was a joke he made to troll Canonical haters. !linuxmemes@lemmy.world is rarely factual.

over_clox@lemmy.world on 17 Sep 2024 16:05 collapse

Whether factual or not, that’s still the direction Canonical is heading.

pnutzh4x0r@lemmy.ndlug.org on 17 Sep 2024 02:45 next collapse

It looks like you are running XFCE instead of GNOME (the normal Ubuntu desktop). I’m not sure how that happened… but you an always just install another desktop.

For instance, you can try to make sure you have the ubuntu-desktop or ubuntu-desktop-minimal metapackage installed:

sudo apt install ubuntu-desktop-minimal

After that, the login manager should allow you to select the Ubuntu session rather than the XFCE one.

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 02:53 next collapse

Hey thanks. I had started following this guide right before I saw your post:

ubunlog.com/…/how-to-reinstall-in-graphical-envir…

Essentially the same thing, except the guide uses “apt-get install –reinstall ubuntu-desktop” I used “sudo apt install ubuntu-desktop” and it found stuff to install. The terminal is running now. I’ll update the post once it’s done. Hope this works!

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 03:36 next collapse

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.

user224@lemmy.sdf.org on 17 Sep 2024 03:48 collapse

How are you using it remotely? VNC?

Perhaps the server config started defaulting to XFCE. Maybe what happened is entire XFCE DE got marked as a dependency, installed during update, and then when some config defaulting to XFCE thanks to this became valid, you ended up here.

If it’s VNC, what do you have in ~/.vnc/xstartup? Maybe a line like xfce4-session &?

avidamoeba@lemmy.ca on 17 Sep 2024 15:12 next collapse

This sounds plausible. I have seen a few guides for headless use suggesting disabling the built-in remote desktop feature and setting up xrdp, xvnc or related and then trying to fixup that session.

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:53 collapse

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.

Exec@pawb.social on 17 Sep 2024 06:51 collapse

There are different flavours of Ubuntu with the other desktop environments (called Xubuntu, Kubuntu, and so on). The posted screenshot is indeed a mishmash of Gnome and Xfce though.

possiblylinux127@lemmy.zip on 17 Sep 2024 03:24 next collapse

Your machine is broke. Time to reinstall

avidamoeba@lemmy.ca on 17 Sep 2024 15:12 collapse

Not Windows

blobjim@hexbear.net on 17 Sep 2024 03:39 next collapse

I guess it switched desktop environments on you? If you’re logged out there’s supposed to be a way you can switch between desktop environments. It makes sense that the GNOME Settings app would only change wallpaper settings for GNOME, which I think is the main Ubuntu desktop environment. Are you sure you didn’t upgrade to a version of Ubuntu that uses XFCE instead of GNOME?

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:59 collapse

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.

drspod@lemmy.ml on 17 Sep 2024 03:48 next collapse

I used Ubuntu from version 8.04 to 18.04 and not once did I have a successful upgrade between major versions. There is always something that gets broken to the point that a reinstall is necessary.

Telorand@reddthat.com on 17 Sep 2024 05:33 next collapse

Oh, so it’s not just me either. It’s one of the reasons I’ll never install Ubuntu.

superkret@feddit.org on 17 Sep 2024 05:35 collapse

Me too.

IrritableOcelot@beehaw.org on 17 Sep 2024 15:37 collapse

And there was me thinking that was a mint problem…but it’s never broken nearly badly enough to force a reinstall. It’s just weird not being able to do a full upgrade unless you temporarily uninstall some packages.

hinterlufer@lemmy.world on 17 Sep 2024 07:33 next collapse

well, I managed to upgrade from 16.04 to 22.04 without any major issues

avidamoeba@lemmy.ca on 17 Sep 2024 14:55 collapse

14.04 to 22.04 so far

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:49 collapse

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?)

drhoopoe@lemmy.sdf.org on 17 Sep 2024 05:56 next collapse

You say this machine is headless. Is it at a remote location? If not, is it feasible to connect it to a monitor an keyboard for a few minutes? If so then you could logout, switch DE, and then log back in. That would hopefully set the DE you prefer as user default.

If that’s not possible, then some of the solutions discussed here might be applicable.

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 22:01 collapse

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.

[deleted] on 17 Sep 2024 06:21 next collapse

.

avidamoeba@lemmy.ca on 17 Sep 2024 15:07 next collapse

My guess is that something related to the headless setup you had changed during upgrade - likely some package got obsoleted and removed. Then you got some default behaviour from the replacement package along with the rest of the setup.

If you don’t get the help needed to resolve this here, you should also post in askubuntu.com.

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:47 collapse

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.

avidamoeba@lemmy.ca on 18 Sep 2024 01:37 collapse

You could try finding changed config files by running:

sudo debsums -ac

Note that this won’t catch all. There are files that packages install and don’t touch afterwards. I my case for example it does catch that /etc/gdm3/custom.conf was modified to enable autologin among other things.

gravitas_deficiency@sh.itjust.works on 17 Sep 2024 16:29 next collapse

Tbh I don’t recommend Ubuntu to people anymore

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:46 collapse

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.

bloodfart@lemmy.ml on 17 Sep 2024 19:58 next collapse

ubuntu numbnuts

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:44 collapse

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?

bloodfart@lemmy.ml on 17 Sep 2024 22:55 collapse

Oh I don’t care what distro you use. It’s just funny to say numbnuts instead of numbat.

bloodfart@lemmy.ml on 17 Sep 2024 20:04 collapse

you’re running xfce!

do you want to be running some other desktop environment?

if so, look at what kind of session your remote connection software is asking the remote machine to start.

riquisimo@lemmy.dbzer0.com on 17 Sep 2024 21:40 collapse

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.

bloodfart@lemmy.ml on 17 Sep 2024 22:57 collapse

You can always just delete you user config directories, uninstall Xfce then log back in snd see what happens…

riquisimo@lemmy.dbzer0.com on 18 Sep 2024 00:26 collapse

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?

bloodfart@lemmy.ml on 18 Sep 2024 01:21 collapse

There’s a bunch of dot files and directories in your home directory that are used to store configurations and presets and stuff.

It used to be that if you logged in without those files and directories then x, the display manager, the other software etc would copy over stub versions and that’s how you get “defaults”.

So when I have a hairy x session I used to delete the configuration files and directories and let it repopulate with defaults.

Nowadays I don’t do that anymore, but it used to be an issue.

E: try ctrl alt f1 or two or something and see if you get a terminal or login prompt.