LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2008, 01:20 PM   #1
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Rep: Reputation: 16
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.

Last edited by konqi; 01-19-2008 at 06:05 AM.
 
Old 01-20-2008, 03:42 AM   #2
trungnt_hut
Member
 
Registered: Apr 2007
Location: Vietnam
Distribution: Slackware
Posts: 38

Rep: Reputation: 15
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
 
Old 01-22-2008, 06:49 AM   #3
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
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....

Last edited by konqi; 01-26-2008 at 03:14 AM.
 
Old 01-26-2008, 03:15 AM   #4
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
does anybody know it?
 
Old 03-21-2008, 07:52 PM   #5
terosaur
Member
 
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by konqi View Post
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!
 
Old 03-22-2008, 06:16 AM   #6
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
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?
 
Old 03-22-2008, 09:58 AM   #7
trungnt_hut
Member
 
Registered: Apr 2007
Location: Vietnam
Distribution: Slackware
Posts: 38

Rep: Reputation: 15
I'm happy that I can help !
Thanks !
 
Old 03-31-2008, 05:57 PM   #8
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
{sorry to revive this thread...}

Where did you find those tgz's might I ask?
 
Old 04-01-2008, 07:26 AM   #9
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
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.
 
Old 04-01-2008, 04:52 PM   #10
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
OK...thanks!
 
  


Reply



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
Dbus problem at KDE4 start rvdboom Slackware 15 01-17-2008 02:52 PM
Installing kde4 djgerbavore Fedora 1 01-12-2008 09:35 AM
How to get a look at KDE4 ranger_nemo Linux - Desktop 1 11-14-2007 11:31 PM
KDE4 in SUSE 10.3 riba43 SUSE / openSUSE 4 10-17-2007 02:33 PM
combining bus and start topology WLAN noinO Linux - Wireless Networking 0 09-03-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration