haguichi won't launch without dbus-launch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Haguichi |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If I start haguichi on archlinux from the command line with "haguichi" I get the errors below. I have tried older versions as well as the newest 1.16 and I get the same errors. If I launch haguichi from the cli with "dbus-launch haguichi" it works fine.
Regards, Andreas Wagner
Unhandled Exception: System.Exception: Unable to open the session message bus. ---> System.
Parameter name: address
at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
at NDesk.DBus.
--- End of inner exception stack trace ---
at NDesk.DBus.
at NDesk.DBus.
at Platform.Init () [0x00000] in <filename unknown>:0
at Haguichi.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Unable to open the session message bus. ---> System.
Parameter name: address
at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
at NDesk.DBus.
--- End of inner exception stack trace ---
at NDesk.DBus.
at NDesk.DBus.
at Platform.Init () [0x00000] in <filename unknown>:0
at Haguichi.Main (System.String[] args) [0x00000] in <filename unknown>:0
Haguichi depends on DBus. It should already be available before you start Haguichi. Or as the dbus-launch manual [1] states:
"The dbus-launch command is used to start a session bus instance of dbus-daemon from a shell script. It would normally be called from a user's login scripts."
I don't who's fault it is that dbus-daemon isn't launched on Arch at login, but I'm pretty sure it's not mine.
[1] http:// dbus.freedeskto p.org/doc/ dbus-launch. 1.html