Looking at the DBus spec [1], DBUS_STARTER_ADDRESS is used when auto-launching DBus services. So this is arguably reasonable behavior on gedit's part, and it's confusing for applications that Unity will have that variable set for its subprocesses.
I would argue the best fix is for Unity to strip DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE from subprocess environments.
Looking at the DBus spec [1], DBUS_STARTER_ ADDRESS is used when auto-launching DBus services. So this is arguably reasonable behavior on gedit's part, and it's confusing for applications that Unity will have that variable set for its subprocesses.
I would argue the best fix is for Unity to strip DBUS_STARTER_ ADDRESS and DBUS_STARTER_ BUS_TYPE from subprocess environments.
[1] http:// dbus.freedeskto p.org/doc/ dbus-specificat ion.html