LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accidentally deleted /etc/X11/xorg.conf from run level 1...solutions? (https://www.linuxquestions.org/questions/linux-newbie-8/accidentally-deleted-etc-x11-xorg-conf-from-run-level-1-solutions-774852/)

morelandjs 12-10-2009 09:27 PM

Accidentally deleted /etc/X11/xorg.conf from run level 1...solutions?
 
So I haven't used Fedora much since I installed it. I just fixed a networking issue and after getting internet I decided I'd install the 100 or so recommended updates.

Not long there after, I couldn't boot to the login screen. It would get to the end of the boot sequence and then hang.

I snooped around online and the problem looked like a graphics card issue. Somehow the updates I had installed prevented my graphics card from being recognized. This seemed plausible as I could log in with no problems under run level 1.

One user said that he renamed /etc/X11/xorg.conf to /etc/X11/xorg.conf.old and it fixed his problem.

I logged in under run level 1 to do this but I made the VERY DUMB MISTAKE of forgetting elementary bash and I deleted the file instead of renaming it (I am extremely new to Linux).

What are my options? Is there a way I can replace the configuration file or reinstall X11 from run level 1? I am VERY inexperienced as you can tell.

I really appreciate the help. I've been working on this for hours and my head hurts.

-Scott

~sHyLoCk~ 12-10-2009 09:32 PM

That shouldn't be a problem as long as you can boot to console. What video card are you using?

morelandjs 12-10-2009 09:38 PM

NVIDIA GeForce 9400M (macbook pro)

~sHyLoCk~ 12-10-2009 09:40 PM

Ok then I'm guesing you had nvidia video driver installed? if so try as root:

Code:

nvidia-xconfig

morelandjs 12-10-2009 09:44 PM

I am on my mac partition right now, and I have to shut down and boot into Linux to do anything. Could you outline what I should try so I don't have to go skipping between OS's to access this thread?

I really appreciate the help!

And yeah I have an Nvidia beta driver installed that worked well until I decided to install the suggested updates for my system. I am not exactly sure which driver it is however.

-scott

morelandjs 12-10-2009 10:12 PM

Ok. I was able to restore the config file and rename it but unfortunately it did not fix my problem of being unable to boot into the login screen.

Anyone have any thoughts?

I can log in as run level 1, and under a normal boot, the sequence hangs after "starting acrond [check]".

The last thing I did to my laptop was install a bunch of updates and my hunch is that one of them hosed my graphics card.

The help has been great!

-Scott

~sHyLoCk~ 12-10-2009 10:28 PM

Hmm, it's really difficult to say what update b0rked your system. I don't use fedora. But you could check out the yum log in /var/log to see what you updated. If a new kernel was installed, use the previous kernel to access your system. Post the yum log here.


All times are GMT -5. The time now is 02:21 PM.