LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kde4 could not start d-bus (https://www.linuxquestions.org/questions/linux-software-2/kde4-could-not-start-d-bus-614570/)

konqi 01-18-2008 01:20 PM

kde4 could not start d-bus
 
I installed kde4 on slackware 12.0, via some .tgz packages i found on the internet.

But when i run startx, i first see the splash screen very short and then i get the error
Code:

could not start d-bus. check your installation
running qdbus doesn't work, but running /opt/qt4/bin/qdbus works. It gave an error about dbus-uuidgen, but after running
Code:

dbus-uuidgen --ensure
it gave the error
Code:

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

I have absolutely no idea what this means.

trungnt_hut 01-20-2008 03:42 AM

Does /opt/qt4/bin in your $PATH ?
If not, then you can add into your KDE 4.0's startkde command something like this :

export QTDIR=/opt/qt4
export QT_PLUGINS_DIR=$KDEDIR/lib/kde4/plugins:$QT_PLUGINS_DIR
export PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH
export PATH=$QTDIR/bin:$PATH

konqi 01-22-2008 06:49 AM

i have tried it, but that doesn't fix the problem.

Here is some extra information.
This is the output of the startkde command:
Code:

xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
Link points to "/tmp/kde-root"
Link points to "/var/tmp/kdecache-root"
Link points to "/tmp/kdesocket-root"
startkde: starting up...
startkde: could not start D-Bus. Check your installation
Error: Can't open display:

There is a change that the output shown above isn't 100% exactly the same as the ouput it gave. Because i have to write on a paper and post it with the-os-we-dont-want-to-mention.

I hope you can do something with it....

konqi 01-26-2008 03:15 AM

does anybody know it?

terosaur 03-21-2008 07:52 PM

Quote:

Originally Posted by konqi (Post 3035520)
does anybody know it?

trungnt_hut had it right.

Just make sure you set your QTDIR variable to the correct location for your installation.

Mine was located in /usr/lib/qt4.

export QTDIR=/usr/lib/qt4
export PATH=$QTDIR/bin:$PATH

The above 2 lines were enough to get me into KDE 4.0.2 successfully.

Thanks trungnt_hut!

konqi 03-22-2008 06:16 AM

i've tried it again, now it works! Maybe i made an error.

Does kde4 run smooth on your system? By me it is very choppy. Is this a problem with drivers from ati, or somethin configuration in X? Or is it just a bug in kde?

trungnt_hut 03-22-2008 09:58 AM

I'm happy that I can help !
Thanks !

phantom_cyph 03-31-2008 05:57 PM

{sorry to revive this thread...}

Where did you find those tgz's might I ask?

konqi 04-01-2008 07:26 AM

i can't find them on the site where i downloaded them. But you can search for something like 'kde 4 slackware'.

I think you 'd better use 3.5 right now, because kde 4 missen lots of features (kmail etc). And the packages i used were 4.01.

Somewhere in June kde 4.1 will be released and probably a new slackware, but i can't say it for sure.

phantom_cyph 04-01-2008 04:52 PM

OK...thanks!


All times are GMT -5. The time now is 04:26 PM.