Autor |
Nachricht |
|
Titel: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 01:01 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
My wife's laptop has been great for nearly a year thanks to Kanotix. But than I did a bad thing Yesterday I did a dist-upgrade. Boy that was 8 hours of pure terror!!!!!
I found the du-fixer-h2 script which pretty much got things going again but the LT is booting to a text prompt for log in instead of the GUI log in.
I can init 5 and run startkde after logging in as root and kde run's fine. Just need to know where I am missing the step.
Thanks for any and all help!! |
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 01:38 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
Make sure kdm is still installed |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 01:50 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Also, I'd suggest running the du-fixer-h2 script again, just to make sure, and also select the xorg fix when you are given the option. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 03:00 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
Try
Code:
apt-get-install kdm
If that don't work try
Code:
apt-get install --reinstall -o DPkg::Options::=--force-confmiss -o DPkg::Options::=--force-confnew kdebase-data
|
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 04:45 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
Sorry, but still not working. I installed kdm removed kdm re-installed kdm ran du-fixes-h2.sh but still boots to text. |
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 05:09 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
What is the contents of /etc/X11/default-display-manager ?
Edit: oh I bet it must be "/usr/bin/kdm" as you said that init 5 works okay ... alright then, can you paste the output of this command instead:
ls /etc/rc*/* | grep kdm |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel: RE: Oops lost KDE log in and desktop?
Verfasst am: 12.09.2006, 06:10 Uhr
|
|
Anmeldung: 26. Jun 2005
Beiträge: 389
|
|
Well, he says that after init 5 he has to log in as root and run startkde. Seems to me the init script to start kdm at init 5 is missing. The ls should establish this. Could be due to the recent problem with initscripts. If so might be worth looking at this thread: http://kanotix.com/PNphpBB2-viewtopic-t-20656.html in case there are other issues. Might also be worth just running /etc/init.d/kdm start just to make sure kdm works fine. |
|
|
|
|
 |
|
Titel:
Verfasst am: 12.09.2006, 17:19 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
Still nothing. btw there is no kdm script in usr/bin
ls /etc/rc*/* | grep kdm results in no response or nothing displayed.
Also as kde loads I'm getting a lot of missing font errors and font dir errors. I've run the font fix -e but still missing 100 dpi fonts 75 dpi fonts and directories.
Again thanks |
|
|
|
|
 |
|
Titel:
Verfasst am: 12.09.2006, 17:22 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
/usr/share/doc/sysvinit/NEWS.Debian.gz |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 00:13 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
/usr/share/doc/sysvinit/NEWS.Debian.gz tried the scripts lots of errors were listed followed by unable to repair. And there was no restore backup file.
Thanks again. |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 08:23 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
dave52355 ... never think that dist-upgrading is safe, just because you see a lot of people here doing it. Those people do it all the time and know what they are doing. The other posts you see on here are how people have lost their entire system. It's always a risk. Even the most experienced users will say that it's not without risk. If unsure, don't do it.
Bit late now you are saying? ... well, I think you may be in the situation where you should probably install again, but don't do an entire install, do an "upgrade install" and select to keep your "/home" (and such). Use the 2006-easter-rc4 release, and it'll drop in a nice X. Back up any important data first.
But if you like, since you have nothing to lose, you can try a couple of more things before the upgrade install ... first try doing:
Code:
apt-get update
unfreeze-rc.d
apt-get remove --purge kdm
apt-get install kdm
freeze-rc.d
... and if that doesn't work, then try something radical:
Code:
apt-get remove --purge xorg.* xserver.* kdm.* kde.* libx.*
(that's right, include the dots)
That should pretty much wipe out all of X off your system.
Now do:
Code:
apt-get update
unfreeze-rc.d
apt-get update
apt-get install kdm kde
freeze-rc.d
This might not work, and I'm only guessing about it, but it's worth a try if you are about to do an upgrade install anyway. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 16:54 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
Thanks, I'll give that a try. But I wonder after booting into text and entering the root password I can type kdm and a partial GUI starts with a small xterm type window. In the window I type startkde and kde starts up. Everything from that point looks great. All of the data is intact and the system runs very fast. Also from root if I type startx, my kde starts automagically. I've been playing with Linux off and on but I am still very much a novice. But I'm wondering shouldn't there be scripts like DOS autoexec that start these automagically? The other thing I'm seeing is apt-get update has 2 errors at the bottom where 2 of the sources has "no no valid user key" Could this be the issue? And does anyone have a current source list?
Again, Thanks |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 17:03 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
You can try
dpkg-reconfigure kdm
Choose kdm as default |
_________________ h2's d-u script
h2's rdiff-backup script
Zuletzt bearbeitet von piper am 13.09.2006, 17:13 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 17:05 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
dave52355 hat folgendes geschrieben::
The other thing I'm seeing is apt-get update has 2 errors at the bottom where 2 of the sources has "no no valid user key" Could this be the issue? And does anyone have a current source list?
Again, Thanks
Do
wget -O/etc/apt/sources.list http://kanotix.com/files/fix/sources.list
for current source list
Try
apt-get install kanotix-keyrings
apt-key add /root/.gnupg/pubring.gpg
apt-get update |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|
Titel:
Verfasst am: 13.09.2006, 23:59 Uhr
|
|
Anmeldung: 12. Sep 2006
Beiträge: 6
|
|
Thanks to everyone who responded. The laptop is back to working without reinstalling. I'm sure all the tips contributed to this, but the final part of the puzzle came from piper.
So again, thanks everybody. |
|
|
|
|
 |
|