Linux users sometimes encounter centos startup errors during use. The error is as follows: prefdm main process (1235) terminated with status 1 information. So how do we solve this problem? Now Xiaobian will take a look at the solution to this problem.
Solution:
1. We tried a single user can log ah, how do not say, yeah you can log in, I thought it is not a hard problem , fsck fixed or not. Google.
From the error message, there is a problem when calling prefdm, then what is this? Online query, this is the startup of the X desktop, is a shell script, living in /Etc/X11/prefdm.
2. You can log in normally under a single user, but not in a single-user mode. Looked at the configuration of the runlevel is 5, we changed the next 3 found no problem, well, can start normally, the problem is solved, that is because of what reason, then look for.
3. After reading the /etc/X11prefdm script, I found two lines of key code:
exec gdm "$@" >/dev/null 2> &1 /dev/null 2>&1
4. Found that the gdm command does not. Yum install gdm -y Install it.
There should be no problem trying to install it.
You may also report other errors on the Internet. Here is an alternate
error message:
ait avahi-daemon[1102]: Service "localait" (/Services/ssh.service) successfully established.
Aug 11 17:45:41 localait kdm[1193]: X server "/usr/bin/X" cannot be executed
Aug 11 17:45:41 localait kdm[1174]: X server for display :0 cannot be started, session disabled
is because x cannot be executed.
The x11 server system execution order is: use startx first -- no use ~/.xserverrc -- no more execute /etc/X11/xinit/xserverrc -- not yet that is the last step, Execute /usr/bin/X.
Know the principle to see if the x11 server is installed, if not installed: yum -y install xorg-x11-server-Xorg
This is the centos startup error prefdm main process (1235) Terminated with status 1 solution, if you also encounter this problem, then try this method.
The find command in Linux has multiple ways to find it. What about the -path -prune
There are a lot of software that can convert text files into PDF files. In Linux, you can convert te
We all know that most Linux system operations need to be completed using commands, but the commands
Linux is very troublesome to build SVN repository every time. If you implement these through shell s
Linux scp command usage example summary
What should I do if the Linux system SSH has experienced 1 errors?
How to make a bootable img/iso image file on a Linux system
How to use the showmount command in Linux systems
Parameters and function descriptions of the Linux system Xconfigurator command
How to install the iotop command on a Linux system
How CentOS 6 modifies disk quota limits
The principle of implementing breakpoint resume in Linux
Virus killing repair system failure in safe mode
Win7 boot display uxtheme.dll lost solution
Win10 method to clean up system junk files
After installing win8, it is English version.
How does the Win8 desktop become a desktop change back?
WINDOWS 2003 IIS failed to start
Install update win10 system appears 80200056 error solution
Windows10 system replacement SSD often faked how to solve
How to use the u disk to install win7 and xp system installation tutorial detailed