|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: Mar 2011
Posts: 25
|
I am running slackware-current and I want to figure out how to get KDM to start automatically after booting (not like a daemon, i.e. runlevel 5, if that is correct in Slackware). Also, whenever I go into Konsole or the CLI mode (no GUI), it will not read and use my .bashrc file like every other Linux distribution. Why is this? And, is there any to fix it? Also, there is a clock widget, but when I drag it on to the task bar, it says "Unable to load the widget" - "Could not find requested component: digital-clock", even though it lists it in the widgets list. How do I fix that as well?
![]() EDIT: I've read the official page on how to do it, but I'm really confused and don't want to do anything, afraid that my system will become not bootable anymore! Here is the page! Last edited by jpass101; 08-16-2012 at 06:03 PM. |
|
|
|
|
|
#2 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,562
|
It's been a while since I've run slack, but IIRC the GUI runlevel in slack is 4, not 5 like in most other linux distros. Accordingly, you just need to edit /etc/inittab like so:
Code:
# These are the default runlevels in Slackware: # 0 = halt # 1 = single user mode # 2 = unused (but configured the same as runlevel 3) # 3 = multiuser mode (default Slackware runlevel) # 4 = X11 with KDM/GDM/XDM (session managers) # 5 = unused (but configured the same as runlevel 3) # 6 = reboot # Default runlevel. (Do not set to 0 or 6) id:4:initdefault: |
|
|
|
|
|
#3 | |
|
Moderator
Staff
Premium Member
Join Date: Nov 2008
Location: Detroit, MI
Posts: 5,223
|
The startup script for run level 4 is /etc/rc.d/rc.4. Switch the order of the lines to load kdm first instead of gdm.
++++++++++++++++++++++++++++++++++++++++++ Quote:
++++++++++++++++++++++++++++++++++++++++++ Not sure on the widget, I'll do some checking. I am not a widget guy or GUI guy in my slackware Last edited by jdeb; 08-17-2012 at 09:31 AM. |
|
|
|
|
|
|
#4 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,562
|
Unlike most other linux distros, by default slack does not create a .bashrc or any other bash configuration files in the user's home directory. Also, by default .bashrc is read by bash when an interactive, non-login shell is started as "bash" but .bashrc is not read for the login shell, or if the shell is started as "sh". That's why your .bashrc file is not being read when you do a command line login.
|
|
|
|
|
|
#5 |
|
Member (5 bit)
Join Date: Mar 2011
Posts: 25
|
Well, I edited /etc/profile and commented out the default prompt and put my colored green prompt with bright white output text. Now, when I start up Slackware, KDM loads! Thank you guys!
Last edited by jpass101; 08-17-2012 at 01:47 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|