![](https://seccdn.libravatar.org/avatar/ca1020536511a6a56f6de15ab22438dd.jpg?s=120&d=mm&r=g)
Randall R Schulz wrote:
This is wonderful. Sorry for the direct email but I wanted to ask you: can it be displayed before the logon screen? The users should see it before they supply username and password.
Use one of the commands dialog, kdialog or Xdialog to present the dialog you require. They can be given labelled buttons and you can test that the required button was clicked. You can put the pertinent invocation into /etc/bash.bashrc, /etc/csh.cshrc and / or /etc/zshrc (and the system-wide start-up script for any and all shell in use on your system).
It is possible to run custom programs when starting kdm, for instance to display an animated background. I've done that, but I don't quite remember where it is set; I **think** in /opt/kde/share/config/kdm/Xsession. Now if you started kdialog from that script I **think** it would be executed before the login dialog appears. Worth a try, isn't it. Helge