aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus/display-manager.xml
blob: 07b5f29c310fabb510aba4c8ff81f5ed13c25654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">

<node>
  <interface name="org.freedesktop.DisplayManager.Seat">

    <property name="CanSwitch" type="b" access="read"/>

    <property name="HasGuestAccount" type="b" access="read"/>

    <property name="Sessions" type="ao" access="read"/>

    <!-- Show greeter to allow new login / switch users -->
    <method name="SwitchToGreeter"/>

    <!-- Switch to a user, starting a new display if required -->
    <method name="SwitchToUser">
      <arg name="username" direction="in" type="s"/>
      <arg name="session_name" direction="in" type="s"/>
    </method>

    <!-- Switch to the guest user -->
    <method name="SwitchToGuest">
      <arg name="session_name" direction="in" type="s"/>
    </method>

    <method name='Lock'/>

  </interface>

</node>