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