2003-03-31 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   <!-- FIXME - this is fairly complicated to fix.
9        Propose the following:
10          - add "unix:tmpdir=/tmp" which means unix domain transport 
11            creates a socket with a random secure name 
12          - add dbus_server_get_address() that gets the actual 
13            server address 
14          - add command line option or env variable to the daemon 
15            causing it to print its list of addresses to a given 
16            file descriptor
17          - session manager or whatever launches the session bus 
18            reads the address from there and sets the env variable
19     -->
20   <listen>unix:path=/tmp/foobar</listen>
21   <policy context="default">
22     <!-- Allow everything -->
23     <allow send="*"/>
24     <allow receive="*"/>
25     <allow own="*"/>
26   </policy>
27
28   <!-- This is included last so local configuration can override what's 
29        in this standard file -->
30   <include ignore_missing="yes">session-local.conf</include>
31 </busconfig>