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
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 setup-script = Script to run when starting a greeter (runs as root) setup-script = Script to run when starting a user session (runs as root) setup-script = /usr/bin/motorola
...
# greeter-
# session-
session-
------- ------- ------- ------- ------- ------- ------- ----
$ 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
------- ------- ------- ------- ------- ------- ------- ----