KDE 4.3.4 cannot start

Sagara Wijetunga sagara at tomahawk.com.sg
Fri Jan 8 10:44:17 GMT 2010


Sagara Wijetunga wrote:
> I have pre installed what is mentioned in the 
> http://techbase.kde.org/Getting_Started/Build/KDE4/LFS, others 
> installed as when needed when compiling KDE. What is not installed in 
> what you mentioned are only cpptoxml, tapioca-qt and telepathy-qt. 
> They were not mentioned at the cmake stage yet.
>
> I have found why /usr/bin/kdostartupconfig4 fails.
>
> /usr/bin/kdostartupconfig4
> kdostartupconfig4(12560) main: Running kdostartupconfig.
> kdostartupconfig4(12560) main: 
> "/root/.kde/share/config/startupconfigkeys"
> echo $?
> 3
> ls -l /root/.kde/share/config/startupconfigkeys
> ls: /root/.kde/share/config/startupconfigkeys: No such file or directory
>
> ls -l /root/.kde4/share/config/startupconfigkeys
> -rw-r--r-- 1 root wheel 371 Jan 8 12:49 
> /root/.kde4/share/config/startupconfigkeys
>
> So the file path specified is wrong:
>
> QString keysname = KStandardDirs::locateLocal( "config", 
> "startupconfigkeys" );
> QFile keys( keysname );
> if( !keys.open( QIODevice::ReadOnly ))
>    return 3;
>
> Now the question is what environment variable provides .kde4 instead 
> .kde?
>
> Regards
> Sagara
>

I have another update.

I made a small change in my /etc/profile.d/kde4.sh:
- KDEHOME=$HOME/.kde4
+ KDEHOME=$HOME/.kde

Now startx does not pop with kstartupconfig4 issue and it continue. I 
get a very nice graphical screen, hard disk icon come first, I get some 
more icons, and I finally get the KDE logo and then run for a while and 
plasma-desktop crashes.

The startkde issues following errors:
kbuildsycoca4(1388) VFolderMenu::pushDocInfo: Menu 
"applications-kmenuedit.menu" not found.

kio_file(1406) kdemain: Starting  1406
kio_file(1406) FileProtocol::copy: copy():  
KUrl("file:///root/.kde/share/config/plasmarc")  ->  
KUrl("file:///root/.kde/share/config/plasma-desktoprc") , mode= -1
using visual class 4, id e6
Abort trap (core dumped)
kded(1384): Communication problem with  "kded" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not 
receive a reply. Possible causes include: the remote application did not 
send a reply, the message bus security policy blocked the reply, the 
reply timeout expired, or the network connection was broken." "


When I run again, I don't get this kio file copy error but in both cases 
I get following:
kded(1385) XSyncBasedPoller::XSyncBasedPoller: XSync seems available and 
ready
QDBusObjectPath: invalid path ""
kded(1385) PowerDevilDaemon::setUpConsoleKit: The session is not 
registered with ck

kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck

I have included below following:
1. /etc/profile.d/qt4.sh
2. /etc/profile.d/kde4.sh
3. startkde error list (first 158 lines)

Regards
Sagara

/etc/profile.d/qt4.sh
==============

QTDIR=/usr
QT_PLUGIN_PATH=$QTDIR/lib/kde4/plugins
PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH

export QTDIR QT_PLUGIN_PATH PKG_CONFIG_PATH


/etc/profile.d/kde4.sh
================

KDEX="kde4"

XDG_DATA_HOME="$HOME/.local/share"
XDG_CONFIG_HOME="$HOME/.config"
mkdir -p $XDG_DATA_HOME
mkdir -p $XDG_CONFIG_HOME
export XDG_DATA_HOME XDG_CONFIG_HOME

KDEDIR="/usr"
KDEDIRS=$KDEDIR
KDEHOME=$HOME/.kde
export KDEDIR KDEDIRS KDEHOME

if test -n "$MANPATH" ; then
 MANPATH=$MANPATH:"$KDEDIR/share/man"
else
 MANPATH="$KDEDIR/share/man"
fi

export MANPATH

KDETMP=/tmp/$USER-$KDEX
mkdir -p $KDETMP
KDEVARTMP=/var/tmp/$USER-$KDEX
mkdir -p $KDEVARTMP
export KDETMP KDEVARTMP

KDE4_XDG_CONFIG_DIRS=/etc/kde/xdg:/etc/xdg
KDE4_XDG_DATA_DIRS=/usr/share:/usr/local/share

if test -n "$XDG_CONFIG_DIRS" ; then
 XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDE4_XDG_CONFIG_DIRS
else
 XDG_CONFIG_DIRS=$KDE4_XDG_CONFIG_DIRS
fi

if test -n "$XDG_DATA_DIRS" ; then
 XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE4_XDG_DATA_DIRS
else
 XDG_DATA_DIRS=$KDE4_XDG_DATA_DIRS
fi

export XDG_DATA_DIRS XDG_CONFIG_DIRS


startkde error list (first 158 lines)
========================

kdostartupconfig4(1355) main: Running kdostartupconfig.
kdostartupconfig4(1355) main: "/root/.kde/share/config/startupconfigkeys"
kdostartupconfig4(1355) KLocalePrivate::initEncoding: Cannot resolve 
system encoding, defaulting to ISO 8859-1.
xset:  bad font path element (#23), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
Creating link /root/.kde/tmp-tds.
Created link from "/root/.kde/tmp-tds" to "/tmp/root-kde4/kde-root"
Creating link /root/.kde/cache-tds.
Created link from "/root/.kde/cache-tds" to 
"/var/tmp/root-kde4/kdecache-root"
Creating link /root/.kde/socket-tds.
Created link from "/root/.kde/socket-tds" to "/tmp/root-kde4/ksocket-root"
startkde: Starting up...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Launched KLauncher, pid = 1383, result = 0
klauncher(1383) KLocalePrivate::initEncoding: Cannot resolve system 
encoding, defaulting to ISO 8859-1.
klauncher(1383)/kio (KIOConnection) 
KIO::ConnectionServer::listenForRemote: Listening on  
"local:/tmp/root-kde4/ksocket-root/klauncherxJ1383.slave-socket"
kdeinit4: opened connection to :0.0
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
kdeinit4: Launched KDED, pid = 1384 result = 0
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name:               Intel(R) Pentium(R) 4 CPU 3.00GHz
Mesa: Mesa 7.6.1 DEBUG build Jan  1 2010 20:18:55
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
kded(1385) KLocalePrivate::initEncoding: Cannot resolve system encoding, 
defaulting to ISO 8859-1.
kdeinit4: Got EXT_EXEC '/usr/bin/kbuildsycoca4' from launcher.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
klauncher(1383)/kio (KLauncher) KLauncher::processRequestReturn: 
"/usr/bin/kbuildsycoca4" (pid 1388) up and running.
kbuildsycoca4(1388) KLocalePrivate::initEncoding: Cannot resolve system 
encoding, defaulting to ISO 8859-1.
kbuildsycoca4 running...
kbuildsycoca4(1388)/kdecore (KSycoca) KSycocaPrivate::openDatabase: 
Trying to open ksycoca from  "/var/tmp/root-kde4/kdecache-root/ksycoca4"
kbuildsycoca4(1388) kdemain: Reusing existing ksycoca
kbuildsycoca4(1388) KBuildSycoca::recreate: Recreating ksycoca file 
("/var/tmp/root-kde4/kdecache-root/ksycoca4", version 143)
kbuildsycoca4(1388) KBuildSycoca::createEntry: new: "screensaver.desktop"
kbuildsycoca4(1388) VFolderMenu::pushDocInfo: Menu 
"applications-kmenuedit.menu" not found.
kbuildsycoca4(1388) VFolderMenu::processMenu: Processing KDE Legacy dirs 
for <KDE>
kbuildsycoca4(1388) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(1388) VFolderMenu::loadApplications: Looking up 
applications under "/usr/share/applications/"
kbuildsycoca4(1388) VFolderMenu::loadApplications: Looking up 
applications under "/usr/share/applications/kde4"
kbuildsycoca4(1388) KBuildSycoca::save: Saving
kbuildsycoca4(1388) kdemain: Emitting notifyDatabaseChanged ("services")
kdeinit4: PID 1388 terminated.
kded(1385)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to 
open ksycoca from  "/var/tmp/root-kde4/kdecache-root/ksycoca4"
klauncher(1383)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying 
to open ksycoca from  "/var/tmp/root-kde4/kdecache-root/ksycoca4"
kdeinit4: Got EXEC_NEW 'kconf_update' from launcher.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
klauncher(1383)/kio (KLauncher) KLauncher::processRequestReturn: 
"kconf_update" (pid 1389) up and running.
klauncher(1383)/kio (KLauncher) KLauncher::requestSlave: KLauncher: 
launching new slave  "kio_file"  with protocol= "file"  args= ("file", 
"local:/tmp/root-kde4/ksocket-root/klauncherxJ1383.slave-socket", 
"local:/tmp/root-kde4/ksocket-root/plasma-to-plasma-desktopME1405.slave-socket")
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
klauncher(1383)/kio (KLauncher) KLauncher::processRequestReturn: 
"kio_file" (pid 1406) up and running.
kio_file(1406) KLocalePrivate::initEncoding: Cannot resolve system 
encoding, defaulting to ISO 8859-1.
kio_file(1406) kdemain: Starting  1406
kio_file(1406) FileProtocol::copy: copy():  
KUrl("file:///root/.kde/share/config/plasmarc")  ->  
KUrl("file:///root/.kde/share/config/plasma-desktoprc") , mode= -1
using visual class 4, id e6
Abort trap (core dumped)
kded(1384): Communication problem with  "kded" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not 
receive a reply. Possible causes include: the remote application did not 
send a reply, the message bus security policy blocked the reply, the 
reply timeout expired, or the network connection was broken." "

kdeinit4: PID 1384 terminated.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kcminit_startup.so
kdeinit4: Launched 'kcminit_startup', pid = 1407 result = 0
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name:               Intel(R) Pentium(R) 4 CPU 3.00GHz
Mesa: Mesa 7.6.1 DEBUG build Jan  1 2010 20:18:55
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
kcminit(1410) KLocalePrivate::initEncoding: Cannot resolve system 
encoding, defaulting to ISO 8859-1.
kded(1385): "Error launching kconf_update. Either KLauncher is not 
running anymore, or it failed to start the application."

kcminit(1410)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to 
open ksycoca from  "/var/tmp/root-kde4/kdecache-root/ksycoca4"
kdeinit4: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
kdeinit4: PID 1407 terminated.
kdeinit4: Got KWRAPPER 'ksmserver' from wrapper.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so
<unknown program name>(1381)/ KStartupInfo::createNewStartupId: 
creating:  "tds;1262940334;565069;1381_TIME0" : "unnamed app"
kded(1385) KDEDModule::setModuleName: registerObject() successful for  
"NotificationItemWatcher"
kded(1385) KDEDModule::setModuleName: registerObject() successful for  
"notificationitemwatcher"
kded(1385)/kded4 Kded::loadModule: Successfully loaded module 
"notificationitemwatcher"
kded(1385) XSyncBasedPoller::XSyncBasedPoller: 3 0
kded(1385) XSyncBasedPoller::XSyncBasedPoller: XSync seems available and 
ready
QDBusObjectPath: invalid path ""
kded(1385) PowerDevilDaemon::setUpConsoleKit: The session is not 
registered with ck
kded(1385)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kded(1385) XSyncBasedPoller::setUpPoller: XSync Inited
kded(1385) XSyncBasedPoller::setUpPoller: Supported, init completed
QMetaObject::indexOfSignal: signal resumingFromIdle() from 
AbstractSystemPoller redefined in XSyncBasedPoller
QMetaObject::indexOfSignal: signal pollRequest(int) from 
AbstractSystemPoller redefined in XSyncBasedPoller
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::profileFirstLoad: Profile initialization
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
X Error: XSyncBadAlarm 151
 Extension:    142 (Uknown extension)
 Minor opcode: 11 (Unknown request)
 Resource id:  0x61
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
X Error: XSyncBadAlarm 151
 Extension:    142 (Uknown extension)
 Minor opcode: 11 (Unknown request)
 Resource id:  0x61
kdeinit4: PID 1389 terminated.
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
X Error: XSyncBadAlarm 151
 Extension:    142 (Uknown extension)
 Minor opcode: 11 (Unknown request)
 Resource id:  0x61
kded(1385) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck
kded(1385) KDEDModule::setModuleName: registerObject() successful for  
"powerdevil"
kded(1385)/kded4 Kded::loadModule: Successfully loaded module "powerdevil"
X Error: XSyncBadAlarm 151
 Extension:    142 (Uknown extension)
 Minor opcode: 11 (Unknown request)
 Resource id:  0x61
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name:               Intel(R) Pentium(R) 4 CPU 3.00GHz
Mesa: Mesa 7.6.1 DEBUG build Jan  1 2010 20:18:55
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn 
compression/decompression unavailable
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
ksmserver(1419) KLocalePrivate::initEncoding: Cannot resolve system 
encoding, defaulting to ISO 8859-1.
kdeinit4: Got SETENV 'SESSION_MANAGER=local/tds:/tmp/.ICE-unix/1419' 
from launcher.
ksmserver(1419) SetAuthentication_local: KSMServer: SetAProc_loc: conn  
0 , prot= local , file= /tmp/.ICE-unix/1419
ksmserver(1419) KSMServer::restoreSession: KSMServer::restoreSession  
"saved at previous logout"
kwin(1424) KLocalePrivate::initEncoding: Cannot resolve system encoding, 
defaulting to ISO 8859-1.
kded(1385)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to 
open ksycoca from  "/var/tmp/root-kde4/kdecache-root/ksycoca4"
kephald starting up
XRANDR error base:  159
RRInput mask is set!!
RandRScreen::loadSettings - adding mode:  302 1024 x 768
RandRScreen::loadSettings - adding mode:  303 1024 x 768
RandRScreen::loadSettings - adding mode:  304 1024 x 768
RandRScreen::loadSettings - adding mode:  305 832 x 624
RandRScreen::loadSettings - adding mode:  306 800 x 600
RandRScreen::loadSettings - adding mode:  307 800 x 600


___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list