ubtunu打开firefox_Linux Ubuntu 终端命令行打开firefox报错
1,報錯
$ firefox
(firefox:2673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-80Eq35bHIz: Connection refused
(firefox:2673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-Hc5ktVWgCD: Connection refused
(firefox:2673): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Could not connect: Connection refused
(firefox:2673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-awpAoJ2BYb: Connection refused
原因:你沒有加sudo
2,報錯
$ sudo su
root@pc1:/home/user1# firefox
MoTTY X11 proxy: Authorisation not recognised
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Broadway display type not supported: localhost:10.0
Error: cannot open display: localhost:10.0
原因:你不該登錄root用戶去打開
3,正確的打開姿勢:
$ sudo firefox
總結
以上是生活随笔為你收集整理的ubtunu打开firefox_Linux Ubuntu 终端命令行打开firefox报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 谨以和仅以有什么区别 谨以和仅以的区别是
- 下一篇: Linux命令gitview,使用lin