You are not logged in.
This morning, I had attempted to reinstall Arch Linux, after having tried Ubuntu for about a week or so. Install went well (once I had an up-to-date disc), but then I ran into a serious problem. The auto-generate xorg.conf files were not working. As soon as I tested X, I would be greeted by a black screen and then had to reboot manually. A few more attempts, and I discovered the problem: the contents of the xorg.conf file was getting erased whenever X read it! What the hell is going on!?
Last edited by Falcata (2009-06-10 20:58:07)
Offline
How did you start X? It does not delete it's config file by itself.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I started it either with "X -configure /path/to/xorg.conf" or "startx"
Offline
`X -configure /path/to/xorg.conf` tries to create a new config file. If it for some reason fails, /path/to/xorg.conf might end up as an empty file.
When it comes to the "hanging" X, read up on hotplugging.
Last edited by Mr.Elendig (2009-06-09 19:04:17)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thank you, Mr Elendig. I'll try this again later this evening.
Offline
My new Arch install was behaving the exact same way last night. Btw, rather than rebooting, you might try CTRL+ALT+Fx and then back, where you might then be able to CTRL+C out of the test. That worked for me, though not every time.
Anyway, after struggling with X -configure /path/to/xorg.conf for an hour or so, I finally just tried startx, and it worked fine.
EDIT: I should add that when I finally got around to trying startx, I had already installed Fluxbox, hoping some part of that process might dislodge whatever was gumming up the works. I don't know if X would have worked without it or not.
Last edited by Quasimojo (2009-06-09 19:34:27)
Offline
Switching virtual terminals did not work, because the problem was input related.
Offline
Got it all resolved. What I did was I reinstalled my old hard drive, which I had been using about two weeks ago, and then booted up from it. I mounted the new hard drive, and copied my old hard drive's working xorg.conf over to the new one. Then, I set the old drive to slave, and booted from the new one. X worked just fine after that.
Offline