Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 8524  / 2 Years ago, fri, april 29, 2022, 3:09:13

I have installed an Ubuntu Server. It obviously comes with no graphical interface. I tried to install one with:



apt-get install xserver-xorg xfonts* gnome gdm


Then I got an error message trying to log in with GNOME and eventually I uninstalled everything:



apt-get remove xserver-xorg xfonts* gnome gdm


However, it seems Ubuntu still has some scripts trying to launch GNOME since when starting I get:



Starting GNOME Display Manager   fail
...
Stopping system v run level compatibility


And the system stops forever. (I know I can use Alt+F1.)



What should I modify to get this completely uninstalled? I cannot find anything in the rc2.d directory.


More From » server

 Answers
7

sudo apt-get remove does not remove the configuration files, but since you already removed the packages you cannot purge the config files. Your best bet is to reinstall the same packages then purge them, thus removing all configuration files.



sudo apt-get update
sudo apt-get install xserver-xorg xfonts* gnome gdm
sudo apt-get purge xserver-xorg xfonts* gnome gdm

[#30512] Friday, April 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fertion

Total Points: 436
Total Questions: 121
Total Answers: 156

Location: England
Member since Sun, May 21, 2023
1 Year ago
;