LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2002, 02:52 PM   #1
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
login manager


How can I change the login manager in slackware 8.1.
I don't want to use the kde manager, I want to use the Gnome login manager, if this is posible
 
Old 10-04-2002, 04:30 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm not sure how is it in Slackware (running other machine in the moment), but look into /etc/X11/prefdm script.
 
Old 10-04-2002, 05:49 PM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
In Slackware, the file is:

/etc/rc.d/rc.4

If you know shell scripting, it's easy enough to swap kdm and gdm. . .

I would make it something like:


# GNOME's session manager:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
# KDE's kdm:
elif [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
# If all you have is XDM, I guess it will have to do:
elif [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
 
Old 10-04-2002, 09:07 PM   #4
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
Cool, thanks guys, Ill give it a try.
 
Old 10-04-2002, 09:20 PM   #5
kmistry
Member
 
Registered: Sep 2002
Distribution: Debian 3.0 (Sid)
Posts: 67

Rep: Reputation: 15
im not even sure if you want to login w/gnomes manager? cos u cant login under root graphically. it always gave me some 'buzz' when i tried. kdm is good for me.
 
Old 10-05-2002, 02:13 AM   #6
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
I've never had real problems with any of them, though I boot to a console
and just login as whomever and:

startx

That way, if I'm just doing something quick like checking mail or sftp or
something, I don't have to wait for some slow display manager to start up,
then wait for some slow window manager to start up. . . =-}
 
Old 10-05-2002, 07:17 AM   #7
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
hi
in gdm you can perfectly login as root (but why should
you) . You can change that in /etc/X11/gdm/gdm.conf
look under [security] Allowroot=
You can change it also in gdm itself choose
system -> configuration -> options; expert (hope the
titles are right mine talks dutch)
And i had to change my login manager from kdm to gdm
because there is a known issue concerning kdm /XFree
and the display driver. Causing it once in every 10 - 20
attempts ; fall back to runlevel 3 . Maybe i should update
some parts but i like gdm now.
good luck
 
Old 10-05-2002, 08:02 AM   #8
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
yeah, last night it gave this problem:
Server authorization directory (daemon/servauthor) is set to /var/lib/gdm but has the wrong permissions it should has permissions 0750. Please correct the permission os the gdm configurator /etc/gdm/gdm.conf and restart gdm.
 
Old 10-05-2002, 08:38 AM   #9
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
anyways this is how I fixed the problem, i dont know if it the right thing to do, but it worked:

cd /var/lib
chmod 750 gdm

then I switch back to init level 4

telinit 4

and voila, the gdm login manager, sweet!!!!

And according to you guys, I shouldnt allow root to login from GDM, right?


Thanks for the Help
FIGA
 
Old 10-06-2002, 12:45 AM   #10
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Anytime you become root, you should be well aware of the fact that you
now have the ability to completely ruin your system. This means that you
shouldn't allow yourself to log in as root and then forget who you are. . .
If that means setting it up so root has a VERY different window manager
setup from your normal user, then that's one solution (for root, I use
sawfish as my window manager, and OpenWindows for my normal login).
Another solution is that you can only become root by using the "switch
user" command at a console:
su -
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
users can't login with gnome login manager vesalius Linux - Newbie 5 12-23-2005 12:47 AM
Login Manager JimboJuggs Mandriva 2 04-02-2005 08:41 AM
x login manager? jsfour Slackware 2 12-03-2003 08:30 PM
Login Manager robertsp Linux - General 1 03-11-2003 10:31 PM
login manager vs login screen illtbagu Linux - Newbie 4 01-04-2003 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration