在使用sudo gedit xxx文件时遇到了错误 提示: No protocol specified Unable to init server: Could not connect: Connection refused (gedit:2322): Gtk-WARNING **: cannot open display: :0 谷歌了下,好像是司马的linux安全机制,不让非当前用户(也就是root)运行任何图形界面程序,好吧,linux你牛逼,我们曲线救...