Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACK! Power failure, now KDE won't start!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sat Oct 26, 2002 7:46 am    Post subject: ACK! Power failure, now KDE won't start! Reply with quote

<Edit> OK, sorry about the incoherent post. I was on cold/allergy/flu medicine when I typed it =). Let me try to re-explain.

My system was working. It booted into KDE. I had followed the desktop guide found in the documentation guide to set it all up. It has been working for 1 to 2 months now, until last night.

Last night, while I was at the login screen in KDE, there was a brief power failure, just long enough so my system rebooted. When I got back to the login screen again, it looked like all my kdmrc settings got wiped out. The background was gone, and it listed every single user in the login box. It no longer lists kde as one of the session types. It only lists default, and failsafe.

Now, when I log in with any account, I am greeted by a small console window in the top-most, left corner of the screen. If I type startkde as any user in this terminal/console window, KDE starts, and I'm back to my customized desktop, in KDE. When I log out of KDE, and log back in, the same thing happens.

Is it possible that during the power failure, KDM got messed up? I've checked the kdmrc file in /usr/kde/3/share/config/kdm/ and there doesn't seem to be anything wrong with that.
I am using XFS for my root file system.
</Edit>

Thanks for any help!
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718


Last edited by thorne on Sun Oct 27, 2002 10:11 am; edited 7 times in total
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Sat Oct 26, 2002 11:28 am    Post subject: Reply with quote

i don't really understand what the prob so i'm just asking do u want when booting to start with kdm ?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sat Oct 26, 2002 8:21 pm    Post subject: Reply with quote

Yes. rc.local is set to start kde, but it doesn't start.

Code:
# What display manager do you use ?  [ xdm | gdm | kdm ]
DISPLAYMANAGER=kdm


If I type kdm in the term window, nothing happens. If I type startkde, kde starts.
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 27, 2002 12:33 am    Post subject: Reply with quote

I found KDM crashed -> all settings lost. Unless someone has an alternative, that might be the only way out.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 1:01 am    Post subject: Reply with quote

I was hoping I wouldn't have to do that. I guess I have no other option though.

I will re-emerge kde-base now.

Stupid xfs file system. one "crash" can destroy any files that are in use. I'm using ext3 next time.
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 3:01 am    Post subject: Reply with quote

well, just re-emerged kde-base. It's still doing the same thing as described above.

Let me see if I understand this better after some thought. It looks like KDM starts fine, but once I log in, it does not start KDE. I just get an x-like interface with one term window. The term window has no borders (for re-sizing, moving, etc. It doesn't even have a title bar.)

For KDE to start up, I have to type startkde in this terminal window. What am I missing between login and startup that starts kde?
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 27, 2002 3:33 am    Post subject: Reply with quote

Do you have a .xsession file in your home dir?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 3:45 am    Post subject: Reply with quote

let's see... I have an .xsession-errors, and .xftcache... no .xsession.

.xsession-errors is an empty file.
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 27, 2002 4:01 am    Post subject: Reply with quote

thorne wrote:
Yes. rc.local is set to start kde, but it doesn't start.

Code:
# What display manager do you use ?  [ xdm | gdm | kdm ]
DISPLAYMANAGER=kdm
Just to double check, this was in /etc/rc.conf? What is the XSESSION variable set to in rc.conf?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 4:54 am    Post subject: Reply with quote

Yes, I meant rc.conf.

XSESSION=kde-3.0.2 <Edit>ack! changed this to 3.0.4, but still no dice... look a few posts down.</Edit>

looks like there are a lot of errors in /var/log/kdm. Looks like gibberish to me though, so I'm not sure what it all means. I don't want to post the entire thing here, as it is quite long. I will post a few excerpts from it in hope that someone can tell me if any of this is even related to my problem.

Code:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.


Code:
XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19-gentoo-r7 i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Oct 24 23:22:55 2002
(==) Using config file: "/etc/X11/XF86Config"
(II) [GLX]: Calling GlxExtensionInit
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
sessions: SessionTypes=Xsession,kde-3.0.3,kde-3.0.4,
Changing kdmrc in /usr/kde/3
Changing kdmrc in /usr
/usr/X11R6/lib/X11/xdm/Xsetup_0: cd: /usr/share/config/kdm: No such file or directory
Changing kdmrc in /usr/kde/3
AUDIT: Fri Oct 25 01:32:57 2002: 5193 X: client 19 rejected from local host
AUDIT: Fri Oct 25 01:33:43 2002: 5193 X: client 19 rejected from local host
AUDIT: Fri Oct 25 01:36:39 2002: 5193 X: client 19 rejected from local host
AUDIT: Fri Oct 25 01:36:46 2002: 5193 X: client 19 rejected from local host

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19-gentoo-r7 i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Oct 25 21:10:44 2002
(==) Using config file: "/etc/X11/XF86Config"
(II) [GLX]: Calling GlxExtensionInit
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
sessions: SessionTypes=Xsession,kde-3.0.3,kde-3.0.4,
Changing kdmrc in /usr/kde/3
Changing kdmrc in /usr
/usr/X11R6/lib/X11/xdm/Xsetup_0: cd: /usr/share/config/kdm: No such file or directory
Changing kdmrc in /usr/kde/3
(II) [GLX]: Calling GlxExtensionInit
Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!


Code:
kdecore (KAccel): WARNING: Sym::initQt( c0ffff ): failed to convert key.

_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718


Last edited by thorne on Sun Oct 27, 2002 11:21 am; edited 2 times in total
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 10:22 am    Post subject: Reply with quote

One other thing. In /var/log, there also is a file named xdm-errors which contains this text:

Code:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

xdm error (pid 5438): server unexpectedly died
xdm error (pid 5438): Server for display :0 can't be started, session disabled

_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 11:19 am    Post subject: Reply with quote

I've tried creating a .xsession file (made it executable, chmod u+x) and all that I have in it is:

Code:
#!/bin/sh
/usr/kde/3/bin/startkde &


But when I log in... I still have only the console/terminal window, and I have to type startkde to get kde to start. KDE will even start if I type ./.xsession, but the .xsession script will not execute on its own. I checked, and double checked rc.conf.

rc.conf:
Code:
# What display manager do you use ?  [ xdm | gdm | kdm ]
DISPLAYMANAGER=kdm

...

XSESSION=kde-3.0.4


There is a kde-3.0.4 startup script in /etc/X11/Sessions, and it is executable. As a matter of fact, I just cut and past the contents of that file into my .xsession file.

Do I really need a .xsession file though? To my recollection, I have never had one before. The XSESSION variable in rc.conf should execute the startup script kde-3.0.4 found in /etc/X11/Session, and it just does not seem to be doing that.

As far as I can tell, .xsession and .xinitrc are only used to overide settings, and start up applications you want when you log in. I was just trying to get kde to start... and I finally realized that I shouldn't have to do that via the .xsession file, since XSESSION in rc.conf should do that for me.

I'm sure there must be an easy solution to this, but I am a noob, after all.... HELP! =)
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 27, 2002 6:56 pm    Post subject: Reply with quote

You shouldn't need the .xsession file.
thorne wrote:
Code:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
Without starting X, does /tmp/.X0-lock exist?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Sun Oct 27, 2002 7:51 pm    Post subject: Reply with quote

OK, the only way I could think of not starting X, was to remove it from the default run level.

I typed:
Code:
rc-update del xdm default


Now, however, although this is most likely totally unrelated, grub gives me an error on boot.

Code:
Grub Loading stage1.5



Grub loading, please wait...
Error 15


I was recompiling the kernel last night to change the sound drivers around. I'll boot off the cd to see if I disabled XFS support, but I seriously doubt I made any other changes other than sound related.
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 27, 2002 8:40 pm    Post subject: Reply with quote

My money is on the kernel recompile (unless it is somethig else entirely).
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Mon Oct 28, 2002 2:14 am    Post subject: Reply with quote

Well, I"m recompiling the kernel now, although I couldn't seem to find anything wrong with the selected options. Let's just keep our fingers crossed!

Then I can start working on the "KDE won't start" problem again.
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Mon Oct 28, 2002 2:27 am    Post subject: Reply with quote

nope. no go. looks like now I have an entirely different problem on my hands.

maybe I should just re-install gentoo. I'm running out of ideas.

<edit>I messed around with grub, re-installing it, re-installing it onto the master boot record, etc. Still the same result. Error 15.

I am now in the process of re-installing gentoo from stage1. This time around, it should be less "painful," and I will probably end up with a better system. FOr one, I'm not using XFS this time around. I'm using EXT3. Also, I'm using optimizations via CFLAGS, which I did not do at all that last time around.</edit>
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum