LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X crashes on boot. (https://www.linuxquestions.org/questions/linux-newbie-8/x-crashes-on-boot-588534/)

STCninja 09-30-2007 11:32 PM

X crashes on boot.
 
Alright. I'm trying out Ubuntu feisty and I'm getting things set up and such. I try getting and enabling a driver for my nvidia geforce 6600GT.

i think i used sudo to get it.

(i.e., sudo apt-get install nvidia-glx)

and then I enabled it and restarted, only to have X crash on me leaving me with my limited skills with the terminal =X

basically. I just need to know how to undo all that so that I can just use the Envy script that i just now found and get things rollin.

any other advice would be nice ^_^
(and sorry, im sure this has been asked before but im lacking time since the library im in closes at midnight. D=)

here's some stuff I jotted down.

(==) log file: "/var/log/Xorg.0.log", time: Sun Sep 30 22:52:57 2007
(==) Using config file: "etc/X11/xorg.conf"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.


The first time it crashed i tried removing the nvidia driver, so that's why it's not finding it. So I imagine my problem now lies in my xorg.conf file?

so yeah, there's a wall of text for yah and any help would be MUCH appreciated. Sorry again if this is a common question that gets answered a lot.

AAnarchYY 09-30-2007 11:37 PM

you need to open up your /etc/X11/xorg.conf file in an editor like vi or nano and change the line under

Section "Device"
that read
Driver nvidia
to probably
Driver nv
or
Driver vesa

STCninja 09-30-2007 11:42 PM

thanks. i will try that.

how do you edit files in terminal mode? I don't know much about commands.

AAnarchYY 09-30-2007 11:58 PM

i dont know what editors you have installed but pico is pretty easy to use
just type
Code:

pico /etc/X11/xorg.conf
and make your changes
type ctrl+o and hit enter to write the changes
then ctrl+x to exit

it wouldnt be a bad idea to backup the file first incase you totally screw it up you can look back onto what it looked like before
Code:

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak


All times are GMT -5. The time now is 05:41 AM.