Results 1 to 5 of 5
Hiya,
I've been using Slack for about 6 months now,
And something that has been bothering me is I can't run KDM or GDM as anyone BUT root. Clearly you ...
- 11-25-2004 #1Just Joined!
- Join Date
- Oct 2004
- Posts
- 65
GDM and KDM
Hiya,
I've been using Slack for about 6 months now,
And something that has been bothering me is I can't run KDM or GDM as anyone BUT root. Clearly you all know why this is a problem, as I hate running as root.
I've tried chmodding, and I figured that wouldn't work anyways.
Can you help? I like the extra features GNOME gives you if you run GDM.
- 11-25-2004 #2Just Joined!
- Join Date
- Oct 2004
- Posts
- 15
Hmmm... you actually have to run GDM or KDM... I set up the runlevel at boot time to be 4 in the /etc/inittab so it automatically loads for me... strange....
- 11-26-2004 #3by default Slackware is runlevel 3, which does require you to run GDM or KDM
Originally Posted by espiesior
- 11-26-2004 #4
Re: GDM and KDM
if you want to stay in run level 3, you can still
Originally Posted by Social Burn and it will load the default WMCode:startx
- 11-26-2004 #5Just Joined!
- Join Date
- Nov 2004
- Location
- Portugal
- Posts
- 39
If you're using runlevel 3, you won't need the GDM or KDM to login.
But... if you're using runlevel 4, you'll be able to login via a graphical interface.
To run at runlevel 4, you have to edit the initab file and change the Default to 4.
Look at the following line:
Currently I have runlevel 3 selected. In runlevel 4, should be:Code:# Default runlevel. (Do not set to 0 or 6) id:3:initdefault:
Code:# Default runlevel. (Do not set to 0 or 6) id:4:initdefault:
Than, at the file rc.4 located in /etc/rc.d/ you can edit to choose your runlevel.
Mine looks like this:
Hope this helps.Code:# Tell the viewers what's going to happen... echo "Starting up X11 session manager..." # Try to use GNOME's gdm session manager: #if [ -x /usr/bin/gdm ]; then # exec /usr/bin/gdm -nodaemon #fi # Not there? OK, try to use KDE's kdm session manager: if [ -x /opt/kde/bin/kdm ]; then exec /opt/kde/bin/kdm -nodaemon fi # If all you have is XDM, I guess it will have to do: #if [ -x /usr/X11R6/bin/xdm ]; then # exec /usr/X11R6/bin/xdm -nodaemon #fi # error echo echo "Hey, you don't have KDM, GDM, or XDM. Can't use runlevel 4 without" echo "one of those installed." sleep 30 # All done.
GL m8.


Reply With Quote
