====== Fedora で gedit を sudo したい時に No protocol specified が発生する ======
$ sudo gedit
No protocol specified
Unable to init server: Could not connect: 接続を拒否されました
(gedit:5138): Gtk-WARNING **: 13:26:11.555: cannot open display: :0
xhost +local: コマンドに続けて sudo gedit で実行できる。\\
$ xhost +local:
non-network local connections being added to access control list
$ sudo gedit
[sudo] tomoyan のパスワード:
===== 参考文献 =====
[[https://ask.fedoraproject.org/en/question/101641/run-gedit-as-root-in-wayland/|Run Gedit as root in wayland - Ask Fedora: Community Knowledge Base and Support Forum]]\\