On Tue, Jun 15, 2021 at 10:17:25PM +0200, BerndSchmittNews wrote: > Hello tomas, > > > thanks for your answer. > > On 15.06.21 21:51, to...@tuxteam.de wrote: > >No. It's the su, dropping the DISPLAY environment variable. Try adding > >the option `--whitelist-environment=DISPLAY to your su command > > works like a charm.
Glad it helped. See the manual page for pam_env and especially /etc/security/pam_env.conf for a more permanent solution. Cheers - t
signature.asc
Description: Digital signature