[tomboy-list] compiling/running issues on Ubuntu 11.10
Alemann Massho
armistice_con at fastmail.fm
Mon May 7 19:20:20 PDT 2012
On Mon, May 7, 2012, at 03:08 PM, Chow Loong Jin wrote:
> On 07/05/2012 10:39, Alemann Massho wrote:
> > On Mon, May 7, 2012, at 05:38 AM, Chow Loong Jin wrote:
> >> Nope, it's definitely the session bus. When I unset
> >> DBUS_SESSION_BUS_ADDRESS,
> >> the system Tomboy crashes immediately.
> >>
> >> I run Unity too, and my DBUS_SESSION_BUS_ADDRESS environment variable is
> >> set.
> >> How did you end up with it unset?
> >>
> >> --
> >> Kind regards,
> >> Loong Jin
> >>
> >> _______________________________________________
> >> Tomboy-list mailing list
> >> Tomboy-list-0fE9KPoRgkiLrwD38QH1XXHrszOJ0dCBAL8bYrjMMd8 at public.gmane.org
> >> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
> >> Email had 1 attachment:
> >> + signature.asc
> >> 1k (application/pgp-signature)
> >
> > I really don't know why it's unset. When I set and then unset the
> > variable in a terminal, nothing happens. When I "sudo service dbus
> > stop," I crash my system. That could be the system bus, I guess. Killing
> > the session bus also kills my DE, as expected. It seems like the session
> > bus is spawned when I log in with "/usr/bin/dbus-launch
> > --exit-with-session gnome-session --session=ubuntu." Could the problem
> > be that my session bus is launched using dbus-launch? Earlier you said
> > that dbus-launch doesn't do enough to start the message bus, as I
> > recall. Do you know what program should set DBUS_SESSION_BUS_ADDRESS in
> > the login process?
> >
> > I can't find anything interesting relating to D-Bus in any of my logs.
>
> Where are you starting your terminal from? I believe dbus-launch exports
> the
> variables by default, so if you start your terminal (and consequently the
> shell)
> from Unity, you should have it set. Otherwise, you can try looking for
> the
> correct values in ~/.dbus/session-bus/, and sourcing it into your
> terminal.
>
> --
> Kind regards,
> Loong Jin
>
> _______________________________________________
> Tomboy-list mailing list
> Tomboy-list at lists.beatniksoftware.com
> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)
Well, if that's true, then maybe I have found the source of my problem.
On my computer, there is for some strange reason a bug, that I have
tried for about three quarters of a year to fix, where Unity doesn't
start automatically when I log in (from gdm, lightdm, xdm, or kdm.) My
problem is described well in
http://www.tuxgarage.com/2011/04/missing-top-and-side-panels-in-unity.html.
So I always just log in to tty1 and run unity there. So maybe unity is
inheriting the variables from the tty shell I am starting it from; and
because the variable is not set in that shell, Unity doesn't know about
it and can't make it available to processes run in gnome-terminal which
I have used to run tomboy? This seems to make sense, because the _only_
programs that get the impression that D-Bus isn't running are the
programs that are child processes of unity and by extension tty1! This
also makes sense to me because I recall encountering a similar error a
short time after Unity stopped launching by default. Of course, if this
is what is happening, and I am hoping it is, it just means that I know
what happened and not how I can fix it. Does it sound plausible that
this is the error's root cause?
Thanks,
A. Massho
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
More information about the Tomboy-list
mailing list