Linux 日常使用錯誤總結

來源:互聯網
上載者:User

問題:Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine"

解決方案:總體辦法就是缺什麼,yum什麼。

fedora下  :#yum install gtk-murrine-engine

ubuntu 下:$ sudo apt-get install gtk-murrine-engine


問題: Theming engine 'unico'
not found

解決方案:

fedora 下:#yum install gtk-unico-engine.i686

問題:以root身份運行gedit出錯

# gedit

(gedit:8195): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

** (gedit:8195): WARNING **: Could not connect to session bus

解決方案: 以root身份運行GUI程式,需要之前使用的是su --login rootsu -,而不是僅僅用su。

To run GUI apps as root, you now need a root login shell:

Code:
su --login root

or in short formCode:

su -

Note the space and dash after su

this provides an entire root environment rather than just changing user.

問題:tar: Exiting with failure status due to previous errors 

解決方案:切換到root再次執行。原文:http://blog.csdn.net/maoyanxiaohu/article/details/7920370

問題:gedit 中文亂碼

系統:fedora 17

gedit版本: 3.4.2

解決方案:將GB18030放在前面就行了。

命令列方式: gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"

問題:virtual box
啟動出錯

參考資料 : http://blog.csdn.net/zhangxizhicn/article/details/6729596

錯誤提示為:

Error:
Failed to create the VirtualBox COM object.
The application will now terminate.
Start tag expected, '<' not found.
Location: '/home/xxxx/.VirtualBox/VirtualBox.xml', line 1 (0), column 1.
/home/vbox/vbox-3.1.0/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init()).
"xxxx"=你的使用者名稱

解決方案:

刪除/home/xxxx/.VirtualBox/VirtualBox.xml,然後就可以進入virtualbox,但是發現原來的虛擬機器不見了。

別急,點擊菜單中的Machine--> Add 然後找到 xxx.vbox ,開啟就可以了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.