--===============0976735067== Content-Type: multipart/signed; boundary="nextPart3704110.KirOC7xyQ2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3704110.KirOC7xyQ2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Em Tuesday 20 November 2007 10:06:06 Simon McVittie escreveu: > On Tue, 20 Nov 2007 at 07:49:37 +0100, Thiago Macieira wrote: > > And it shouldn't start a new bus if that information is available. > > > > That will make overriding a bit difficult (i.e., intentionally launching > > a second bus daemon). > > If you do this, please provide some reliable way to start a new session > bus - perhaps `dbus-launch --new` or `dbus-new-session` - for running > regression tests on things that use D-Bus. Telepathy, for instance, > would really benefit from this. =46rom what I remember from the old discussion, I guess we have two things = to=20 consider here: whether dbus-launch should save bus information for autolaunch whether dbus-launch should try to reuse autolaunch information My guess is that we should default to both behaviours. We can then add flag= s=20 to turn them off. It can even be the same flag. That is, in most cases a bus being launched wants to be reused and you want= to=20 reuse a bus if there already is one. If you want to launch a new, private=20 bus, you probably don't want it reused for other purposes. A simple way of achieving that is to change the triad: user - machine ID - X11 display to a four-way tuple: user - machine ID - X11 display - cookie where the cookie is by default empty. If you *really* need a new, private b= us=20 for your purposes, you can enable that cookie (via environment variable) an= d=20 benefit from autolaunching. Then again, that sounds overly complicated... =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart3704110.KirOC7xyQ2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHQsG8M/XwBW70U1gRAlgEAJ9U6oka5LQhiFh4zJ5r9I/eW+gLfACguBS/ SHdWoiX4RXHkOHzhXo9LbBY= =VlMR -----END PGP SIGNATURE----- --nextPart3704110.KirOC7xyQ2-- --===============0976735067== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dbus mailing list dbus@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dbus --===============0976735067==--