Re: D-BUS and Xforwarding.





2006/8/7, Havoc Pennington <hp redhat com>:
Davyd Madeley wrote:
> I have pondered the idea of a Dbus-over-X bridge. That is, when
> attempting to connect to the session bus, it detects that DISPLAY
> implies you're on a remote machine, and then uses X11 to communicate
> with the same machine that is running your X server via a bus proxy
> back to the session daemon.

I started writing the dbus-X bridge at one point early in dbus's life,
but dropped it and didn't get back to it.

It's a fine idea. You should not need to try and figure out DISPLAY;
just include the X bridge as the second address to try in
DBUS_SESSION_BUS_ADDRESS and in theory libdbus will fall back to it if
better methods fail.

I do think changing ssh to forward DBUS_SESSION_BUS_ADDRESS is a better
long-term solution, but would obviously have to be implemented and then
wouldn't be widely deployed for several years.

That could be a security problem, since  ssh keys  must be  mounted over the network (inside the root filesystem) on thin clients.
BTW, it could be interesting to store the ssh key on usb keys and use it to auth (like sun ray workstations does with a smartcard).

The only real question here is how to avoid the Xlib dependency for
libdbus, there are various hacks one could employ.

Havoc

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list



--
Un saludo,
Alberto Ruiz

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]