[FIX] Linux OS: Cannot open display GUI for Wayland

Channel:
Subscribers:
17,500
Published on ● Video Link: https://www.youtube.com/watch?v=1xIvppquqco



Duration: 1:05
15,461 views
0


Get(Free,Donate)
E:
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:2284): Gtk-WARNING **: cannot open display: :0
Fix??
$xhost +si:localuser:root
[see]localuser:root being added to access control list
Mean: add user to root(sudo GUI + terminal)
$xhost -si:localuser:root
Mean: Reset to default, user cannot run root(GUI) in terminal.
test with :$sudo nautilus
-- Done --







Tags:
ubuntu os
linux os
gimp photo editor
inkscape vector editor
blender 3D editor
qt creator