I tried to follow the procedure in the answer to this question How do I create a popup banner before login with Lightdm?, but I just get a blank screen. If I run my shell script on its own, I get the popup, and then some kind of error about not being able to connect to a bus or something.
I'm new to all of this - can someone please help?
I also tried calling the script from session-setup-script, which did not show the popup.
Thanks.