my old PC using acpi to catch special buttons' actions so I can execute some scripts for certain events. The problem - I can't start any graphical application with it. All graphical application reports that they can't find display. I tried to output user and tty which acpi using but there's no user and no tty, so as I a newbie in Linux I assumed acpi runs under some system hood.
PC is running under antiX linux so there's no DE only WM (with X11 server) and no systemd and systemctl. The question is how do I start graphical application in current X11 server session after acpi triggers a script?