[CentOS] Centos 7: Remove Gnome from GDM options

Sun Oct 5 20:17:45 UTC 2014
Liam O'Toole <liam.p.otoole at gmail.com>

On 2014-10-04, Frank Cox <theatre at melvilletheatre.com> wrote:
> On Sat, 04 Oct 2014 18:34:14 -0400
> Mark LaPierre wrote:
>
>> The best way to achieve your end is to delete the unused desktop
>> installations from your machine.  Software not installed is the best
>> defence against attack directed at that software
>
> I agree, but I don't know what packages I can remove without blowing up something that I do want to be able to use.  I wouldn't mind removing Gnome and Gnome Classic, but I still want to be able to use evince and Gnome Terminal, for example.
>

You could find out what packages the .desktop files belong to (when they
are back in their original location):

	rpm -qf /usr/share/xsessions/gnome*

Then remove the corresponding package(s) using yum. Obviously, check for
the removal of packages which are important to you before you commmit.

-- 

Liam