SCIENTIFIC-LINUX-USERS Archives

September 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Alec T. Habig" <[log in to unmask]>
Reply To:
Alec T. Habig
Date:
Tue, 6 Sep 2011 14:19:54 -0500
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (487 bytes) , Xsession.patch (841 bytes)
Jeff Siddall writes:
> So why does GDM still default to Gnome?  Grrr...  So I am fed up
> with GDM.  Any ideas how I ditch GDM and switch to KDM?

Here's how I did it, 3 steps:

  yum install -y xorg-x11-xinit-session

Create a file /etc/sysconfig/desktop containing the line

  DISPLAYMANAGER=KDE

and a patch for /etc/X11/xinit/Xsession is attached.

    Alec

-- 
 	    Alec Habig, University of Minnesota Duluth Physics Dept.
	    		    [log in to unmask]
		       http://neutrino.d.umn.edu/~habig/



--- /etc/X11/xinit/Xsession.issue 2011-03-14 12:54:05.862817718 -0500 +++ /etc/X11/xinit/Xsession 2011-03-14 12:54:05.879720291 -0500 @@ -30,6 +30,14 @@  # Xsession and xinitrc scripts which has been factored out to avoid duplication  . /etc/X11/xinit/xinitrc-common   +# RHEL6 GDM doesn't seem to support selectable sessions, and always requests a +# gnome-session. So we unset this default here, to allow things like user +# .xsession or .Xclients files to be checked, and /etc/sysconfig/desktop +# settings (via /etc/X11/xinit/Xclients) honoured. +if [ -n "$GDMSESSION" -a $# -eq 1 -a "$1" = gnome-session ]; then + shift +fi +  # This Xsession.d implementation, is intended to obsolte and replace the  # various mechanisms present in the 'case' statement which follows, and to  # eventually be able to easily remove all hard coded window manager specific

ATOM RSS1 RSS2