Copied xorg.conf file, now X won't load
Hello. Total newbie here.
I wanted to remap my mouse buttons so the side button would act as the middle button. I looked at some sites, told me to edit xorg.conf. So I first copied the file somwhere else. Then looked at the original via a text editor. Gave up, did not edit anything and shut down. Next to I turn on computer X won't load. Says, Incomplete data in xorg.conf. No Input device driver line. Sure enough there wasn't. But there was none originaly. I put in a line, Driver "mouse" And tried starting X. Then it tells me (EE) no drivers available I don't understand why X would load before, but now it won't. |
Well you just need to compare the new xorg.conf with the older one and see what changes you have made or post the changes you have made in the xorg.conf here so that we can help you out
regards |
To compare the two files:
diff oldconf newconf |
Here is my xorg.conf file:
Code:
# /.../ Driver "mouse" line. But even with it, when I startx it says Code:
(EE) no drivers available Any suggestions? |
Well Is this your original xorg.conf?
doesn't look to me It does not have any other reference to Screen0 as I have it in my xorf.conf (I have 2 references to screen0) regards |
Right, let's think. Clearly you have changed something about your config file, else things wouldn't have changed. Perhaps you made some adjustment with the editor without realising (can quite easily happen under vi, if you're not used to it). Let's take a look at when the file was modified:
Code:
ls -l /etc/X11/xorg.conf | cut -d' ' -f7 My guess is that you've managed to mangle the ServerLayout section. This section normally refers to screens and mice, and yours doesn't, so it could conceivably throw the errors you're encountering. Adding some relevant lines in there may well fix your problem. But wait, let's backtrack a bit. You say you backed the file up before editing it (a sensible precaution). Have you tried restoring the backup? Your posts so far suggest you haven't, and that should be the first thing to try (it's why we take backups, after all!). I'd advise you to keep your current "broken" xorg.conf in case things don't immediately start working and we have to dig around for more clues. Something like Code:
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.broken |
Ok the problem is solved. It turns out that on SuSE, which I have, there is a program SAX which writes its own xorg file and sets up X. All I had to do was to start YAST. But then I had to spend hours trying to get the resolution correct.
Anyway I'm happy to say it works now. Thanks heaps |
All times are GMT -5. The time now is 07:06 PM. |