-
Automate KDM at startup
As a total newbie to Linux I tried the Knoppix CD and was sufficiently impressed to trash an old Win2000 system and do an install to harddisk. I installed Knoppix via the knoppix-installer but it threw up some error message right near the end and black-screened almost immediately so I couldn't read them, or for that matter do anything about it. I repeated the installation but the same happened again so I rebooted minus the CD just in case and to my surprise up came a commandline interface. I logged in as root and ran KDM. Everything seemed ok apart from the login buttons being in what appeared to be some foreign script but hitting enter got me into the KDE environment and I've been able to successfully setup my major apps. However, I would really like to automatically start the KDM login.
I've been reading a lot of Linux material, much at this stage reading like a foreign language, and think the /etc/init.d/xdm script is the key(and I guess login as root to edit it?), but don't know how to modify this to run KDM, can someone please help(I'll happily post my current file if necessary). Feel free to tell me I've got it hopelessly wrong as long as you can offer a solution!
Reg
-
You could check /etc/inittab to see if runlevel 5 (graphical) is the default, should have a line like:
# The default runlevel.
id:5:initdefault:
Also check /etc/rc5.d to see if KDM is started, you don't need XDM, you should have a line like:
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S99kdm -> ../init.d/kdm
If not, do: update-rc.d kdm defaults
BTW, you can remove XDM with: update-rc.d -f xdm remove
That said, you should boot the CD with the testcd cheatcode to see if it's ok, the installer could have left you with an incomplete install. Try installing from Ctrl-Alt-F1 instead of doing it from a GUI.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Markus
You could check /etc/inittab to see if runlevel 5 (graphical) is the default, should have a line like:
# The default runlevel.
id:5:initdefault:
Checked and this is OK
![Quote](images/misc/quote_icon.png)
Originally Posted by
Markus
Also check /etc/rc5.d to see if KDM is started, you don't need XDM, you should have a line like:
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S99kdm -> ../init.d/kdm
If not, do: update-rc.d kdm defaults
BTW, you can remove XDM with: update-rc.d -f xdm remove
I'm using the KDE interface as being new to Linux I'm not yet comfortable with the shell/commandline. Using Konqueror in my /etc/rc5.d I have two files and s99.kdm has a link attribute of ./init.d/kdm, and I'm assuming that this is the same thing?
I've just tried changing the line
HEED_DEFAULT_DISPLAY_MANAGER=true
to false as commented in the s99.kdm file but with no joy.
![Quote](images/misc/quote_icon.png)
Originally Posted by
Markus
That said, you should boot the CD with the testcd cheatcode to see if it's ok, the installer could have left you with an incomplete install. Try installing from Ctrl-Alt-F1 instead of doing it from a GUI.
I did do the instal from the commandline and not a GUI, and running the testcd option gave a clean bill of health, but thanks for the suggestion.
Thanks for taking the time to respond, and all other suggestions welcomed.
Reg
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
regday
I'm using the KDE interface as being new to Linux I'm not yet comfortable with the shell/commandline. Using Konqueror in my /etc/rc5.d I have two files and s99.kdm has a link attribute of ./init.d/kdm, and I'm assuming that this is the same thing?
What do you mean with two files? Mine looks like this:
markus@fujibox:~$ ll /etc/rc5.d
total 0
lrwxrwxrwx 1 root root 18 Apr 28 19:58 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root 15 Apr 28 19:58 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 18 May 31 22:08 S18quotarpc -> ../init.d/quotarpc
lrwxrwxrwx 1 root root 15 Apr 28 19:58 S20acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 14 Apr 28 19:58 S20alsa -> ../init.d/alsa
lrwxrwxrwx 1 root root 17 Apr 28 19:58 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 19 Aug 3 11:49 S20pppstatus -> ../init.d/pppstatus
lrwxrwxrwx 1 root root 13 May 1 15:17 S20xfs -> ../init.d/xfs
lrwxrwxrwx 1 root root 16 May 16 19:45 S20xprint -> ../init.d/xprint
lrwxrwxrwx 1 root root 15 Sep 12 18:20 S21aumix -> ../init.d/aumix
lrwxrwxrwx 1 root root 18 May 21 20:24 S35whereami -> ../init.d/whereami
lrwxrwxrwx 1 root root 14 Apr 28 19:58 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S99kdm -> ../init.d/kdm
lrwxrwxrwx 1 root root 19 Apr 28 19:58 S99rmnologin -> ../init.d/rmnologin
-
Senior Member
registered user
Do a reinstall from gui (kde).
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Markus
![Quote](images/misc/quote_icon.png)
Originally Posted by
regday
I'm using the KDE interface as being new to Linux I'm not yet comfortable with the shell/commandline. Using Konqueror in my /etc/rc5.d I have two files and s99.kdm has a link attribute of ./init.d/kdm, and I'm assuming that this is the same thing?
What do you mean with two files? Mine looks like this:
markus@fujibox:~$ ll /etc/rc5.d
total 0
lrwxrwxrwx 1 root root 18 Apr 28 19:58 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root 15 Apr 28 19:58 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 18 May 31 22:08 S18quotarpc -> ../init.d/quotarpc
lrwxrwxrwx 1 root root 15 Apr 28 19:58 S20acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 14 Apr 28 19:58 S20alsa -> ../init.d/alsa
lrwxrwxrwx 1 root root 17 Apr 28 19:58 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 19 Aug 3 11:49 S20pppstatus -> ../init.d/pppstatus
lrwxrwxrwx 1 root root 13 May 1 15:17 S20xfs -> ../init.d/xfs
lrwxrwxrwx 1 root root 16 May 16 19:45 S20xprint -> ../init.d/xprint
lrwxrwxrwx 1 root root 15 Sep 12 18:20 S21aumix -> ../init.d/aumix
lrwxrwxrwx 1 root root 18 May 21 20:24 S35whereami -> ../init.d/whereami
lrwxrwxrwx 1 root root 14 Apr 28 19:58 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 13 Apr 28 19:58 S99kdm -> ../init.d/kdm
lrwxrwxrwx 1 root root 19 Apr 28 19:58 S99rmnologin -> ../init.d/rmnologin
I used the terminal prog and got :-
rday@Linux1:~$ ll /etc/rc5.d
total 0
lrwxrwxrwx 1 root root 16 2004-09-24 11:57 S20cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 13 2004-09-24 11:57 S99kdm -> ../init.d/kdm
Reg
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
shah
Do a reinstall from gui (kde).
![Very Happy](images/smilies/icon_biggrin.gif)
How would I do that?
Reg
-
Senior Member
registered user
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
shah
Boot from cdrom, when presented with boot prompt, hit <enter> if you prefer kernel 2.4.26 or use cheatcodes which I would suggest:
knoppix26 alsa <enter>
Knoppix will load to kde.
Once in kde, open konsole by clicking "tv" icon at the bottom and type this command:
su <enter>
knoppix-installer <enter>
Follow instruction, you don't need to create any partition because you already has that. I would suggest you choose debian like hdd installation, it less problematic to me. Also choose to install lilo to mbr.
![Very Happy](images/smilies/icon_biggrin.gif)
If/When I decide to do a total reinstall I'll give your approach a try - thanks.
Reg
-
Sorry to say, but a reinstall might be in order. What type of install did you choose: Knoppix, Beginner, Debian?
Does anything happen when you boot with your current install and do: sudo init 5
You could also try Ctrl-Alt-F7 (or F5)?
BTW, how much RAM do you have, and partition size of install?
If would be nice to know what error messages you got, can you find anything in /var/log?
Similar Threads
-
By medwards67 in forum Customising & Remastering
Replies: 0
Last Post: 10-20-2004, 03:36 PM
-
By Mic Q in forum General Support
Replies: 1
Last Post: 10-20-2004, 05:57 AM
-
By bob58 in forum General Support
Replies: 6
Last Post: 04-12-2004, 08:22 PM
-
By nighty in forum General Support
Replies: 1
Last Post: 10-16-2003, 02:25 PM
-
By manghat in forum Customising & Remastering
Replies: 2
Last Post: 05-15-2003, 11:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![G.SKILL Trident Z5 RGB 64GB (2 x 32GB) 288-Pin PC RAM DDR5 6400 (PC5 51200) M... picture](/store/img/g/C4AAAOSwqnJjri~h/s-l225/G-SKILL-Trident-Z5-RGB-64GB-2-x-32GB-288-Pin-PC-RA.jpg)
G.SKILL Trident Z5 RGB 64GB (2 x 32GB) 288-Pin PC RAM DDR5 6400 (PC5 51200) M...
$217.99
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$13.50
![A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture](/store/img/g/HVQAAOSwZR1fWlxU/s-l225/A-Tech-8GB-PC3-12800-Desktop-DDR3-1600-MHz-Non-ECC.jpg)
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
![Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture](/store/img/g/uPEAAOSw0-1mBgnN/s-l225/Team-T-FORCE-VULCAN-Z-16GB-2-x-8GB-288-Pin-PC-RAM-.jpg)
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
![Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture](/store/img/g/DWUAAOSw5e1kv6CT/s-l225/Kingston-HyperX-FURY-DDR3-8GB-16GB-32G-1600-1866-1.jpg)
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$38.95
![64GB (4X 16GB) DDR3-1333 PC3-10600 Memory RAM for APPLE MAC PRO 5,1 Westmere picture](/store/img/g/f-IAAOSwUGxlwZ7W/s-l225/64GB-4X-16GB-DDR3-1333-PC3-10600-Memory-RAM-for-AP.jpg)
64GB (4X 16GB) DDR3-1333 PC3-10600 Memory RAM for APPLE MAC PRO 5,1 Westmere
$49.99