How to uninstall lightdm?

57,468

Solution 1

To remove an application in Ubuntu you can type in a terminal:

sudo apt-get remove lightdm

or remove it with all its configuration files:

sudo apt-get purge lightdm

Solution 2

If you do a

sudo apt-get remove lightdm

instead leaving out the purge, if anything does go wrong and you cannot log into a graphical session you can always drop to a terminal and restore LightDM.

After the remove if everything works properly you can then purge the config files ..

If you will do -

sudo apt-get purge lightdm

or

sudo aptitude purge lightdm

then you cant restore it back without installing.

Solution 3

What about

sudo apt-get remove lightdm

I think that should work, isn't it?

Solution 4

Do

sudo apt-get remove lightdm
Share:
57,468

Related videos on Youtube

opu 웃
Author by

opu 웃

Updated on September 18, 2022

Comments

  • opu 웃
    opu 웃 over 1 year

    I removed Unity from my computer. But still lightdm is showing when I typed sudo dpkg-reconfigure lightdm. I want to remove it. What can I do?

  • titusfx
    titusfx over 2 years
    And if something goes wrong? How do you restore it?