Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-05-2003, 05:54 PM
|
#1
|
Member
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405
Rep:
|
How to fix my XF86Config-4 file??
Just when I thought I had linux figured out, I turn around and screw up startx. Here's what happened:
-Changed the mouse resolution to 1600 in the config-4 file.
-I also added a line that was supposed to increase the acceleration of the mouse to two or something. This was directly copy pasted from some online material offering hack tips.
I saved the file and restarted the computer. It then loads up linux like normally, but goes directly to the prompt. I log in as root and type in startx.
Apparantly, the second line that I added had a command (XSET or something like that, I cant remember) which in the verbose said that couldn't be recognized as a command..orr something like that.
So now I can't log into startx or anything. Although I do know what the exact problem is.
My question is this:
Is there any way I could edit or overwrite the file with something workable through the prompt? Or does anybody know an alternative way to get my mandrake working again?
-Thanks
Last edited by flamesrock; 09-05-2003 at 05:56 PM.
|
|
|
09-05-2003, 06:01 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
why do you need to start X to edit your config file? just log in as user as usual, then su, vim (or pico or whatever you use) /etc/X11/XF86Config-4. make your changes, and then start X.  (edit: ps. you don't need to reboot every time after changing your config file, just start/restart X.)
Last edited by synaptical; 09-05-2003 at 06:05 PM.
|
|
|
09-05-2003, 06:04 PM
|
#3
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Do you have DOS experience? If you do, you probably remember Norton Commander. There's something similar in Linux, called Midnight Commander, the command is 'mc' (even if you don't know it, try it, it makes everything easier). If you don't have it installed use
urpmi mc
Then you can navigate to /etc/X11 and edit the file.
|
|
|
09-05-2003, 07:15 PM
|
#4
|
Member
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405
Original Poster
Rep:
|
Thanks guys!
It works now. Midnight commander is great. 
|
|
|
09-05-2003, 07:28 PM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
|
|
|
09-05-2003, 08:31 PM
|
#6
|
Member
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153
Rep:
|
I wasn't having any problems but did wanna try that mc thing. Indeed it works very nice.
Thanx for the tip
|
|
|
All times are GMT -5. The time now is 05:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|