![Run a graphical app as root giving me "Cannot open display" errors, this is using the XFCE4 Desktop connecting via VNC. "DISPLAY=:1" is set : r/termux Run a graphical app as root giving me "Cannot open display" errors, this is using the XFCE4 Desktop connecting via VNC. "DISPLAY=:1" is set : r/termux](https://preview.redd.it/sg2qag41dt951.png?auto=webp&s=005c253bdeca3e6b8b2f053e5d1a8b003cd43a79)
Run a graphical app as root giving me "Cannot open display" errors, this is using the XFCE4 Desktop connecting via VNC. "DISPLAY=:1" is set : r/termux
![ubuntu - Running graphical Linux desktop applications from WSL 2 – "Error E233: cannot open display" - Stack Overflow ubuntu - Running graphical Linux desktop applications from WSL 2 – "Error E233: cannot open display" - Stack Overflow](https://i.stack.imgur.com/wt7IT.png)
ubuntu - Running graphical Linux desktop applications from WSL 2 – "Error E233: cannot open display" - Stack Overflow
![GNU Linux (Debian 10) – run gui program as root (without sudo) – E233: cannot open display | dwaves.de GNU Linux (Debian 10) – run gui program as root (without sudo) – E233: cannot open display | dwaves.de](https://dwaves.de/wp-content/uploads/2021/01/gparted_0.32.0_screenshot.png)
GNU Linux (Debian 10) – run gui program as root (without sudo) – E233: cannot open display | dwaves.de
![How to open gparted in fedora 25 (wayland): Gtk-WARNING **: cannot open display: :0 – Anna F J Smith Morris How to open gparted in fedora 25 (wayland): Gtk-WARNING **: cannot open display: :0 – Anna F J Smith Morris](https://www.gingerling.co.uk/wp-content/uploads/2017/01/232323232-fp83232-uqcshlukaxroqdfv3-877-nu32-9-3-44-WSNRCG3-7-633329nu0mrj-e1485203233114.jpg)