[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xhost-command in Debian11 [solved]



On Tue, Jun 15, 2021 at 10:17:25PM +0200, BerndSchmittNews wrote:
> Hello tomas,
> 
> 
> thanks for your answer.
> 
> On 15.06.21 21:51, tomas@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

Attachment: signature.asc
Description: Digital signature


Reply to: