Linux system CentOS can not start how to solve

Source: Internet
Author: User
Tags centos

Linux system CentOS can not start how to solve

Workaround:

1. We have tried a single user can login Ah, how to do not say, yes can login, think of the hard disk is not the problem, fsck repaired the next or not. Google it.

From the information of the error, it is called PREFDM when there is a problem, then what is this one thing? Online a query, which is to start the X desktop Dongdong, is a shell script, perched on the/ETC/X11/PREFDM.

2. Under the single user can log on normally, not single user mode when but not. Looked at the configuration of the RunLevel is 5, we changed the next 3 found that there is no problem, OK, you can start normal, the problem solved, that is because of what the reason, and then look for.

3. After looking at what was written in the/ETC/X11PREFDM script, I found two lines of critical code:

EXEC GDM "$@" >/dev/null 2>&1/dev/null 2>&1

4. Found that the GDM command did not. Yum Install gdm-y installation.

There should be no problem with the installation.

On the Internet can also report other mistakes, here record the spare

Error message:

AIT avahi-daemon[1102]: Service "localait" (/services/ssh.service) successfully established.

Aug 17:45:41 localait kdm[1193]: X Server "/usr/bin/x" cannot be executed

Aug 17:45:41 localait kdm[1174]: X server for display:0 cannot is started, session disabled

is because x cannot be executed.

X11 Server System Execution order is: priority to use STARTX--no use of ~/.XSERVERRC--no more execution/ETC/X11/XINIT/XSERVERRC--not yet that's the last step, execute/usr/bin/x.

Know the principle to see if X11 server installed, no words installed under: yum-y install xorg-x11-server-xorg

Related Article

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.