Shawn Rutledge wrote:
On Tue, Apr 8, 2008 at 2:15 AM, Tilman Baumann <[EMAIL PROTECTED]> 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 too.


 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
wide?

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...

Regards
 Tilman

Reply via email to