2003-04-03 Havoc Pennington <hp@pobox.com>
[platform/upstream/dbus.git] / bus / session.conf.in
1 <!-- This configuration file controls the per-user-login-session message bus.
2      Add a session-local.conf and edit that rather than changing this 
3      file directly. -->
4
5 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
6  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
7 <busconfig>
8   <!-- Our well-known bus type, don't change this -->
9   <type>session</type>
10
11   <!-- FIXME - this is fairly complicated to fix.
12        Propose the following:
13          - add "unix:tmpdir=/tmp" which means unix domain transport 
14            creates a socket with a random secure name 
15          - add dbus_server_get_address() that gets the actual 
16            server address 
17          - add command line option or env variable to the daemon 
18            causing it to print its list of addresses to a given 
19            file descriptor
20          - session manager or whatever launches the session bus 
21            reads the address from there and sets the env variable
22     -->
23   <listen>unix:path=/tmp/foobar</listen>
24
25   <policy context="default">
26     <!-- Allow everything -->
27     <allow send="*"/>
28     <allow receive="*"/>
29     <allow own="*"/>
30   </policy>
31
32   <!-- This is included last so local configuration can override what's 
33        in this standard file -->
34   <include ignore_missing="yes">session-local.conf</include>
35 </busconfig>