Answers for "opencv cannot open display"

0

opencv cannot open display

[Unit]
Description=lalala

[Service]
Type=oneshot
ExecStart=/bin/bash "/home/pi/Desktop/test.sh" start
ExecStop=/bin/bash "/home/pi/Desktop/test.sh" stop
RemainAfterExit=yes
Environment=XAUTHORITY=/home/pi/.Xauthority
Environment=DISPLAY=:0.0

[Install]
WantedBy=multi-user.target
Posted by: Guest on July-30-2021

Browse Popular Code Answers by Language