Comment 2 for bug 89832

Revision history for this message
zdenek smetana (zyghom) wrote : Re: An unhandled exception was thrown: Unable to open the session message bus.

it is reproducible 100%

if X is started by command "startx" with .xinitrc like below:
------------
#!/bin/bash
exec startkde
------------

then it gives error like at the beginning plus from terminal we can see:
___________
17:22:30 pawjan@baboon:~$ f-spot
System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000]
  at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace ---

  at NDesk.DBus.Bus.get_Session () [0x00000]
  at NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
___________

attache you will find also output of command: "strace f-spot"

but when X started by means of "/etc/init.d/kdm start" then it is ok