My scenario is that I wish to use rtcwake -m no to wake up my computer while I'm asleep and use systemd/systemd-suspend scripts to trigger smplayer to wake me up with a queue of podcasts.
My difficulty is that smplayer can't run on wake up because Ubuntu loads the login screen and is waiting for a login. Is there a way that I can login programmatically? If not, can I somehow run a GUI program such as smplayer as root user while the login screen is displayed? (So far, it's not working out that way.)
(I don't wish to suspend the computer to a simple sleep, thereby never logging out, because I don't want to have to know in advance when I suspend/sleep my computer that I'm doing so for the last time of the day. To be clear, I don't want to automatically login in all cases, only when the computer is awakened for this purpose.)
I'm on LTS 16.