Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] KDE is not starting anymore
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
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed Sep 27, 2006 12:12 pm    Post subject: [Solved] KDE is not starting anymore Reply with quote

Hi. Today I rebooted the system, and after the boot, kdm didn't start, and was replaced by another login manager, maybe xdm. Anyway, the login didn't work. I opened a shell and I shut down xdm. After the boot I tried with startx, but kde is not loaded correctly. The only errors I can see are:

Code:
Errors from xkbcomp are not fatal to the x server
Could not init font path element /usr/share/fonts/local/, removing from list!
/home/luca/.xinitrc: line 1: exec: startkde: not found
...
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing


Any idea of what could have happened?
Thanks and hi.

EDIT: In Xorg.0.log I found this:

Code:
(EE) Failed to load module "vnc" (module does not exist, 0)


Last edited by Luc484 on Thu Sep 28, 2006 2:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Sep 27, 2006 2:18 pm    Post subject: Reply with quote

your kde install is borked somewhere. Try emerge gentoolkit and running revdep-rebuild and see if anything comes up. If not, remerge kdelibs and kdm and kdebase-startkde.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed Sep 27, 2006 3:55 pm    Post subject: Reply with quote

I've tried to run revdep-rebuild, and it was rebuilding something, but it stops when trying to re-emerge openoffice 2.0.3, so I cannot go on with the other packages. Now I'm trying to re-emerge kdelibs, Ive already tried with the others you suggested.
Thank you for your help.
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Wed Sep 27, 2006 5:46 pm    Post subject: Reply with quote

Your error in xorg.log:

Code:
(EE) Failed to load module "vnc" (module does not exist, 0)


is caused by the fact that the vnc module is installed in a directory that is not by default in the module path. Depending on which vnc you installed (tighvnc/realvnc) you may have different paths to set. I have installed realvnc (net-misc/vnc) and added the following module path to my /etc/X11/xorg.conf:

# The module search path. The default path is shown here.
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib/modules/extensions"
ModulePath "/usr/local/lib/modules/extensions"

To find out which ModulePath to set just search for libvnc.so in your root partition or check where your vnc installation puts the file with the following command:

Code:
equery files vnc

or for tightvnc:
Code:
equery files tightvnc

But now let's talk about my problem:

I think I have something similar to you. After upgrading my whole system to profile 2006.1 and recompiling all packages I found out that kdm is no longer started. Even no other display manager is getting started like in your case. The script /etc/init.d/xdm fails telling me it cannot find kdm which is true because /usr/kde/3.5/bin is no longer in the search path. The script does a "which kdm" which is failing. I am wondering what may have caused this. Does anyone understand how the init script are getting the environment variables like $PATH? Which config file do I have to edit to add /usr/kde/3.5/bin ?

I am currently remerging kdelibs and kdm and kdebase-startkde as suggested above. I will let you know the results....
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Wed Sep 27, 2006 8:46 pm    Post subject: Reply with quote

I have found the root cause of my problem. I compared my /etc/env.d directory with that of another working gentoo install and found that the file "45kdepaths-3.5" was missing from my system. It contains:

Code:
PATH=/usr/kde/3.5/bin
ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin
LDPATH=/usr/kde/3.5/lib
CONFIG_PROTECT="/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown"

So you see it is setting the correct paths. To check which package installs this file I used:

Code:
equery belongs 45kdepaths-3.5


So arts is the one. I re-emerged arts and everything was working again. I could not figure out why this file actually vanished from my working system, though.

The big question here is: Why is this file installed by arts? It is a critical file for kde. If we don't have this file kde is not working as designed. We cannot run kdm by /etc/init.d/xdm. Anyone having some insight? Is there a bug in the kde packages?
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed Sep 27, 2006 11:51 pm    Post subject: Reply with quote

I tried re-emerging kdebase-startkde, kdm, arts, kdelibs, xorg-server and reached the end of revdep-rebuild. The result is that I still cannot run kde. I tried running /usr/kde/3.5/bin/startkde and I get:

Code:
Xsetroot: unable to open display ' '
 Xset: Unable to open display " "
 Xset: Unable to open display " "
 Xset: Unable to open display " "
 Xset: Unable to open display " "
 Xsetroot: Unable to open display "
 Startkde: Starting up...
 Ksplash: Cannot connect to X server
 Kdeinit: Aborting. $DISPLAY is not set
 Warning: Connect() failed: No such file or directory
 ksmserver: Cannot connect to X server
 ERROR: Couldn't attach to DCOP server!
 startkde: Shutting down...
Warning: connect() failed: No such file or directory
Error: can't contact kdeinit!
startkde: running shutdown scripts...
startkde: done


Any other idea guys? I found many threads with these errors, but no one applied my case.
Thanks.

EDIT: Ok, thanks, I solved. The problem was hat /usr/kde/3.5/bin/ was not in the path. Addind it to the path made everthing work. Thanks and sorry.
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