Sagara Wijetunga wrote: > > Here is what I did: > > 1. cat > .xinitrc << "EOF" > # Begin .xinitrc file > xterm -g 80x40+0+0 & > xclock -g 100x100-0+0 & > twm > EOF > > 2. startx > > 3. On xterm: > No $DBUS_SESSION_BUS_ADDRESS yet > eval `dbus-launch --sh-syntax --exit-with-session` > > echo $DBUS_SESSION_BUS_ADDRESS > unix:path=/var/tmp/dbus-XdU7IrFpIn,guid=4ea14ef09629ea18bde8fbb64b4d4b09 > > 4. On xterm: > /usr/bin/startkde >kde.log 2>&1 > > xmessage pop up: > Could not start D-Bus. Can you call qdbus? > > Here is the kde.log: > > kdostartupconfig4(7634) main: Running kdostartupconfig. > kdostartupconfig4(7634) main: > "/usr/home/testuser/.kde4/share/config/startupconfigkeys" > kdostartupconfig4(7634) 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 > Link points to "/tmp/testuser-kde4/kde-testuser" > Link points to "/var/tmp/testuser-kde4/kdecache-testuser" > Link points to "/tmp/testuser-kde4/ksocket-testuser" > startkde: Starting up... > startkde: Could not start D-Bus. Can you call qdbus? > > Regards > Sagara > > This qdbus error is due to some reason the dbus session bus started at step 3 above die before run the qdbus in /usr/bin/startkde. Leaving startkde to launch the dbus session bus works but the plasma-desktop still crashes as before. Note, this time I have a new dbus related message: plasma-desktop(1229) getComponent: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name") Btw, I also have noted, the first line of startkde is /bin/sh. In FreeBSD, /bin/sh does not point to /bin/bash. The /bin/sh and /bin/bash are two different things with incompatible syntax. Its better if KDE could use /bin/bash instead of /bin/sh. Included below is kde.log. Regards Sagara kde.log ===== 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 Link points to "/tmp/testuser-kde4/kde-testuser" Link points to "/var/tmp/testuser-kde4/kdecache-testuser" Link points to "/tmp/testuser-kde4/ksocket-testuser" startkde: Starting up... kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so kdeinit4: Launched KLauncher, pid = 1209, result = 0 klauncher(1209) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. klauncher(1209)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/testuser-kde4/ksocket-testuser/klauncherxJ1209.slave-socket" kdeinit4: opened connection to :0.0 kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so kdeinit4: Launched KDED, pid = 1210 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(1211) 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(1209)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/kbuildsycoca4" (pid 1216) up and running. kbuildsycoca4(1216) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. kbuildsycoca4 running... kbuildsycoca4(1216)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/ksycoca4" kbuildsycoca4(1216) KBuildSycoca::checkTimestamps: checking file timestamps kbuildsycoca4(1216) KBuildSycoca::checkTimestamps: timestamps check ok kbuildsycoca4(1216) kdemain: Emitting notifyDatabaseChanged () kdeinit4: PID 1216 terminated. kded(1211)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/ksycoca4" klauncher(1209)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/ksycoca4" kdeinit4: Got EXEC_NEW 'kconf_update' from launcher. kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so klauncher(1209)/kio (KLauncher) KLauncher::processRequestReturn: "kconf_update" (pid 1217) up and running. kdeinit4: PID 1217 terminated. kded(1211) KDEDModule::setModuleName: registerObject() successful for "NotificationItemWatcher" kded(1211) KDEDModule::setModuleName: registerObject() successful for "notificationitemwatcher" kded(1211)/kded4 Kded::loadModule: Successfully loaded module "notificationitemwatcher" kded(1211) XSyncBasedPoller::XSyncBasedPoller: 3 0 kded(1211) XSyncBasedPoller::XSyncBasedPoller: XSync seems available and ready QDBusObjectPath: invalid path "" kded(1211) PowerDevilDaemon::setUpConsoleKit: The session is not registered with ck kded(1211) XSyncBasedPoller::setUpPoller: XSync Inited kded(1211) 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(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) PowerDevilDaemon::profileFirstLoad: Profile initialization kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck X Error: XSyncBadAlarm 151 Extension: 142 (Uknown extension) Minor opcode: 11 (Unknown request) Resource id: 0x61 kded(1211) PowerDevilDaemon::checkIfCurrentSessionActive: Can't contact ck kded(1211) KDEDModule::setModuleName: registerObject() successful for "powerdevil" kded(1211)/kded4 Kded::loadModule: Successfully loaded module "powerdevil" kdeinit4: PID 1210 terminated. kdeinit4: preparing to launch /usr/lib/libkdeinit4_kcminit_startup.so X Error: XSyncBadAlarm 151 Extension: 142 (Uknown extension) Minor opcode: 11 (Unknown request) Resource id: 0x61 kdeinit4: Launched 'kcminit_startup', pid = 1218 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(1219) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. kcminit(1219)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/ksycoca4" kdeinit4: Got SETENV 'KDE_MULTIHEAD=false' from launcher. kdeinit4: PID 1218 terminated. kdeinit4: Got KWRAPPER 'ksmserver' from wrapper. kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so <unknown program name>(1208)/ KStartupInfo::createNewStartupId: creating: "tds;1263371086;644945;1208_TIME0" : "unnamed app" 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(1221) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. kdeinit4: Got SETENV 'SESSION_MANAGER=local/tds:/tmp/.ICE-unix/1221' from launcher. ksmserver(1221) SetAuthentication_local: KSMServer: SetAProc_loc: conn 0 , prot= local , file= /tmp/.ICE-unix/1221 ksmserver(1221) KSMServer::restoreSession: KSMServer::restoreSession "saved at previous logout" kwin(1224) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. kwin: it looks like there's already a window manager running. kwin not started. ksmserver(1221) KSMServer::wmProcessChange: Window manager "kwin" failed to launch kdeinit4: Got EXEC_NEW '/usr/bin/kwrited' from launcher. kdeinit4: preparing to launch /usr/bin/kwrited klauncher(1209)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/kwrited" (pid 1227) up and running. kdeinit4: Got EXEC_NEW '/usr/bin/plasma-desktop' from launcher. kdeinit4: preparing to launch /usr/lib/libkdeinit4_plasma-desktop.so klauncher(1209)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/plasma-desktop" (pid 1228) up and running. QMetaObject::indexOfSignal: signal readyRead() from QIODevice redefined in KPtyDevice kwrited(1227) KWrited::KWrited: listening on device /dev/ttyp2 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. plasma-desktop(1229) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. plasma-desktop(1229) getComponent: Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name") kded(1211)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/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 RandRScreen::loadSettings - adding mode: 308 800 x 600 RandRScreen::loadSettings - adding mode: 309 800 x 600 RandRScreen::loadSettings - adding mode: 310 640 x 480 RandRScreen::loadSettings - adding mode: 311 640 x 480 RandRScreen::loadSettings - adding mode: 312 640 x 480 RandRScreen::loadSettings - adding mode: 313 640 x 480 RandRScreen::loadSettings - adding mode: 314 720 x 400 RandRScreen::loadSettings - adding mode: 315 512 x 384 RandRScreen::loadSettings - adding mode: 316 512 x 384 RandRScreen::loadSettings - adding mode: 317 512 x 384 RandRScreen::loadSettings - adding mode: 318 416 x 312 RandRScreen::loadSettings - adding mode: 319 400 x 300 RandRScreen::loadSettings - adding mode: 320 400 x 300 RandRScreen::loadSettings - adding mode: 321 400 x 300 RandRScreen::loadSettings - adding mode: 322 400 x 300 RandRScreen::loadSettings - adding mode: 323 320 x 240 RandRScreen::loadSettings - adding mode: 324 320 x 240 RandRScreen::loadSettings - adding mode: 325 320 x 240 RandRScreen::loadSettings - adding crtc: 300 RandRScreen::loadSettings - adding output: 301 Setting CRTC 300 on output "default" (previous 0 ) CRTC outputs: (301) Output name: "default" Output refresh rate: 60 Output rect: QRect(0,0 1024x768) Output rotation: 1 XRandROutputs::init added output 301 adding an output 0 with geom: QRect(0,0 1024x768) output: "SCREEN-0" QRect(0,0 1024x768) 0 true true load xml connected: 1 looking for current "SCREEN-0" known "*" has score: 0.125 screen: 0 QRect(0,0 1024x768) looking for a matching configuration... connected: 1 looking for current "SCREEN-0" known "*" has score: 0.125 found outputs, known: false activate external configuration!! registered the service: true screens registered on the bus: true outputs registered on the bus: true configurations registered on the bus: true kded(1211) KDEDModule::setModuleName: registerObject() successful for "kephal" kded(1211)/kded4 Kded::loadModule: Successfully loaded module "kephal" plasma-desktop(1229)/plasma PlasmaApp::PlasmaApp: Setting the pixmap cache size to 15599 kilobytes klauncher(1209)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/testuser-kde4/kdecache-testuser/ksycoca4" kdeinit4: Got EXT_EXEC '/usr/bin/kglobalaccel' from launcher. kdeinit4: preparing to launch /usr/lib/libkdeinit4_kglobalaccel.so klauncher(1209)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/kglobalaccel" (pid 1233) up and running. 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. kglobalaccel(1234) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::loadSettings: Loading group "kwin" kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::loadSettings: Loading group "krunner" kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::loadSettings: Loading group "plasma-desktop" kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::loadSettings: Loading group "khotkeys" kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::loadSettings: Loading group "klipper" kglobalaccel(1234)/kdecore (kglobalaccel) GlobalShortcutsRegistry::registerKey: Registering key "Ctrl+F12" for "plasma-desktop" : "Show Dashboard" kdeinit4: PID 1233 terminated. Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa: MMX cpu detected. Mesa: SSE cpu detected. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasma-desktop path = <unknown> pid = 1229 kdeinit4: Got EXEC_NEW '/usr/lib/kde4/libexec/drkonqi' from wrapper. kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi plasma-desktop(1228): Communication problem with "plasma-desktop" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " kdeinit4: PID 1228 terminated. drkonqi(1237) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. 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. QObject::connect: Connecting from COMPAT signal (KTabBar::moveTab(int,int)) Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa: MMX cpu detected. Mesa: SSE cpu detected. plasma-desktop(1238) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1. QDBusObjectPath: invalid path "" plasma-desktop(1238)/plasma PlasmaApp::PlasmaApp: Setting the pixmap cache size to 15599 kilobytes Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa: MMX cpu detected. Mesa: SSE cpu detected. hijackWindow() context created for DrKonqiDialog(0x2c22b8b0) 1 QGLPixelBuffer: Unable to find a context/format match - giving up. QGLWindowSurface: Failed to create valid pixelbuffer, falling back QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x2c239b40) plasma-desktop(1236): Communication problem with "plasma-desktop" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " ___________________________________________________ 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.