Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #241621
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: xhost-command in Debian1 |
| Date | 2021-10-23 20:40 +0200 |
| Message-ID | <Dbu5X-7Dt-9@gated-at.bofh.it> (permalink) |
| References | <CqmV3-1r6-9@gated-at.bofh.it> <Cqno5-1AL-1@gated-at.bofh.it> <Db3Iu-8ry-13@gated-at.bofh.it> <Db41Q-6s-7@gated-at.bofh.it> |
| Organization | occasionally |
On Fri, 22 Oct 2021 09:44:25 -0500
David Wright <deblis@lionunicorn.co.uk> wrote:
> > root@jhegaala:~#
>
> I think you need su --whitelist-environment=DISPLAY,XAUTHORITY -
Thank you, also to Reco.
I did:
$ alias su="su --whitelist-environment=DISPLAY,XAUTHORITY"
That works. So I will add that to my other aliases in ~/.bashrc and in
/etc/skel/.bashrc.
I tried editing /etc/security/pam_env.conf, as tomas@tuxteam.de
suggested earlier, but that caused problems.
DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
XAUTHORITY DEFAULT="/home/charles/.Xauthority" OVERRIDE=${XAUTHORITY}
The DISPLAY line appears to work; that XUTHORITY line does not. It
caused /home/charles/.Xauthority to be owned by root, which in turn
caused problems when SSHing in as charles.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: xhost-command in Debian11 Charles Curley <charlescurley@charlescurley.com> - 2021-10-22 16:30 +0200
Re: xhost-command in Debian11 David Wright <deblis@lionunicorn.co.uk> - 2021-10-22 16:50 +0200
Re: xhost-command in Debian1 Charles Curley <charlescurley@charlescurley.com> - 2021-10-23 20:40 +0200
Re: xhost-command in Debian1 Keith Bainbridge <keithrbaugroups@gmail.com> - 2021-10-24 08:00 +0200
Re: xhost-command in Debian1 Greg Wooledge <greg@wooledge.org> - 2021-10-24 15:20 +0200
Re: xhost-command in Debian11 Reco <recoverym4n@enotuniq.net> - 2021-10-22 17:00 +0200
csiph-web