Web lists-archives.org

DBUS and KDE 4




Hello.
I've got a big trouble. I can't see KDE 4 working. I explain better.
I've got KDE 3.5svn installed and I create a kde4.desktop session just 
specifying the path of the startkde for KDE 4 installation. But when I start 
the KDE 4 session DBUS doesn't work. Each application started from krunner 
says this to me.
I tryed qdbus and I got:

Could not connect to D-Bus server: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute dbus-launch to 
autolaunch D-Bus session

this because I need to run:

export DBUSDIR=/usr
alias dbusstart="eval `PATH=$DBUSDIR/bin 
$DBUSDIR/bin/dbus-launch --auto-syntax`"

but to let this be executed the DISPLAY environment variable has to be setted, 
so I tryed to add:

export DBUSDIR=/usr
alias dbusstart="eval `PATH=$DBUSDIR/bin 
$DBUSDIR/bin/dbus-launch --auto-syntax`"

in the .bashrc of the user that runs KDE 4 environment but I have to set also 
DISPLAY.

Now I ask how can I know on which DISPLAY I will start KDE 4? Can be 
DISPLAY=:0.0 or DISPLAY=:1 or others.

How can I fix this issue without to specialize .bashrc?

I've got Slackware 12.

Giovanni
-- 
A KDE Italian translator and KSniffer core developer
Slackware GNU/Linux current version - kernel 2.6.23.1
KSniffer Project - http://www.ksniffer.org/

Attachment: signature.asc
Description: This is a digitally signed message part.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<