On Thu, Dec 31, 2020 at 02:50:18PM -0700, Charles Curley wrote: > I am using Bullseye as updated to yesterday. It is my custom to log in > to XFCE as my regular user, then "su -" in order to run as root, > including GUI programs. In the process, in the past $DISPLAY has been > set. > > I now find on bullseye that $DISPLAY is not being set. However, even if > I set DISPLAY manually or run 'su -w DISPLAY -', programs like xclock > complain that they cannot open the display. > > How do I allow root to use the display?
Most probably you have to copy the user's [1] ~/.Xauthority file to root's home. Cheers [1] on behalf of which the X server runs. > Does anybody read signatures any more? Yes, I do :) - t
signature.asc
Description: Digital signature