Re: [expert] KDM login

2000-01-26 Thread Axalon Bloodstone

On Tue, 25 Jan 2000 [EMAIL PROTECTED] wrote:

 No problem, Axalon...
 
 In /etc/X11/prefdm, I changed every occurrence of gdm and kdm such that gdm
 was always evaluated first:
[..] 
 
 The why?: Well I couldn't get KDM to work so I moved it out of the way of
 GDM in prefdm.

Ah, IC

echo 'GNOME'  /etc/sysconfig/desktop 
 
 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':
[..] 
 Why?: Enlightenment is faster, imho, without gome-session's management, and
 in fact manages apps and windows better.
 
Doh! we should probably be reading the desktop file also huh, it will get
a new field. This is done somewhere for something else also so should be
easy to track down and implement consistantly.

[..] 
 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
 
less /etc/X11/xdm/Xsetup_0

it's not the smartest script in the world but eh..  
 
 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.
 
 
 

-- 
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] KDM login

2000-01-26 Thread timothylewis

Hello Axalon,

snipped

  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

 less /etc/X11/xdm/Xsetup_0

 it's not the smartest script in the world but eh..

I am not sure I am following here...GDM starts up with a blue background.  I
stop GDM, start KDE, launch KDE Desktop Manager, chage the login screen
background tile, stop KDE, restart GDM...now GDM has the background selected for
the KDE login screen.  Are you saying 'kdedesktop' is somehow involved in the
Xsetup_0 file?

Thanks,
Tim




Re: [expert] KDM login

2000-01-24 Thread timothylewis

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 21; then
exec $preferred $*
fi

if which gdm /dev/null 21; then
preferred=gdm
elif which kdm /dev/null 21; then
preferred=kdm
elif which xdm /dev/null 21; then
preferred=xdm
fi

if [ -n "$preferred" ]  which $preferred /dev/null 21; 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 root7 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.





Re: [expert] KDM login

2000-01-23 Thread Axalon Bloodstone

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



[expert] KDM login

2000-01-22 Thread Mark Polsen

Hi all,

I just upgraded from 6.1 to 7.0 and now users cannot login with KDM.
However
they can login if the machine starts up in runlevel 3 and then do a
startx command. Hasanyone else had this same problem?

Thanks,
Mark



Re: [expert] KDM login

2000-01-22 Thread Vincent Danen

On Sat, 22 Jan 2000, Mark Polsen wrote:

 I just upgraded from 6.1 to 7.0 and now users cannot login with KDM.
 However
 they can login if the machine starts up in runlevel 3 and then do a
 startx command. Hasanyone else had this same problem?

Yup, but only with the username vdanen... root, adanen, pip, and so forth
could all log in fine from KDM.  And this problem wasn't apparent right
from the get-go...  it happened after a while and I have *no* idea why it
happened either so I can't even help you out with solving it... =(  But it
has happened to me (or something very similar anyways).

-- 
Vincent Danen, ICQ: 54924721 . telnet://bbs.freezer-burn.org
BBBS/LiI . Internet Rex for Linux Beta . Freezer Burn BBS
Linux Information and other Goodies at Freezer Burn:  www.freezer-burn.org



Re: [expert] KDM login

2000-01-22 Thread timothylewis

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


Mark Polsen wrote:

 Hi all,

 I just upgraded from 6.1 to 7.0 and now users cannot login with KDM.
 However
 they can login if the machine starts up in runlevel 3 and then do a
 startx command. Hasanyone else had this same problem?

 Thanks,
 Mark

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