You are not logged in.
Hello,
Just trying to understand the proper way to run Openbox. The wiki contains several options, and I hope by posting here, I will get a clear answer. Which upon a solution is given will be included in the wiki as well.
So, how to you exactly run Openbox? Using ck-launch-session, dbus-launch, etc.? Please provide an explained answer which I can use further.
Offline
Personally I prefer starting Openbox through .xinitrc by adding the line "exec openbox-session" (without the quotation marks).
Offline
No ck-launch.. or dbus-launch... infront?
Ed1t: I can see now that not using ck-launch-session makes me unable to use memory sticks. HAL won't mount the units.
Last edited by MindTooth (2010-04-09 17:22:03)
Offline
Nope, I don't run HAL or dbus because I don't need them.
Offline
Does Openbox support ConsoleKit? If not, then there is no need to run it with ck option.
Offline
Does Openbox support ConsoleKit? If not, then there is no need to run it with ck option.
As you've figured out yourself, HAL permissions are handled by consolekit. So you need to run the session (any session, be it openbox or whatever) as a consolekit session if you want to do anything HAL related, like HAL-based mounting.
Offline
I load Openbox via .xinitrc as well, but do make use of consolekit.
My .xinitrc contains:
# Start Openbox
exec ck-launch-session openbox-session
I don't use SLiM, but I think it uses .xinitrc right?
Offline
I use slim and use
exec ck-launch-session openbox-session
Certified Android Junkie
Arch 64
Offline
So, if I have removed HAL, i can remove ck-launch-session then?
Ed1t: Tested without ConsoleKit, and udev mounted the usb stick perfectly. (Except some permission problem )
Last edited by MindTooth (2010-04-11 12:04:26)
Offline
for DBUS +polkit + Consolekit and Openbox (i need automount DVD and USB flash disk in Nautilus) - i use:
exec ck-launch-session dbus-launch openbox-session
or
exec ck-launch-session dbus-launch --exit-with-session --sh-syntax openbox
Last edited by anespo (2010-04-16 08:37:35)
Offline
Not sure, but I think that autostart.sh already starts dbus. There is at least a section with an if statement, etc.
Offline