![]() |
2009-05-07
, 08:01
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
![]() |
2009-05-07
, 14:23
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#3
|
> eval $(dbus-launch --sh-syntax) > export BUS_SESSION_BUS_ADDRESS > export DBUS_SESSION_BUS_PID
![]() |
2009-05-07
, 15:39
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#4
|
The problem can be most likely solved by export the dbus session bus address manually. you can do this by following these steps:
Please try it out with your application. At least the dbus-monitor works then for me. If this does not work let me know.Code:> eval $(dbus-launch --sh-syntax) > export BUS_SESSION_BUS_ADDRESS > export DBUS_SESSION_BUS_PID
Cheers Daniel
[sbox-DIABLO_X86: ~/qt_tmp/demo_1] > eval $(dbus-launch --sh-syntax) [sbox-DIABLO_X86: ~/qt_tmp/demo_1] > export BUS_SESSION_BUS_ADDRESS [sbox-DIABLO_X86: ~/qt_tmp/demo_1] > export DBUS_SESSION_BUS_PID [sbox-DIABLO_X86: ~/qt_tmp/demo_1] > run-standalone.sh ./demo_1 Cannot connect to the D-Bus session bus. To start it, run: eval 'dbus-launch --auto-syntax' [sbox-DIABLO_X86: ~/qt_tmp/demo_1] > dbus-monitor --session signal sender=org.freedesktop.DBus -> dest=:1.0 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.0" method call sender=:1.0 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_call'" method call sender=:1.0 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_return'" method call sender=:1.0 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='error'" ^Z [1]+ Stopped dbus-monitor --session [sbox-DIABLO_X86: ~/qt_tmp/demo_1] >
![]() |
2009-05-12
, 02:48
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#5
|
![]() |
2009-05-12
, 06:04
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#6
|
![]() |
2009-05-12
, 07:01
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#7
|
![]() |
2009-05-13
, 03:31
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#8
|
![]() |
2009-05-14
, 08:08
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#9
|
![]() |
2009-05-19
, 03:55
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#10
|
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac & unrecognised device identifier! (EE) config/hal: NewInputDeviceRequest failed
I have a simple qt example would like working with D-Bus, but i got error when i launch it. some detail as following
Last edited by funpig; 2009-05-06 at 14:23.