dbus session and vnc
Daniel P. Berrange
dan at berrange.com
Thu May 4 07:11:52 PDT 2006
On Thu, May 04, 2006 at 01:33:19PM +0000, Nigel Cannings wrote:
> thanks
> Any idea of how to generate a new DBUS_SESSION_BUS_ADDRESS environment variable in the session?
Put something like the following in your .vnc/xstartup file
#!/bin/sh
vncconfig -iconic &
eval `dbus-launch --sh-syntax --exit-with-session`
exec gnome-session
Dan.
--
|=- GPG key: http://www.berrange.com/~dan/gpgkey.txt -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- berrange at redhat.com - Daniel Berrange - dan at berrange.com -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060504/9a1d2932/attachment.pgp
More information about the dbus
mailing list