That was easy.

Thanks, Rob

On Sat, 2002-08-17 at 20:04, Mike Pearce wrote:
> For Redhat 7.3 at least.... all done as root or su root
> To set the default login manager edit the file...
> 
>  /etc/sysconfig/desktop
> 
> the contents of that file should be.....
> 
> DESKTOP="KDE"
> 
> .... and thats about it... restart X and you should be running the KDE login 
> manager.
> 
> For some other systems the file only needed to include...  KDE  ...and that 
> was all.
> 
> To edit the settings you will need to run the KDE control Centre and under the 
> system menu select the login manager and have fun selecting pictures etc.
> 
> 
> Mike
> 
> 
> On Sat, 17 Aug 2002 18:19, you wrote:
> > I have just used Red Carpet to upgrade Evolution to the latest Beta
> > version (which fixed my "not removing deleted emails on exit problem)
> > but it also added the Ximian Gnome desktop and now the default Login
> > Manager is the Ximian Gnome version.
> >
> > I really liked the KDE Login Manager as it could be set up to show
> > users, default to last user and focus on the password box.
> >
> > I think I can get it back to use the KDE version by editing the file
> > /etc/X11/prefdm (see it below) but I wondered if someone more confident
> > than me can advise what I should do?
> >
> > Thanks, Robert
> >
> > PS As a "newbie" and a GUI preferer, I found the Red Carpet prgramme to
> > be very good for updates.
> >
> > Here is the contents of /etc/X11/prefdm........
> >
> >
> > #!/bin/sh
> >
> > PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> >
> > # We need to source this so that the login screens get translated
> > . /etc/profile.d/lang.sh
> >
> > # Run preferred X display manager
> >
> > # Try autologin first, if wanted...
> > if [ -f /etc/sysconfig/autologin -a -x /usr/sbin/autologin ]; then
> >     if /usr/sbin/autologin; then
> >             exit 0
> >     fi
> >     # If autologin fails (bad permissions, etc.), we get here -
> >     # time to start a real display manager.
> > fi
> >
> > preferred=
> > if [ -f /etc/sysconfig/desktop ]; then
> >     source /etc/sysconfig/desktop >/dev/null 2>&1
> >     [ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER
> >     if [ "$DESKTOP" = GNOME ]; then
> >             preferred=gdm
> >     elif [ "$DESKTOP" = "KDE" -o "$DESKTOP" = "KDE1" -o "$DESKTOP" = "KDE2"
> > ]; then
> >             preferred=kdm
> >     fi
> > fi
> >
> > if [ -z "$preferred" ]; then
> >     if which gdm >/dev/null 2>&1; then
> >             preferred=gdm
> >     elif which kdm >/dev/null 2>&1; then
> >             preferred=kdm
> >     elif which xdm >/dev/null 2>&1; then
> >             preferred=xdm
> >     fi
> > fi
> >
> > if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
> >     exec `which $preferred` $* >/dev/null 2>&1
> > fi
> >
> > if which gdm >/dev/null 2>&1; then
> >     exec `which gdm` $* >/dev/null 2>&1
> > elif which kdm >/dev/null 2>&1; then
> >     exec `which kdm` $* >/dev/null 2>&1
> > elif which xdm >/dev/null 2>&1; then
> >     exec `which xdm` $* >/dev/null 2>&1
> > fi
> >
> > # catch all exit error
> > exit 1
-- 
Robert Fisher <[EMAIL PROTECTED]>

Reply via email to