dbus failure to connect to the session bus
tilman at baumann.name
Tue Apr 8 19:54:19 CEST 2008
Shawn Rutledge wrote:
> On Tue, Apr 8, 2008 at 2:15 AM, Tilman Baumann <tilman at baumann.name> wrote:
>>> I modified cat /etc/X11/Xsession for now:
>>> echo "$DBUS_SESSION_BUS_ADDRESS" > /tmp/dbus-session
> Then BTW I set the variable in /etc/profile so it's always set when I
> log in over SSH.
> export DBUS_SESSION_BUS_ADDRESS=`cat /tmp/dbus-session`
Only if the variables are static.
I think it makes sense to design a system that is ready for dynamic data
>> Openmoko is not multiuser. There is no reason why a ssh user should not be
>> able to start X programs or use gconf and dbus.
>> So what abut making DISPLAY, DBUS_SESSION_BUS_ADDRESS and so on system
> It would be even better if the environment variable somehow wasn't
> needed. Even for a multiuser system, if we assume each user has only
> one DBUS session daemon running [...]
That would be only a dbus solution. There are probably more variables
that are exported in a X environtment...
Maybe static is sufficient...
More information about the openmoko-devel