![gedit 错误 — “无法初始化服务器:无法连接:连接被拒绝”](https://linux22.com/image/950213/gedit%20%E9%94%99%E8%AF%AF%20%E2%80%94%20%E2%80%9C%E6%97%A0%E6%B3%95%E5%88%9D%E5%A7%8B%E5%8C%96%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%9A%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%EF%BC%9A%E8%BF%9E%E6%8E%A5%E8%A2%AB%E6%8B%92%E7%BB%9D%E2%80%9D.png)
当我输入时gedit ~/.bashrc
出现此错误:
Unable to init server: Could not connect: Connection refused
(gedit:204): Gtk-WARNING **: 22:03:28.442: cannot open display
有人能告诉我问题出在哪里吗
当我输入时gedit ~/.bashrc
出现此错误:
Unable to init server: Could not connect: Connection refused
(gedit:204): Gtk-WARNING **: 22:03:28.442: cannot open display
有人能告诉我问题出在哪里吗