LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-25-2009, 05:44 PM   #1
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Rep: Reputation: 16
X server failed to start


Hi,

I installed through yast2; gcc, make, kernel-source and then executed in root, init 3 and sh NVIDA-Linux-x86_64-180.29-pkg2.run, afterwards it did many things on its own and finally said installation completed. All went pearshape after that when I re booted the system. I could not go into the login screen at all. The error messages were -

Failed to start the X server (your graphical interface) it is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem.

X Server output -

This is a pre release version of the x server from the X.Org foundation. It is not supported in any way.

X.org X server 1.4.0.90
release date: 5th september 2007
X protocol version 11, revision 0

My Operating system - linux-peze 2.6.25.20-0.1-default # 1 SMP

AS recommended I made a backup copy of the xorg.conf on my desktop. If this is copied back will it solve the problem? If so how do I do it? Because all I can see is a DOS type screen I do not know the commands to do any thing as I am new to Linux.

If not if I do the installation again will I loose my files and other installed programmes?

How do I take a backup on to a DVD of all my files?

Please help?
 
Old 02-25-2009, 05:49 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Are you sure that the installation of nvidia didn't show any errors? Perhaps, you didn't boot the system with the kernel the nvidia module was compiled against? If you want to get the graphical interface, you could edit your /etc/X11/xorg.conf substituting the word 'nvidia' with 'nv'.
 
Old 02-25-2009, 06:16 PM   #3
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by sycamorex View Post
Are you sure that the installation of nvidia didn't show any errors? Perhaps, you didn't boot the system with the kernel the nvidia module was compiled against? If you want to get the graphical interface, you could edit your /etc/X11/xorg.conf substituting the word 'nvidia' with 'nv'.
There were no errors.

I used the cd I originally used to install the system to install the kernel. WOuld it have changed, if so how can I findout and how do I start with the same kernel that compiled the NVIDIA?

How do I EDIT because the pc is not booting it always comes to the error I mentioned earlier and goes back to a black screen with something like Linux-peze # > i do not know how to access the file or to modify it.

If you can give me the commands I am willing to try!

Last edited by yaarappa; 02-25-2009 at 06:23 PM.
 
Old 02-25-2009, 07:00 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
If it's only the problem with X than, when you get the errors press ctrl+alt+f1 and you'll have a login screen (command line) type your username and password, then:
1. enter 'su' to be the root, type the root password and then:
2. vim /etc/X11/xorg.conf
3. click 'i'
4. change 'nvidia' to 'nv'
5. type Esc then ':' then 'wq' enter
6. 'exit' to go back from the root login.
7. 'startx'
 
Old 02-25-2009, 07:03 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You can run "sax2" from the console as well. Also, there is an nvidia program that you just installed: nvidia-xconfig.
Run this program and see if you can start X. If not, look at the /var/log/Xorg.0.log file in /var/log/. Look for lines beginning with (EE).
 
Old 02-25-2009, 07:05 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

You did look at the 'nvidia-installer.log' to see if there were any errors. What about the 'Xorg.0.log'?
 
Old 02-25-2009, 07:56 PM   #7
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Hi Guys Thank you for your input. I seem to be hitting a blank wall here.

I tried the steps suggested by Sycamorex, but when I come to the 2nd step (vim /etc/X11/xorg.conf) there is nothing on the screen apart from '~' from top to bottom on the left and at the bottom left '/etc/X11/xorg.conf'.

As jschiwal suggested I typed sax2 it tried to run but then it said;

Your current configuration will not be read in.
no X server is running
sorry could not st configuration server

and also nvidia-config but it said no command found

As onebuck and jschiwal suggested I tried to read the log file even as root it said permission denied.

I have an assignment to submit by saturday at least for the moment if I can copy my files to my laptop it would be great I am gettin gdesperate. Please help
 
Old 02-25-2009, 09:23 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
I extracted the files from the NVIDIA installer program and found that the program is in usr/bin/. Look in /usr/bin/ and check if it is there.

To extract the files run the program with the -x argument:
# ./NVIDIA-Linux-x86_64-173.14.09-pkg2/usr.run -x

Where you in init level 3 when you ran the nvidia installer?

You can su to root to view the Xorg.0.log file. However, it is readable for me.

The newer Xorg servers will use defaults if there isn't anything in xorg.conf. But I've never had an empty one in SuSE.

--

Another option is to add the nvidia repo and install the nvidia rpm packages.
You do that from the "sudo /sbin/yast2 inst_source" program.

Select "Add". The Media type page will come up. Select "Community Repositories" and "Download repository description files". Then click "Next". An "NVidia" repository should be available.

Last edited by jschiwal; 02-25-2009 at 10:42 PM.
 
Old 02-26-2009, 05:36 AM   #9
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jschiwal View Post
I extracted the files from the NVIDIA installer program and found that the program is in usr/bin/. Look in /usr/bin/ and check if it is there.

To extract the files run the program with the -x argument:
# ./NVIDIA-Linux-x86_64-173.14.09-pkg2/usr.run -x
The specified file was not there but ./NVIDIA-Linux-x86_64-180.29-pkg2.run -x was there but even as root it denied permission to run



Quote:
Originally Posted by jschiwal View Post
Another option is to add the nvidia repo and install the nvidia rpm packages.
You do that from the "sudo /sbin/yast2 inst_source" program.

Select "Add". The Media type page will come up. Select "Community Repositories" and "Download repository description files". Then click "Next". An "NVidia" repository should be available.
Found the NVIDIA repo was available and ran it but the situation is still the same.

I have a 4500 word assignment to submit by Saturday, I have done half of it. It is all in the system. If I re-install Suse will I loose my data and will it resize my partitions, I prefer it not to. Also the additional software such as printer configuration and emails will they be lost? I am running out of time!
 
Old 02-26-2009, 06:20 AM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Quote:
The specified file was not there but ./NVIDIA-Linux-x86_64-180.29-pkg2.run -x was there but even as root it denied permission to run
Did you change its permissions? chmod +x ./NVIDIA.......
 
Old 02-26-2009, 06:39 AM   #11
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by sycamorex View Post
Did you change its permissions? chmod +x ./NVIDIA.......
Thanks for that,

Changed the permission and extracted the file, what do I do now?
 
Old 02-26-2009, 07:15 AM   #12
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Furthermore I managed to read the xorg.conf by changing its permission.

Lines 1 to 15 are not there.
Lines 16 to 142 all end with command not found.

I made a copy of xorg.conf before installation and saved it in desktop, how do I copy and paste it in /etc/x11/
 
Old 02-26-2009, 08:45 AM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Quote:
I made a copy of xorg.conf before installation and saved it in desktop, how do I copy and paste it in /etc/x11
Assuming that your username is yaarappa, it will be as follows.
1. login as root
2.
Code:
cp /home/yaarappa/Desktop/xorg.conf /etc/X11/
 
Old 02-26-2009, 10:36 AM   #14
yaarappa
Member
 
Registered: Aug 2008
Location: Cumbria, UK
Distribution: OpenSuse 11
Posts: 148

Original Poster
Rep: Reputation: 16
Did as you told sycamorex, there were no errors and typed startx, the same problem is there.

One more try if you can tell me how I could modify the xorg.conf and if that doesn't work how I can re-install without loosing my documents and emails please.

Cheers

Last edited by yaarappa; 02-26-2009 at 10:38 AM.
 
Old 02-26-2009, 11:34 AM   #15
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Can you post your xorg.conf, please?
 
  


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
Failed to start X server smoaky Linux - Newbie 10 01-30-2008 04:49 PM
Failed to start the X server jilloper Linux - Newbie 6 09-21-2007 08:09 PM
failed to start x server aeiouer Ubuntu 1 06-22-2007 02:56 AM
failed to start x server? JET-33 SUSE / openSUSE 6 01-18-2007 03:34 PM
Failed to start FTP server - server daemon when in inetd mode. pujakofriendly Slackware 2 11-30-2006 01:58 AM


All times are GMT -5. The time now is 10:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration