LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-27-2013, 11:28 PM   #1
jjsmithct
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Rep: Reputation: 0
blfs - troubleshooting KDE4 on lfs 7.2


Hi all.

I successfully (I think) built lfs 7.2 in a vm on my laptop. I've moved on through blfs with the initial goal mainly to get X working with a decent desktop - first trying KDE.

I've gotten through the KDE core but am having issues when issuing 'startx'.

I get a lot of errors on the console and stuff that things are not working quite right. KDE does come up but I get two dialog boxes on the dt with:

Could not find mime types:
"inode/directory"
"inode/{blockdevice, chardevice, socket, fifo"}
"application/x-shellscript, x-executables etc...}

========================
Since a lot of the messages on the console repeat, I've separated some of them out as it maybe easier to read.

I don't know KDE very well yet, and the same for some of these components (nepomuk, akonadi, dbus) - if anyone can make suggestions on where I might have gone wrong (before I scrap the whole build and start over) it would be appreciated!

Thanks,
jjs

Code:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(Q
String,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Appl
ication may misbehave.

QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"

kded(6946) KActivities::Manager::self: Activity: The kactivitymanagerd service is still not registered
kded(6946) KActivities::ConsumerPrivate::ConsumerPrivate: We are checking whether the service is present false
kded(6946) PowerDevil::BackendLoader::loadBackend: Loading UPower backend...
kded(6946) PowerDevilUPowerBackend::isAvailable: UPower service,  org.freedesktop.UPower , is not registered on the bus. Trying to find out if it is activated.
kded(6946) PowerDevilUPowerBackend::isAvailable: UPower cannot be found on this system.
kded(6946) PowerDevil::BackendLoader::loadBackend: Failed!
kded(6946) PowerDevil::BackendLoader::loadBackend: Loading HAL backend...
kded(6946) PowerDevil::BackendLoader::loadBackend: Failed!
kded(6946): KDE Power Management System init failed!
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.5'
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

_IceTransSocketOpenCOTSServer: Unable to open socket for inet6
_IceTransOpen: transport open failed for inet6/beryllium:
_IceTransMakeAllCOTSServerListeners: failed to open listener for inet6
(expected)

QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
running in thread ActivityRanking

kwin(6965): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed"

QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread

QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread

plasma-desktop(6985)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(6985)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability

plasma-desktop(6985)/kdecore (trader) mimeTypeSycocaOffers: KMimeTypeTrader: mimeType "text/html" not found
plasma-desktop(6985)/kdecore (trader) mimeTypeSycocaOffers: KMimeTypeTrader: mimeType "inode/directory" not found

virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"

static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.

file:///opt/kde/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:103: TypeError: Result of expression 'listView' [null] is not an object.
file:///opt/kde/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:175: ReferenceError: Can't find variable: sectionsRepeater
...
...
file:///opt/kde/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:217:13: QML QDeclarativeListView_QML_52: Possible anchor loop detected on fill.
file:///opt/kde/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:217:13: QML QDeclarativeListView_QML_52: Possible anchor loop detected on fill.


X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x1e000c0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x1e000b7
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x1e000ae
...
...
plasma-desktop(6985)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
plasma-desktop(6985)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
...
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3
Invalid database object during database server startup

"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x80926a5]
1: akonadiserver() [0x80929df]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb775c400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb775c424]
4: /lib/libc.so.6(gsignal+0x4f) [0xb6dc43cf]
5: /lib/libc.so.6(abort+0x143) [0xb6dc5be3]
6: /opt/qt-4.8.4/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x86) [0xb74cf256]
7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x80947b8]
8: /opt/qt-4.8.4/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xe8) [0xb7577758]
9: /opt/qt-4.8.4/lib/libQtCore.so.4(+0x11a94d) [0xb758394d]
10: /opt/qt-4.8.4/lib/libQtCore.so.4(_ZN11QTextStreamD2Ev+0x3e) [0xb758cb2e]
11: akonadiserver(_ZN6QDebugD1Ev+0x3a) [0x808c68a]
12: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x2b9c) [0x81105fc]
13: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe1) [0x80954c1]
14: akonadiserver(_ZN7Akonadi13AkonadiServerC2EP7QObject+0xc6) [0x8096406]
15: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x46) [0x8097ae6]
16: akonadiserver(main+0x137) [0x808bba7]
17: /lib/libc.so.6(__libc_start_main+0xf5) [0xb6daf5e5]
18: akonadiserver() [0x808c4e1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)

"akonadiserver" crashed too often and will not be restarted!
"akonadiserver" crashed too often and will not be restarted!

New PolkitAgentListener  0x9422290
Adding new listener  PolkitQt1::Agent::Listener(0x9488058) for  0x9422290
kded(6946) RandrMonitorModule::processX11Event: Monitor change detected
"Cannot create unix session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files"

** (process:7071): CRITICAL **: polkit_agent_listener_register_with_options: assertion `POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!"

(process:7071): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
kded(6946) RandrMonitorModule::isLidPresent: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.freedesktop.UPower was not provided by any .service files")
kded(6946) RandrMonitorModule::checkInhibition: This feature is only for laptop, and there is no Lid present

plasma-desktop(6985)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application

Ignoring source as no aboutToFinish handling is in progress.
Ignoring source as no aboutToFinish handling is in progress.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Nepomuk2::ResourceManager(0x93f7288), parent's thread is QThread(0x92dbee0), current thread is QThread(0x93e3e18)

NepomukServer(7064)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
klauncher: Exiting on signal 1

waiting for X server to shut down Server terminated successfully (0). Closing log file.
KCrash: Attempting to start /opt/kde/bin/kactivitymanagerd from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /opt/kde/bin/kactivitymanagerd directly
KCrash: Application 'kactivitymanagerd' crashing...
KCrash: Attempting to start /opt/kde/lib/kde4/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /opt/kde/lib/kde4/libexec/drkonqi directly

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kactivitymanagerd(7153): KUniqueApplication: Cannot find the D-Bus session server:  "Failed to connect to socket /tmp/dbus-Hcbs1mDzPC: Connection refused"
 
Old 03-13-2013, 04:57 AM   #2
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 832

Rep: Reputation: 167Reputation: 167
Before plunging in and making kde make sure X is working first, ie build xorg and boot to your new system and try starting xorg you should get a basic couple of terminals and a clock, when that is working you can go on to build a full fledged desktop, this way you know that xorg is OK and then if you get errors you know it is in the desktop, this makes tracking errors a lot easier if you know that xorg works but kde doesn't.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE4 (BLFS Version 2012-10-29) re_nelson Linux From Scratch 3 10-30-2012 08:30 PM
[SOLVED] Which version of book to use for BLFS??? (LFS-6.7 used for building LFS) rkmv Linux From Scratch 3 02-21-2012 05:32 PM
LFS or BLFS masand Linux From Scratch 16 12-02-2004 02:31 PM
Lfs --> Blfs KptnKrill Linux From Scratch 3 10-11-2003 11:19 AM
blfs and lfs? newpenguin Linux From Scratch 7 12-04-2002 07:58 PM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration