Linux Server init 5 Start graphical interface, error Retrigger failed Udev events

Source: Internet
Author: User

Today due to work needs to open the desktop environment of Linux system, using StartX unsuccessful, reported the following error:

[[Email protected]5201351/]# startxxauth:creating New Authorityfile/root/.serverauth.2002Xinit:no suchfileor directory (errno2): No Server"/usr/bin/x" inchPathuse the--option, or MakeSure That/usr/bin isinchYour Path andthat"/usr/bin/x"is a program or a link to the right type of server foryour display. Possible server names include:xorg Common X server forMost displays XVFB Virtual frame buffer Xfake kdrive-based virtual frame buffer Xnest X server nestedincha window on another X server Xephyr kdrive-based nested X servergiving up.xinit:No suchfileor directory (errno2): Unable to connect to X serverxinit:no such process (errno3): Server error.

When you continue using the init 5 command to switch, the same error Retrigger failed Udev events, as shown in:

Calm down to think carefully, Init 5 executes the condition that the Linux operating system has a graphical environment, it is likely that the desktop environment is not installed

Workaround, install the GNOME desktop environment:

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

Respect for the work of others reproduced please be sure to indicate the source: http://www.cnblogs.com/5201351/p/4568969.html

Linux Server init 5 Start graphical interface, error Retrigger failed Udev events

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.