Gtk-WARNING: cannot open display 0
If you’re seeing this error, you’re probably trying to start a GTK application as root and having no luck doing so.
Luckily the fix is really simple.
If you’re seeing this error, you’re probably trying to start a GTK application as root and having no luck doing so.
Luckily the fix is really simple.
If you’re reading this, you’ve probably received the warning when running for instance xterm
or dmenu_run
.
Here’s how to easily fix the problem.