LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-17-2008, 10:46 AM   #1
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Rep: Reputation: 15
xorg.conf cannot startx


I just installed Suse the other day and I am trying to learn how to use it. I have an Nvidia video card so the information on this link http://www.suse.de/~sndirsch/nvidia-...ler-HOWTO.html
added the nvidia repository and use Yast to install the drivers. When I rebooted my computer it will only boot into the terminal (I guess that is what you call it). When I type in startx I get an error message saying:
==) Using config file: "/ect/X11/xorg.conf"

Oh the drivers I installed were x11-video-nvidiaG01.

How do I get Xorg working again? I am embarrassed to say that this is the second time I did this. The first time I simply reinstall Suse. This time I was very careful and read all the information before making the changes but it didn't help.

Tim
 
Old 02-17-2008, 10:59 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
You could just download the NVIDIA drivers from the nvidia.com website and use their installer. It works perfectly!

Or, you could post your xorg.conf contents so we can troubleshoot

Or just do another reinstall if it's going to take you more than 30 minutes to do all this. You could have reinstalled by now.
 
Old 02-17-2008, 11:07 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,807

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by SVwander View Post
When I type in startx I get an error message saying:
==) Using config file: "/ect/X11/xorg.conf"
That's not an error message!! (unless you count the typo--ect vs etc....)
xorg messages have leading tags as follows:
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

Look in the xorg log (/var/log/Xorg.0.log) using grep (EE), or grep (WW)

The most likely thing is that the driver specified in xorg.conf is not present in /usr/lib/xorg/modules/drivers
 
Old 02-17-2008, 12:03 PM   #4
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Micro420 View Post
You could just download the NVIDIA drivers from the nvidia.com website and use their installer. It works perfectly!

Or, you could post your xorg.conf contents so we can troubleshoot

Or just do another reinstall if it's going to take you more than 30 minutes to do all this. You could have reinstalled by now.
I tried running grep but it has been years since I have messed with it and as you said in thirty minutes I could have the system reinstalled. Well with my old slow Gateway it will take a little longer. But now you say I should go to the nvidia.com website and download it. I will give that a try. Are there any problems I need to watch for?

Tim
 
Old 02-17-2008, 12:08 PM   #5
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
That's not an error message!! (unless you count the typo--ect vs etc....)
xorg messages have leading tags as follows:
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

Look in the xorg log (/var/log/Xorg.0.log) using grep (EE), or grep (WW)

The most likely thing is that the driver specified in xorg.conf is not present in /usr/lib/xorg/modules/drivers
I tried running grep but didn't get anywhere. I did manage the first time to view the log but didn't understand what I was looking at. I think I opened it with vim LOL okay I know that is not the right program to use but I was able to open it and take a look but what I saw was confusing. Plus I would have had to dump the file to a usb drive and that would have taken more time. So I reinstalled. How to I keep myself out of trouble next time I try to install Nvidia? The only reason it might be needed is that the Viewsonic monitor I use needs to run at 1400x900 at 60 Hz. Anyway, thanks for taking the time to respond.

Tim
 
Old 02-17-2008, 06:08 PM   #6
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
sax2 -r seems to have reinstalled xorg.conf

Quote:
Originally Posted by SVwander View Post
I tried running grep but didn't get anywhere. I did manage the first time to view the log but didn't understand what I was looking at. I think I opened it with vim LOL okay I know that is not the right program to use but I was able to open it and take a look but what I saw was confusing. Plus I would have had to dump the file to a usb drive and that would have taken more time. So I reinstalled. How to I keep myself out of trouble next time I try to install Nvidia? The only reason it might be needed is that the Viewsonic monitor I use needs to run at 1400x900 at 60 Hz. Anyway, thanks for taking the time to respond.

Tim
Would you believe it HAPPENED AGAIN!!!! but through a backdoor approach I got Xorg reconfigured by using the command:
sax2 -r
From my little research I know that SaX is the code behind Nvidia drivers right? After running the command I was able to use startx and up came the screen. Of course most likely not with the Nvidia drivers but at least I have X started again.
 
Old 02-17-2008, 06:35 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
You really need to look in your Xorg.log to see why x isn't starting.
 
Old 02-17-2008, 07:11 PM   #8
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive View Post
You really need to look in your Xorg.log to see why x isn't starting.
If I were to post it here could someone tell me what the problem might be? It is extremely long. My uneducated glance at it shows that it is now loading glx isn't that the drivers that come with Suse. In other words it isn't loading nvidia drivers and when it does X will not start. I have the log up what should I look for?

Also in the instructions at the Nvidia site it says
"NOTE: The nvidia installer does not work as long as a Xserver is still running and the nvidia kernel module is still loaded. Therefore please boot into runlevel 3 by specifying "3" as kernel boot option or switch to runlevel 3 ("init 3") and unload the
kernel module ("rmmod nvidia") before running the nvidia installer."
If you do this you cannot do the next line in the instruction using Yast. I still haven't gotten the drivers loaded correctly using this information.

Last edited by SVwander; 02-17-2008 at 08:17 PM. Reason: add information and question
 
Old 02-18-2008, 02:41 PM   #9
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
sax2 is OpenSuSE specific. Nothing to do with Nvidia.

Use YaST to download the kernel-source (sometimes called kernel-devel).
Exit X server
chmod the Nvidia driver file
execute it
startx
All done! You are good to go
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
startx missing in -current xorg packages ?? fsbooks Slackware 3 04-17-2007 06:52 AM
Xorg works fine with startx, but only when ran the first time. Anithen Slackware 21 04-05-2007 11:09 PM
ATI Driver Slackware 11.0 - StartX yields Xorg Version mismatch Old_Fogie Slackware 10 10-16-2006 12:12 PM
fedora 3 startx xorg problem Gregster Fedora 3 01-03-2005 07:59 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration