~xnox/lightdm/archive-upload

« back to all changes in this revision

Viewing changes to utils/gdmflexiserver

  • Committer: Robert Ancell
  • Date: 2013-11-27 03:48:36 UTC
  • mfrom: (1845 trunk)
  • mto: This revision was merged to the branch mainline in revision 1846.
  • Revision ID: robert.ancell@canonical.com-20131127034836-c9jba09zw4z3paur
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# Copyright (C) 2011 Canonical Ltd
4
 
# Author: Michael Terry <michael.terry@canonical.com>
5
 
6
 
# This program is free software: you can redistribute it and/or modify it under
7
 
# the terms of the GNU General Public License as published by the Free Software
8
 
# Foundation, version 3 of the License.
9
 
#
10
 
# See http://www.gnu.org/copyleft/gpl.html for the full text of the license.
11
 
 
12
 
if [ -z "$XDG_SEAT_PATH" ]; then
13
 
  # something went wrong
14
 
  exit 1
15
 
fi
16
 
 
17
 
dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.DisplayManager $XDG_SEAT_PATH org.freedesktop.DisplayManager.Seat.SwitchToGreeter