Score:1

Cant enable gdm3 after following a tutorial on how to remove KDE from ubuntu

in flag

Every time I startup I now have to press ctrl + alt + f3 and type something along the lines of

sudo systemctl start gdm3

if I don't do that then my pc will just be stuck on the bios logo and nothing else.

This is the tutorial I followed https://trendoceans.com/how-to-remove-the-kde-plasma-environment-in-ubuntu/

when I try

sudo systemctl enable gdm3

I get

Synchronizing state of gdm3.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable gdm3
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

edit: I found the fix which was sudo dpkg-reconfigure gme3 thanks person on reddit

Nmath avatar
ng flag
I'm not sure this is a very good guide. The reason that Ubuntu comes in so many official [flavours](https://ubuntu.com/download/flavours) is because changing the desktop environment on an installed system is incredibly messy. That's because a DE is made up of dozens of interworking packages. When you removed all of those KDE packages you may have also removed dependencies for GNOME as well. One of the reasons given in that error is missing dependencies. Have you tried to reinstall GNOME? If that doesn't work, you may end up realizing it's more prudent to reinstall Ubuntu
cn flag
@ImLemon Thank you for the tip. Just to be sure, you meant `sudo dpkg-reconfigure gdm3` (because it didn't work for me with `sudo dpgk-reconfigure gme3`). Also, it worked for me only after starting gdm3 (`sudo systemctl start gdm3`).
Score:0
nl flag

Open a terminal and type
sudo systemctl set-default graphical.target
then reboot and you sgould go straigjt to a desktop.
If you want to go back then
sudo systemctl set-default multi-user.target
to take you straight to the console on boot.
And if all else fails sudo apt-get install ubuntu-desktop

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.