I have a video processing script that runs just fine when my user is logged into their desktop session. However what I’m attempting to do is set it up to run headlessly in a kiosk. The issue is when booting from a custom .desktop, the NVIDIA background image overlays the results, except for a small part in the top right corner. Can I perminately remove this, I think this would be possible, since I’m running the device off of boot from USB.
The $DISPLAY variable being fed into the docker container that’s doing the processing is being correctly set, and the container is able to correctly grab the host screen dimensions, I can also tell its correct because just the portion of the image is displayed correctly. I’m running JetPack 4.6, all background images and screen savers have been disabled, but since JetPack 4.5 QSPI-NOR is now on board maybe it’s getting that image from there, but again, my system is booting from USB. Here’s my custom config for xsession to run in kiosk mode:
[Desktop Entry] Name=CustomKiosk Comment=My AI Camera Kiosk Exec=/bin/bash /home/user/detect_people.sh Icon= Type=Application
[SeatDefaults] #Original Configs Below #greeter-session=lightdm-gtk-greeter #user-session=ux-LXDE #New Config user-session=CustomKiosk allow-guest=false autologin-user=user