No problem, Axalon...

In /etc/X11/prefdm, I changed every occurrence of gdm and kdm such that gdm
was always evaluated first:


****prefdm contents****

#!/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
preferred=
if [ -f /etc/sysconfig/desktop ]; then
        if grep -q GNOME /etc/sysconfig/desktop 2>/dev/null; then
                preferred=gdm
        elif grep -q KDE /etc/sysconfig/desktop 2> /dev/null; then
                preferred=kdm
        elif grep -q AnotherLevel /etc/sysconfig/desktop 2> /dev/null; then

                preferred=xdm
        fi
fi
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
        exec $preferred $*
fi

        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

if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
        exec $preferred $*
fi
exit 1

****end prefdm contents****

The why?: Well I couldn't get KDM to work so I moved it out of the way of
GDM in prefdm.


Next, in the /etc/X11/gdm directory, I edited gdm.conf to specify the
marble3D gtkrc file for my login dialog background.  Then I moved on to the
./Sessions directory, where I changed my 'Default' link to point to
'Enlightenment', and my 'default' link to point to 'Default':

total 6
lrwxrwxrwx   1 root     root           13 Jan 18 20:09 Default ->
Enlightenment*
-rwxr-xr-x   1 root     root          140 Jan 20 07:01 Enlightenment*
-rwxr-xr-x   1 root     root          129 Jan 19 22:09 Enlightenment~*
-rwxr-xr-x   1 root     root           52 Jan  6 15:56 Failsafe*
-rwxr-xr-x   1 root     root           29 Jan 17 23:08 Gnome*
-rw-r--r--   1 root     root           46 Apr 21  1999 Gnome~
lrwxrwxrwx   1 root     root            7 Jan 18 18:56 default -> Default*
-rwxr-xr-x   1 root     root           24 Jan 17 23:08 kde*

Why?: Enlightenment is faster, imho, without gome-session's management, and
in fact manages apps and windows better.


Finally I edited my 'Enlightenment' script to look like this:

#!/bin/sh
[ -f $HOME ] || {
/usr/bin/enlightenment.install
}
xset +dpms
xset m 4/1 4
xset s 300 60
xset s blank
exec /usr/bin/enlightenment



That's about it.  I did encounter one strange thing though: I couldn't
change my login background color or bitmap in GDM; but when I ran KDE
(solely for the purpose of bringing up the KDE Desktop Manager applet to
change the background of __it's__ login screen), it actually changed the
background color for GDM's login window.  Any idea why that would happen?
I was happy to get the tile background to change for GDM, but I don't like
mysterious fixes.

Hope my info is useful to you.  And please let me know if you understand
the strange KFM/GDM background mystery.

Tim



Axalon Bloodstone wrote:

> On Sun, 23 Jan 2000 [EMAIL PROTECTED] wrote:
>
> > Oh yes; In fact I think this is a common problem.  I got around it by
> > editing prefdm to choose gdm first over kdm, then editing the files in
> > /etc/X11/gdm to suit.  Hope this is useful.
> > Tim
>
> "to suit" care to elborate, what you changed and why? :)
>
> --
> MandrakeSoft         http://www.mandrakesoft.com/
>                                         --Axalon

--
To reply to me, please remove __DIE_SPAMMERS__ from my reply-to address.


Reply via email to