Don't use xf86cfg, it's buggy

Discuss Applications

Don't use xf86cfg, it's buggy

Postby Refalm » Thu Jan 22, 2004 6:18 am

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.
Refalm
user
user
 
Posts: 36
Joined: Tue Jan 21, 2003 12:40 pm
Location: Nijmegen, The Netherlands

Postby Tux » Thu Jan 22, 2004 9:20 am

why wont it go back to 3?
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Refalm » Thu Jan 22, 2004 10:43 am

Tux wrote:why wont it go back to 3?


When X shuts down, there is no "root@localhost #"... the only option left is Ctrl+Alt+Delete :(
Refalm
user
user
 
Posts: 36
Joined: Tue Jan 21, 2003 12:40 pm
Location: Nijmegen, The Netherlands

Postby Void Main » Thu Jan 22, 2004 11:42 am

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.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Refalm » Fri Jan 23, 2004 3:12 pm

Why didn't I think of that :?

Thanks Void Main...

I noticed that KDE has the same stuff as xf86cfg in their configuration panel :) at least that didn't bugged like hell
Refalm
user
user
 
Posts: 36
Joined: Tue Jan 21, 2003 12:40 pm
Location: Nijmegen, The Netherlands

Postby Tux » Fri Jan 23, 2004 3:21 pm

This is the way my system behaves, what you have to do is use one of the other virtual teminals.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Fri Jan 23, 2004 3:34 pm

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.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Master of Reality » Sat Jan 24, 2004 7:35 pm

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.
in addition to this you should be able to switch to a different console (ctrl+alt+F6) and use that console.
Master of Reality
guru
guru
 
Posts: 562
Joined: Thu Jan 09, 2003 8:25 pm


Return to Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron