Eben King wrote: 
> I have a computer called "alexandria".  Usually I log in via SSH.  I only
> log in at the console when it's broken so that networking doesn't work, and
> even then I almost always use a text console.  So I very rarely need X, but
> still want it there to use if I need it.  However it would be nice if the
> login screen weren't using up resources.  I'd be completely fine with
> logging in by startx.
> 
> To that end, I used aptitude to install the meta-package "xfce", and during
> installation it asked me whether I wanted to use lightdm or gdm3, and I
> picked lightdm.
> 
> What do I need to uninstall to make gnome gone?  Then, what do I need to do
> to make X not use lightdm?  On this machine I did "chmod 0
> /usr/sbin/lightdm" which works, but probably isn't the right way.  Thanks.

$ sudo apt remove lightdm

Check that startx works. 

If there are any other display manager systems running, remove them as well.

In general, if you know the name of an executable, you can find
out what package it belongs to:

$ dpkg -S /usr/bin/mocp
moc: /usr/bin/mocp

and then you can remove that package.

Note that lots of things may depend on various GNOME packages,
things that you may want to keep -- read the to-remove list
carefully.

-dsr-

Reply via email to