Remote Terminal $DISPLAY Variable

I’m running a Pi 4 with Raspbian and the LTE-M cellular hat.

I’ve discovered that pynput requires a terminal session to have a defined $DISPLAY variable; however, SixFAB terminal does not have a defined $DISPLAY variable. Can SixFAB add -X forwarding to its SSH session?

I’ve attempted to use the mouse library, mouse · PyPI, which does not depend on X; however, it runs into a segmentation fault when run through the SixFab terminal.

I have a pi 4 connected to a touchscreen. I’m attempting to automatically click a few buttons remotely in order to assess that the python application running the screen is functioning properly. Any insights welcome


Thank you for your valuable feedback. We have no plans to add this anytime soon.

1 Like