kanotix.com

General Support - Oops lost KDE log in and desktop?

dave52355 - 12.09.2006, 01:01 Uhr
Titel: Oops lost KDE log in and desktop?
My wife's laptop has been great for nearly a year thanks to Kanotix. But than I did a bad thing Traurig 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!!
jackiebrown - 12.09.2006, 01:38 Uhr
Titel: RE: Oops lost KDE log in and desktop?
Make sure kdm is still installed
Swynndla - 12.09.2006, 01:50 Uhr
Titel: RE: Oops lost KDE log in and desktop?
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.
piper - 12.09.2006, 03:00 Uhr
Titel: RE: Oops lost KDE log in and desktop?
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

dave52355 - 12.09.2006, 04:45 Uhr
Titel: RE: Oops lost KDE log in and desktop?
Sorry, but still not working. I installed kdm removed kdm re-installed kdm ran du-fixes-h2.sh but still boots to text.
Swynndla - 12.09.2006, 05:09 Uhr
Titel: RE: Oops lost KDE log in and desktop?
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
stryder - 12.09.2006, 06:10 Uhr
Titel: RE: Oops lost KDE log in and desktop?
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.
dave52355 - 12.09.2006, 17:19 Uhr
Titel:
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
slh - 12.09.2006, 17:22 Uhr
Titel:
/usr/share/doc/sysvinit/NEWS.Debian.gz
dave52355 - 13.09.2006, 00:13 Uhr
Titel:
/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.
Swynndla - 13.09.2006, 08:23 Uhr
Titel:
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.
dave52355 - 13.09.2006, 16:54 Uhr
Titel:
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
piper - 13.09.2006, 17:03 Uhr
Titel:
You can try

dpkg-reconfigure kdm

Choose kdm as default
piper - 13.09.2006, 17:05 Uhr
Titel:
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
dave52355 - 13.09.2006, 23:59 Uhr
Titel:
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.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007