View previous topic :: View next topic |
Author |
Message |
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Thu Jul 19, 2012 3:45 pm Post subject: Kde problem: Not connected to D-Bus server. |
|
|
Hi there, I recently installed Kde on my x86_64 gentoo box and it was working ok until I installed a few widgets and half installed google chrome (i decided half way through i didn't want it). The problem is when I boot up kdm, the loader appears for about 5 seconds and then fails with an error in kdm.log (bad formatting, i'm on elinks): klauncher(29488) kdemain: No DBus session-bus found. Check if you have started the DBUS server.
According to ps my dbus is running good. I've tried wiping the .kde4 directory and updating kde but there is still the problem.
Another strange thing is that I can run kdm from a debugging application (gdb or strace) and it works fine until i login and get to the desktop where there is an image like the theme but all pixilated. |
|
Back to top |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Thu Jul 19, 2012 5:13 pm Post subject: |
|
|
this may be a problem with dbus-daemon-launch-helper. Can you share the output of it's properties?
Code: |
# ls -l /usr/libexec/dbus-daemon-launch-helper
|
|
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Thu Jul 19, 2012 5:40 pm Post subject: |
|
|
-rwxr-xr-x 1 root messagebus 322832 Jul 18 18:09 /usr/libexec/dbus-daemon-launch-helper |
|
Back to top |
|
|
Randy Andy Veteran
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Thu Jul 19, 2012 5:54 pm Post subject: |
|
|
Mmh,
mine looks like this, don't know how relevant the differences are:
Code: | -rws--x--- 1 root messagebus 322832 14. Jul 10:56 /usr/libexec/dbus-daemon-launch-helper |
Nevetheless, I had also shortly fixed some dbus troubles with recompiling with the help of this:
Code: | emerge -av $(qlist -IC dbus) |
Less packages, so pretty fast done, try it reboot and come back again. _________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Thu Jul 19, 2012 6:48 pm Post subject: |
|
|
Sadly didn't work. If it helps I get this in my .xsession-errors file when I open kdm via a debugger, or when I run and an application through startx: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusObjectPath: invalid path ""
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Perhaps invalid path "" indicates something? |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jul 19, 2012 7:22 pm Post subject: |
|
|
Auriferous wrote: | -rwxr-xr-x 1 root messagebus 322832 Jul 18 18:09 /usr/libexec/dbus-daemon-launch-helper |
Try setting the access to 4710 _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Thu Jul 19, 2012 7:33 pm Post subject: |
|
|
same problem |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jul 19, 2012 7:51 pm Post subject: |
|
|
Auriferous,
Since you installed a few widgets and half installed google chrome I would try backing those things out then doing an Code: | emerge -uavDN @world | followed with and and lastly Code: | emerge sys-apps/dbus | if it didn't get emerged already with revdep-rebuild _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Fri Jul 20, 2012 8:56 am Post subject: |
|
|
when I say I half installed chrome I meant that I installed half it's dependancies (the ones I didn't have at that time). As to the widgets I don't know where kde stores them (any ideas?)
Nevertheless updating sounds good so I'll do that now. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Fri Jul 20, 2012 1:58 pm Post subject: |
|
|
Auriferous wrote: | when I say I half installed chrome I meant that I installed half it's dependancies (the ones I didn't have at that time). As to the widgets I don't know where kde stores them (any ideas?)
Nevertheless updating sounds good so I'll do that now. |
The only thing I can suggest not being a kde user is to use genlop to search the portage logfiles on the day you installed the widget packages and maybe equery files and/or check for any google chrome remnants.
If eix or equery shown google-chrome as installed then just emerge -Ca www-client/google-chrome _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Fri Jul 20, 2012 9:55 pm Post subject: |
|
|
good idea; I never knew you can do that, I'll try it as soon as I can |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Sat Jul 21, 2012 5:50 pm Post subject: |
|
|
Ok, i've updated my whole system and run revdep-rebuild and my problem still exists, except that my dbus-daemon-launch-helper is marked in red when i run ls -l on it. I assume this means the file is corrupt and so must be the problem. I've tried re-emerging dbus but the file still appears red, even when replaced. Does anyone know how i can fix this file? |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sat Jul 21, 2012 6:06 pm Post subject: |
|
|
Auriferous wrote: | Ok, i've updated my whole system and run revdep-rebuild and my problem still exists, except that my dbus-daemon-launch-helper is marked in red when i run ls -l on it. I assume this means the file is corrupt and so must be the problem. I've tried re-emerging dbus but the file still appears red, even when replaced. Does anyone know how i can fix this file? |
The suid bit is set so that's why it shows red -> -rws--x--- 1 root messagebus 326736 Jul 13 16:35 /usr/libexec/dbus-daemon-launch-helper
Do your permissions match mine _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Auriferous n00b
Joined: 19 Jul 2012 Posts: 8
|
Posted: Sat Jul 21, 2012 7:04 pm Post subject: |
|
|
yeah, my mistake, sorry.
Being a noob, I removed all my gentoo log files a few days after I got the error *embarrassed*. But i've looked at the dependancies for google-chrome and none of them look like they'd break kde or dbus. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sat Jul 21, 2012 9:30 pm Post subject: |
|
|
Auriferous wrote: | yeah, my mistake, sorry.
Being a noob, I removed all my gentoo log files a few days after I got the error *embarrassed*. But i've looked at the dependancies for google-chrome and none of them look like they'd break kde or dbus. |
Is consolekit being started - does dmesg show anything of interest _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
drvik Tux's lil' helper
Joined: 17 Apr 2004 Posts: 121 Location: Adelaide, South Australia
|
Posted: Sun Oct 21, 2012 2:22 am Post subject: |
|
|
Has there been a solution to this yet? I have been experiencing these errors too, but on my system I develop shutdown/reboot problems after a few days of uptime and reboot hangs on /etc/init.d/dbus shutdown. I'm having to hit the reset button every time! |
|
Back to top |
|
|
Atha Apprentice
Joined: 22 Sep 2004 Posts: 230
|
Posted: Thu Jun 10, 2021 4:49 pm Post subject: |
|
|
For the record:
Randy Andy wrote: |
Nevetheless, I had also shortly fixed some dbus troubles with recompiling with the help of this:
Code: | emerge -av $(qlist -IC dbus) |
|
I recommend adding --oneshot (or in short: -1), otherwise all packages will be added to the @world set:
Code: | emerge -a1v $(qlist -IC dbus) |
If that already happened, you should remove them from the world set. Check the emerge messages for >>> Recording <category/atom> in "world" favorites file...
Code: | # emerge -av $(qlist -IC dbus)
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-util/gdbus-codegen-2.68.2::gentoo PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
[ebuild R ] sys-apps/dbus-1.12.20-r1::gentoo USE="X systemd user-session -debug -doc (-elogind) (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild R ] dev-qt/qtdbus-5.15.2:5/5.15::gentoo USE="-debug -test" 0 KiB
[ebuild R ] dev-libs/dbus-glib-0.110::gentoo USE="-debug -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild R ] dev-python/dbus-python-1.2.16-r1::gentoo USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 0 KiB
[ebuild R ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r3::gentoo 0 KiB
[ebuild R ] dev-qt/qdbus-5.15.2:5/5.15::gentoo USE="-debug -test" 0 KiB
[ebuild R ] kde-frameworks/kdbusaddons-5.82.0:5/5.82::gentoo USE="X nls -debug -doc -test" 0 KiB
Total: 8 packages (8 reinstalls), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 8) dev-util/gdbus-codegen-2.68.2::gentoo
>>> Emerging (2 of 8) sys-apps/dbus-1.12.20-r1::gentoo
>>> Installing (1 of 8) dev-util/gdbus-codegen-2.68.2::gentoo
>>> Recording dev-util/gdbus-codegen in "world" favorites file...
>>> Installing (2 of 8) sys-apps/dbus-1.12.20-r1::gentoo
>>> Recording sys-apps/dbus in "world" favorites file...
>>> Emerging (3 of 8) dev-qt/qtdbus-5.15.2::gentoo
>>> Emerging (4 of 8) dev-libs/dbus-glib-0.110::gentoo
>>> Installing (4 of 8) dev-libs/dbus-glib-0.110::gentoo
>>> Emerging (5 of 8) dev-python/dbus-python-1.2.16-r1::gentoo
>>> Recording dev-libs/dbus-glib in "world" favorites file...
>>> Installing (5 of 8) dev-python/dbus-python-1.2.16-r1::gentoo
>>> Recording dev-python/dbus-python in "world" favorites file...
>>> Installing (3 of 8) dev-qt/qtdbus-5.15.2::gentoo
>>> Recording dev-qt/qtdbus in "world" favorites file...[/b]
>>> Emerging (6 of 8) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r3::gentoo
>>> Emerging (7 of 8) dev-qt/qdbus-5.15.2::gentoo
>>> Installing (7 of 8) dev-qt/qdbus-5.15.2::gentoo
>>> Emerging (8 of 8) kde-frameworks/kdbusaddons-5.82.0::gentoo
>>> Recording dev-qt/qdbus in "world" favorites file...
>>> Installing (6 of 8) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r3::gentoo
>>> Recording dev-libs/libdbusmenu-qt in "world" favorites file...
>>> Installing (8 of 8) kde-frameworks/kdbusaddons-5.82.0::gentoo
>>> Recording kde-frameworks/kdbusaddons in "world" favorites file...
>>> Jobs: 8 of 8 complete Load avg: 2.88, 2.45, 1.53
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. |
In this example, removing them from the @world set would be:
Code: | emerge --deselect dev-util/gdbus-codegen sys-apps/dbus dev-libs/dbus-glib dev-python/dbus-python dev-qt/qtdbus dev-qt/qdbus dev-libs/libdbusmenu-qt kde-frameworks/kdbusaddons |
Found at the Gentoo Wiki: Gentoo Cheat Sheet. (The reverse, adding a package to the @world set without recompiling, would be emerge --noreplace <category/atom>, as found here...) _________________ Think for yourself and let others enjoy the privilege of doing so too. – Voltaire
Last edited by Atha on Fri Jun 11, 2021 4:22 am; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22447
|
Posted: Thu Jun 10, 2021 6:16 pm Post subject: |
|
|
Your advice is correct, but I suspect that in the 8 years since the post you are answering, someone already gave similar advice in another thread, or that the system in question has been retired. |
|
Back to top |
|
|
Atha Apprentice
Joined: 22 Sep 2004 Posts: 230
|
Posted: Fri Jun 11, 2021 4:22 am Post subject: |
|
|
True, but since I got the command now from this old thread and it happened to me, I thought I'd mention it anyway... (And, yes, I was stupid because I missed it. I guess I was tired...) _________________ Think for yourself and let others enjoy the privilege of doing so too. – Voltaire |
|
Back to top |
|
|
|