[rhelv6-list] Proper way to add to RHEL6's GDM?

Hugh Brown hbrown at divms.uiowa.edu
Fri Aug 12 15:13:14 UTC 2011


On 08/12/2011 09:44 AM, vincent at cojot.name wrote:
> On Fri, 12 Aug 2011, Philip Durbin wrote:
>
>>> Under RHEL4/5, it was just a matter of adding stuff under /etc/X11/*
>>> as in:
>>> /etc/X11/dm/Sessions/OpenWindows.desktop
>>> /etc/X11/gdm/Sessions/OpenWin
>>
>> For example: /usr/share/applications/gnome-terminal.desktop
>>
>> Phil
>>
>
> Hi Phil,
>
> Unless I am mistaken, stuff under /usr/share/applications is for
> gnome-compliant applications, not for a complete session chosen from GDM
> to be neither Gnome or KDE (which is what I'd like to do).
> I'll continue my readings..
>
> Cheers,
>
> Vincent

On Fedora 14/15, it looks like you add a .desktop file to 
/usr/share/xsessions/ .

I don't have a RH6 box handy that has any desktop environments on it, 
but that may help as a next place to start looking/researching.

For xfce on a Fedora 15 box, a brief version of the xfce.desktop file is:


[Desktop Entry]
Version=1.0
Name=Xfce Session
Comment=Use this session to run Xfce as your desktop environment
Exec=startxfce4
Icon=
Type=Application


Hugh




More information about the rhelv6-list mailing list