linux伺服器init 5啟動圖形介面,報錯Retrigger failed udev events

來源:互聯網
上載者:User

標籤:

今天因工作需要開啟linux系統的案頭環境,使用startx未成功,報如下錯誤:

[[email protected]5201351 /]# startxxauth:  creating new authority file /root/.serverauth.2002xinit:  No such file or directory (errno 2):  no server "/usr/bin/X" in PATHUse the -- option, or make sure that /usr/bin is in your path andthat "/usr/bin/X" is a program or a link to the right type of serverfor your display.  Possible server names include:    Xorg        Common X server for most displays    Xvfb        Virtual frame buffer    Xfake       kdrive-based virtual frame buffer    Xnest       X server nested in a window on another X server    Xephyr      kdrive-based nested X servergiving up.xinit:  No such file or directory (errno 2):  unable to connect to X serverxinit:  No such process (errno 3):  Server error.

再繼續使用init 5命令進行切換時,同樣報錯Retrigger failed udev events,如所示:

靜下心來仔細一想、init 5執行的條件是得linux作業系統得有圖形環境,因此很可能是未安裝案頭環境

解決方案,安裝Gnome案頭環境即可:

[[email protected]5201351 ~]yum groupinstall "Desktop"  -y[[email protected]5201351 ~]yum groupinstall "X Window System"  -y

 

尊重別人的勞動成果 轉載請務必註明出處:http://www.cnblogs.com/5201351/p/4568969.html

linux伺服器init 5啟動圖形介面,報錯Retrigger failed udev events

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.