Comment 9 for bug 1097053

Revision history for this message
Ritesh Khadgaray (khadgaray) wrote :

workaround:

  It is possible to use "greeter-setup-script" and "session-setup-script" with lightdm . This allows a user ro run a scrip to pop-up a dialog via zenity to present a information dialog.

-----------------------------------------------------

$ cat /etc/lightdm/lightdm.conf
 ...
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
session-setup-script = /usr/bin/motorola

-----------------------------------------------------

$ cat /usr/bin/motorola
#!/bin/sh
#
# This is a example of what can be done
zenity --info --text Hi
# kIll gnome/unity session
killall -9 gnome-session

-----------------------------------------------------