Fedora is completely normal during startup and there are no error messages. But it will go to the character interface logon prompt, instead of the X Window logon interface.
An error occurred while starting X Window using the startx command. The prompt is as follows:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove/tmp/. X0-lock and start again
Troubleshooting process:
1. Check whether only one X server is running.
The number denotes the display number (in this case 0 ). this number needs to be unique on the system, so you cannot run two servers on one system with identical display numbers. this message indicates that there is already a server with this number running
On the system.
Check Method:
You can verify this by running
PS aux | grep 'cat/tmp/. X0-lock'
If a similar output exists, it indicates that an xserver is running.
If you see an output like:
Root 2283 0.5 5.1 27796 6536? S apr21 59: 03 [x]
It indicates that there is indeed an xserver running under this PID.
Solution:
To start a second server on the same system you have to give it a different dislay number.
If you start your servers using startx you can do:
Startx --: 1
To start a server with display number 1.
2. No xserver is running, delete the tmp/. X0-lock file, and then startx
If you are sure there is no other server running on your system and above ps command indicates that no server with this PID is running, you shoshould remove the file/tmp /. x0-lock by doing (as 'root '):
Rm-RF/tmp/. X0-lock
You must use the root permission to delete the object.-F indicates that the object is forcibly deleted.