gdm.conf.in 3.8 KB
Newer Older
1 2 3 4 5 6 7 8 9
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only root can own the service -->
  <policy user="root">
    <allow own="org.gnome.DisplayManager"/>

10 11 12 13 14 15 16 17
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Settings"/>
18
    <allow send_destination="org.gnome.DisplayManager"
19
           send_interface="org.freedesktop.DBus.Properties" />
20 21 22
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>

23 24 25
  </policy>

  <policy context="default">
26 27 28 29 30 31 32 33
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Display"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Settings"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Session"/>
34 35
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>
36 37
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.ObjectManager"/>
38 39
    <allow send_destination="org.gnome.DisplayManager"
	   send_interface="org.freedesktop.DBus.Properties"/>
40 41
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"/>
42 43
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
44
           send_member="GetId"/>
45 46
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
47
           send_member="GetRemoteHostname"/>
48 49
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
50
           send_member="GetSeatId"/>
51 52
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
53
           send_member="GetX11DisplayName"/>
54 55
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
56
           send_member="GetX11DisplayNumber"/>
57 58
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
59 60
           send_member="IsLocal"/>

61 62
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
63
           send_member="CreateTransientDisplay"/>
64 65
  </policy>

William Jon McCann's avatar
William Jon McCann committed
66
  <policy user="@GDM_USERNAME@">
67 68 69 70 71 72 73 74
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Settings"/>
75
    <allow send_destination="org.gnome.DisplayManager"
76
           send_interface="org.freedesktop.DBus.Properties" />
77 78
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>
79 80 81
  </policy>

</busconfig>