Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #241596
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: xhost-command in Debian11 |
| Date | 2021-10-22 16:30 +0200 |
| Message-ID | <Db3Iu-8ry-13@gated-at.bofh.it> (permalink) |
| References | <CqmV3-1r6-9@gated-at.bofh.it> <Cqno5-1AL-1@gated-at.bofh.it> |
| Organization | occasionally |
[Multipart message — attachments visible in raw view] - view raw
On Tue, 15 Jun 2021 21:51:28 +0200 <tomas@tuxteam.de> 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: Today is Setting Orange, the 3rd of The Aftermath, 3187. P'tang! root@jhegaala:~# exit logout charles@jhegaala:~$ su --whitelist-environment=DISPLAY - Password: Today is Setting Orange, the 3rd of The Aftermath, 3187. This statement is false. root@jhegaala:~# echo $DISPLAY :0.0 root@jhegaala:~# xclock & [1] 311078 root@jhegaala:~# No protocol specified Error: Can't open display: :0.0 [1]+ Exit 1 xclock root@jhegaala:~# emacs & [1] 311095 root@jhegaala:~# No protocol specified Display :0.0 unavailable, simulating -nw fg emacs root@jhegaala:~# -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Back to linux.debian.user | Previous | Next — 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