Hello [email protected]

I have LFS SVN apr-may running. /dev is systemd and sysVinit used for
init. I have KDE as per BLFS SVN.KDE works fine as a normal user.

Problem:
I can not run applications as root. Kdesu konsole or kdesu does not work.

Starting konsole or dolpin using the KDE icons or as commands from an
existing konsole window as a normal user works fine.

When I try and debug the kdesu problem starting the applications form
command line directly as root in a konsole window (started as normal
user) I get:

$ su
# konsole
QDBusConnection: session D-Bus connection created before
QCoreApplication. Application may misbehave.
unnamed app(3985): KUniqueApplication: Cannot find the D-Bus session
server:  "Using X11 for dbus-daemon autolaunch was disabled at compile
time, set your DBUS_SESSION_BUS_ADDRESS instead"

unnamed app(3984): KUniqueApplication: Pipe closed unexpectedly.

If I then execute export $(dbus-launch)

$ su
# konsole
# export $(dbus-launch)
# konsole

Then konsole or dolphin etc starts and works normally as root.

I start system-wide D-Bus daemon using etc/rc.d/init.d/dbus from blfs
bootscripts

I start KDE and the session dbus daemon using a .xinitrc
cat ~/.xinitrc
# Begin .xinitrc
exec ck-launch-session dbus-launch --exit-with-session startkde
# End .xinitrc

What is this? How to resolve?

Magnus
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to