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

Bullseye: setting and using $DISPLAY after su -



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?

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: