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.

  • pnutzh4x0r@lemmy.ndlug.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 days ago

    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.comOP
      link
      fedilink
      arrow-up
      8
      ·
      4 days ago

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

      https://ubunlog.com/en/how-to-reinstall-in-graphical-environment-of-ubuntu-when-the-desktop-does-not-load/

      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.comOP
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      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.

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

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

    • Exec@pawb.social
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      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.

  • drspod@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    4 days ago

    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.

  • blobjim [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    4 days ago

    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?

  • drhoopoe@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days ago

    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.

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    23
    ·
    4 days ago

    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.comOP
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      4 days ago

      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.

      • finley@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 days ago

        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.

        • riquisimo@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          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.