SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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
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.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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. . . =-}
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
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.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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 -
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.