Hello. I used to use xhost-command and su -l ... -c ... to run programs as a different user in debian10. In debian11 I get an error about having no DISPLAY env variable specified.
Does xhost work different now? $ uname -a Linux VB-Deb400 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux $ xhost local: non-network local connections being added to access control list $ su -l notserious -c firefox Passwort: Error: no DISPLAY environment variable specified robert@VB-Deb400:~$ Thx Bernd