Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-06 Thread Greg Wooledge
On Wed, Jan 06, 2021 at 10:20:00AM -0600, David Wright wrote: > User's DISPLAY not revealed > > After su DISPLAY=:0.0 > > (exit) > > User's DISPLAY not revealed > > After su - DISPLAY=:0 Well, that's pretty clear evidence that they're hard-coding the equivalent of "export DIS

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-06 Thread David Wright
On Wed 06 Jan 2021 at 07:35:08 (-0500), Greg Wooledge wrote: > On Tue, Jan 05, 2021 at 10:38:39PM -0600, David Wright wrote: > > But here on debian-user, I was really more interested in why the value > > of DISPLAY was apparently changed by one su and not the other (or > > perhaps by both). The exp

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-06 Thread Greg Wooledge
On Tue, Jan 05, 2021 at 10:38:39PM -0600, David Wright wrote: > But here on debian-user, I was really more interested in why the value > of DISPLAY was apparently changed by one su and not the other (or > perhaps by both). The explanation, "probably with an alias for su", > alias su="su -w DISPLAY"

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-05 Thread David Wright
On Mon 04 Jan 2021 at 07:32:44 (-0500), Greg Wooledge wrote: > On Fri, Jan 01, 2021 at 07:52:40PM +0100, to...@tuxteam.de wrote: > > On Fri, Jan 01, 2021 at 10:24:44AM -0700, Charles Curley wrote: > > > On Thu, 31 Dec 2020 22:30:34 -0600 David Wright wrote: > > > > > > > $ /bin/su - > > > > Pa

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-04 Thread tomas
On Mon, Jan 04, 2021 at 08:36:09AM -0500, Greg Wooledge wrote: > On Mon, Jan 04, 2021 at 07:48:03AM -0500, The Wanderer wrote: > > I parsed the preceding conversation as indicating that > > > > $ ln -sf /home/auser/.Xauthority /root/.Xauthority > > > > produced a setup that worked, but > > > > $

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-04 Thread Greg Wooledge
On Mon, Jan 04, 2021 at 07:48:03AM -0500, The Wanderer wrote: > I parsed the preceding conversation as indicating that > > $ ln -sf /home/auser/.Xauthority /root/.Xauthority > > produced a setup that worked, but > > $ cp /home/auser/.Xauthority /root/.Xauthority > > produced one that didn't. Th

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-04 Thread The Wanderer
On 2021-01-04 at 07:32, Greg Wooledge wrote: > On Fri, Jan 01, 2021 at 07:52:40PM +0100, to...@tuxteam.de wrote: > >> On Fri, Jan 01, 2021 at 10:24:44AM -0700, Charles Curley wrote: >>> Bingo! That, rather than copying .Xauthority, gave me a fix. >> >> Huh? That is strange. I mean: great it wor

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-04 Thread Greg Wooledge
On Fri, Jan 01, 2021 at 07:52:40PM +0100, to...@tuxteam.de wrote: > On Fri, Jan 01, 2021 at 10:24:44AM -0700, Charles Curley wrote: > > On Thu, 31 Dec 2020 22:30:34 -0600 > > David Wright wrote: > > > > > $ /bin/su - > > > Password: > > > ahost ~# xeyes -display :0.0 > > > Xlib: connectio

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread Charles Curley
On Fri, 1 Jan 2021 19:52:40 +0100 wrote: > > > ahost ~# ln -s ~auser/.Xauthority .Xauthority > > > > Bingo! That, rather than copying .Xauthority, gave me a fix. > > Huh? That is strange. I mean: great it worked for you, but I'd > like to learn what is going on there :-) I quite agree. S

Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread tomas
On Fri, Jan 01, 2021 at 10:24:44AM -0700, Charles Curley wrote: > On Thu, 31 Dec 2020 22:30:34 -0600 > David Wright wrote: > > > $ /bin/su - > > Password: > > ahost ~# xeyes -display :0.0 > > Xlib: connection to ":0.0" refused by server > > Xlib: Client is not authorized to connect to S

[SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread Charles Curley
On Thu, 31 Dec 2020 22:30:34 -0600 David Wright wrote: > $ /bin/su - > Password: > ahost ~# xeyes -display :0.0 > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > Error: Can't open display: :0.0 > ahost ~# ln -s ~auser/.Xauthority