You are not logged in.
So I've been building my system to run compiz standalone, but I'm having trouble with programs communicating with dbus. This includes gnome-power-manager and xfce4-power-manager among others. I get errors the dbus session not being started. Also,
dbus-monitor --session
returns
Failed to open connection to session bus: Empty address ''
My current ~/.xinitrc is:
emerald &
tint2 &
nitrogen --set-auto ~/.nitrogenconfig/set.jpg &
xscreensaver -nosplash &
/home/jbritton/.bin/conky/startconky.sh &
volwheel &
parcellite &
wicd-gtk &
sleep 10 && pidgin &
exec ck-launch-session fusion-icon
I've tried adding
dbus-launch --ssh-syntax --exit-with-session
and using
exec dbus-launch fusion-icon
but still get the same errors.
Any tips on what I'm missing here?\\Thanks in advance.
Last edited by jbritton (2011-04-04 17:27:20)
Offline
Do you have dbus in your daemons array in /etc/rc.conf? Maybe you could try ck-launch-session and dbus-launch.
Offline
Yeah, dbus is in my daemons. I'm not sure what you mean by
Maybe you could try ck-launch-session and dbus-launch.
I've tried several combinations of this in my .xinitrc, but it seems I must not be putting it in the right syntax. Any suggestion on the specific way to do this?
Thanks
Offline
So I've been building my system to run compiz standalone, but I'm having trouble with programs communicating with dbus. This includes gnome-power-manager and xfce4-power-manager among others. I get errors the dbus session not being started. Also,
dbus-monitor --session
returns
Failed to open connection to session bus: Empty address ''
My current ~/.xinitrc is:
emerald & tint2 & nitrogen --set-auto ~/.nitrogenconfig/set.jpg & xscreensaver -nosplash & /home/jbritton/.bin/conky/startconky.sh & volwheel & parcellite & wicd-gtk & sleep 10 && pidgin & exec ck-launch-session fusion-icon
I've tried adding
dbus-launch --ssh-syntax --exit-with-session
and using
exec dbus-launch fusion-icon
but still get the same errors.
Any tips on what I'm missing here?\\Thanks in advance.
I run a standalone compiz setup and my ,xinitrc looks something like this:
avant-window-navigator &
exec dbus-launch compiz --replace ccp
and my ck-launch-session is put into slim (login manager)
Offline
Interesting - this might be the cause of similar problems I'm having.
and my ck-launch-session is put into slim (login manager)
And where exactly would that be?
@OP'er: In another recent thread I read that it should be:
'exec ck-launch-session dbus-launch <wm>'
in that specific order.
I've just read it, will try it out later.
Last edited by zenlord (2011-03-22 15:08:42)
Offline
i put it in /etc/slim.conf
Offline
I tried wankel's suggestion but when slim loads and I enter my password, it fails to login and flashes back to slim. So it seems that it is something in the line
exec dbus-launch fusion-icon
that is failing? I have tried
'exec ck-launch-session dbus-launch <wm>'
at some point but still no luck...
Should the directory /etc/dbus-1/session.d be empty? I noticed that my system.d has items in it but not the session.d, maybe this is part of the issue?
Zenlord, let me know if
'exec ck-launch-session dbus-launch <wm>'
works for you, maybe I need to try something along those lines again. I ended up installing laptop-tools and putting the battery section in my tint2, so I don't need gnome-power-manager anymore, but I still get errors with several programs that I have tried to run (awn, sound-juicer, nautilus).
Offline
Have you tried using "compiz --replace cpp" as opposed to "fusion-icon"? fusion-icon is a program and not the window manager itself so that maybe the reason why its failing.
Offline
Wankel, are you starting X with inittab method or the ~/.bash_profile method?
Offline
I don't know how it took me so long to get this working, but I added
dbus-launch --ssh-syntax &
just before
exec ck-launch-session fusion-icon
and it is all working now.
I swear I tried this first and it didn't work... Oh well... Thanks for all the suggestions!
Offline