Re: xhost-command in Debian11

2021-10-22 Thread Reco
Hi. On Fri, Oct 22, 2021 at 08:25:36AM -0600, Charles Curley wrote: > charles@jhegaala:~$ su --whitelist-environment=DISPLAY - It won't be enough. You need this: su --whitelist-environment=DISPLAY,XAUTHORITY - Reco

Re: xhost-command in Debian11

2021-10-22 Thread David Wright
On Fri 22 Oct 2021 at 08:25:36 (-0600), Charles Curley wrote: > On Tue, 15 Jun 2021 21:51:28 +0200 > wrote: > > > Try adding > > the option `--whitelist-environment=DISPLAY to your su command (hint: > > you can add more variables to that whitelist, comma separated). > > I just tried this. No joy

Re: xhost-command in Debian11

2021-10-22 Thread Charles Curley
On Tue, 15 Jun 2021 21:51:28 +0200 wrote: > Try adding > the option `--whitelist-environment=DISPLAY to your su command (hint: > you can add more variables to that whitelist, comma separated). I just tried this. No joy. charles@jhegaala:~$ echo $DISPLAY :0.0 charles@jhegaala:~$ su - Password:

Re: xhost-command in Debian11 [solved]

2021-06-15 Thread tomas
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 comman

Re: xhost-command in Debian11 [solved]

2021-06-15 Thread BerndSchmittNews
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. Thank you Bernd

Re: xhost-command in Debian11

2021-06-15 Thread tomas
On Tue, Jun 15, 2021 at 09:21:10PM +0200, BerndSchmittNews wrote: > 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? No. I

xhost-command in Debian11

2021-06-15 Thread BerndSchmittNews
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) x