When I first installed Slackware 9.1, I noticed that my middle mouse button was working correctly, but my scrollwheen wasn't.
So I started up xf86cfg as su. I configured it from "Intellimouse" to "Auto scroll-mouse" and rebooted the computer.
When it was about to go to runlevel 4, the message popped up that X wasn't starting, because there was a fault in the configuration file.
xf86cfg started, and I configured it back to "Intellimouse", being a little bit suspicious that this could cause X not to boot.
After restarting X, it still wouldn't start! It just keep telling me that there was a fault. So this time I looked closely into the output, and noriced something like: "^AEndSection". You know what hepeneds if you type Ctrl+Shift+5 in Vim? You get a weird character like "^Y". I think that was what hapenned to the configuration file, it couldn't parse the last section.
So next time, I'll just use Vim to edit X's configuration files. But damn, it won't start X, and as a treat, it won't go back to runlevel 3, which sucks deeply. So my only option now is to re-install Slackware, just because xf86cfg has this stupid bug.
Don't use xf86cfg, it's buggy
You should be able to start it in single user mode which should not start X by passing a parameter to the kernel at the LILO prompt. In Red Hat and other distros just add the word "single" to the boot command line. I think it's the same for Slack... e.g. "LILO: linux single".
You could also boot from alternate media (such as Knoppix), mount the root partition and edit your XF86Config to repair it.
You could also boot from alternate media (such as Knoppix), mount the root partition and edit your XF86Config to repair it.
I know it's a little late now but I have learned *long* ago that once you have a working XF86Config, back it up into a safe place, especially right before making a change to it. It has been a long time since I have have a non-working XF86Config during the installation process. This is a good one to keep in a safe place. Then when you come behind with these other tools and screw it up (always happens) you can just copy the good one over the bad one.
-
- guru
- Posts: 562
- Joined: Thu Jan 09, 2003 8:25 pm
in addition to this you should be able to switch to a different console (ctrl+alt+F6) and use that console.Void Main wrote:You should be able to start it in single user mode which should not start X by passing a parameter to the kernel at the LILO prompt. In Red Hat and other distros just add the word "single" to the boot command line. I think it's the same for Slack... e.g. "LILO: linux single".
You could also boot from alternate media (such as Knoppix), mount the root partition and edit your XF86Config to repair it.