Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
11-19-2007, 02:38 PM
|
#1
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Rep:
|
I've been a newb, please help (urgent!)
Hi Guys
I've been a bit of a newb, I seem to have corrupted my xorg file or something, as I'm unable to run startx or startkdm due to an nvidia driver problem.
Can anyone tell me what the command is to revert back to the default graphics drivers where from installation? I can't start up KDE and have to post this using Lynx at the command line (I'm laughing at myself for this)
I installed the nvidia package from synaptic pkg manager, and ran the command that was listed at the bottom of the info page for that package, seemed fine to me, but after restarting X server i'm screwed!
Please help!
Thanks
|
|
|
11-19-2007, 02:44 PM
|
#2
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387
Rep:
|
The open source driver is called nv. Just change xorg.conf from where it says
to

|
|
|
11-19-2007, 02:45 PM
|
#3
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
If you're using Ubuntu like your profile says, try running from the command line sudo dpkg-reconfigure xserver-xorg and select either the "nv" driver or the "vesa" driver.
|
|
|
11-19-2007, 03:10 PM
|
#4
|
Member
Registered: Mar 2007
Location: Nebraska
Distribution: CentOS
Posts: 82
Rep:
|
Assuming that it is not as simple as what general failure suggest this may help. It is a couple less steps then pljvaldez suggest although his way is probably the most correct way.
I screwed one of my systems up by installing the wrong video driver on an Ubuntu 7.10 system before too. The fix was to get rid of the xorg.conf file-- I just moved it to a backup file. The next time I started X xorg.conf was rebuilt with usable settings. I am guessing this will solve your issue also.
Once you log into terminal do this.
Code:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf_orig
Worst case scenario if this does not work is you have to move the file back and manually edit xorg.conf.
|
|
|
11-19-2007, 03:12 PM
|
#5
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Original Poster
Rep:
|
Thanks pljvaldez, running that command I was able to go through the setup, however it failed due to authority over a file it wrote to my desktop?
i ran sudo dpkg-reconfigure -phigh xserver-xorg then startx to get me into Gnome
however, if I log out i have to perform those steps again, how can I resolve this and return to KDE?
xorg.conf
Code:
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "nVidia Corporation G71 [GeForce 7900 GS]"
Driver "nv"
BusID "PCI:3:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G71 [GeForce 7900 GS]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
regards
|
|
|
11-19-2007, 03:33 PM
|
#6
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387
Rep:
|
Edit your xorg.conf at /etc/xorg.conf or /etc/X11/xorg.conf and remove the one you saved to your folder.
|
|
|
11-19-2007, 04:59 PM
|
#7
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Original Poster
Rep:
|
thanks for the advice guys
Just some info for anyone that comes across this post in the future with the same problem
I ran sudo dpgk-reconfigure -phigh xserver-xorg which, correct me if I'm wrong, re-created the xorg.conf file?
It didnt seem to work after running that command (ie couldnt start up KDE), but after a hard-restart (sudo reboot -h) it seemed to work as normal?!
Thanks for the help
Regards
|
|
|
All times are GMT -5. The time now is 06:45 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
|
|