Solution for failing to enter X-window in fc5

Source: Internet
Author: User
Source http://blog.csdn.net/bat603
Author prophet
This article can be reproduced at will, but the source must be retained.
This article is just a solution to the specific problem, mainly by throwing bricks and leading bricks.
This time I felt the weakness of Linux, Or I realized that everything in Linux is implemented by files. Maybe I installed some font software packages before the system restarts, or it may be because I did not close the program and executed the reboot command. I am not sure, so I need to find the reason later.
In short, the system cannot enter X-window, and the prompt message is: cocould not open default font 'fixed '. You have searched for many methods on the Internet, such:
1.
Reconfiguration
Deleted Xorg. conf

Apt-Get -- purge remove xserver-Xorg

Then

Apt-Get install xserver-Xorg
2.
Dpkg-reconfigure does not work either.
For more information about the functions of the preceding commands, visit the internet.
My solution:
The configuration file for X-window is in/etc/X11/Xorg. conf, I am a newbie and do not know the detailed configuration information, so I deleted it (remember to back up, Because I neglected to delete it before I remembered the backup, thanks to the fact that I could eventually start X-window, otherwise it will be painful ).
A. rm-F/etc/X11/Xorg. conf
Generate the default X-window configuration file named Xorg. conf. New
B. Xorg-configure
C. CP Xorg. conf. New/etc/X11/Xorg. conf
D. starx (most cannot be started, mainly because the error message is read)
The error message is displayed in the/var/log/xorg.0.log file. The error message is
(Ee) xf860penserial: cannot open device/dev/mouse
No such file or directory
(Ee) mouse0: cannot open Input Device
(Ee) preinit failed for input device "mouse0"
No core pointer
We can see that the cause of the error is the mouse problem.
E. Find/-name "mouse *"
Location of the mouse driver/dev/input/mouse0 found
F. VI/etc/X11/Xorg. conf
See
Section "inputdevice"
Identifier "mouse0"
Driver "Mouse"
Option "protocol" "Auto"
Option "device" "/dev/mouse"
Option "zaxismapping" "4 5 6 7"
Endsection
The problem was found, and it was a problem with the mouse drive position.
Section "inputdevice"
Identifier "mouse0"
Driver "Mouse"
Option "protocol" "Auto"
Option "device" "/dev/input/mouse0"
Option "zaxismapping" "4 5 6 7"
Endsection

G. startx
Successful! The cute X-window appears. Of course, you need to set the resolution of the display settings you want.
Then, log out.

 

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.