LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-03-2005, 02:50 PM   #1
Sparks71
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Unhappy X does not startup automatically on mandriva LE 2005 after Nvidia driver is installed


Hi all

Does anyone know why after installing the latest Nvidia graphics driver (7174) on Mandriva LE 2005 that the graphical login gets broken?

I followed Nvidia's instructions to install the driver, and the driver is compiled with no errors, then after editing xorg.conf to change the driver from "nv" to "nvidia" and restarting, i'm left at the text based login and have to start X manually after logging in, once X loads it runs perfectly with the new driver. It's just the automatic start of X that is bugging me.

Running a Geforce 4 MX440 64MB card on an Abit NFS7 Athlon XP2600+ with 1024MB DDR RAM
Hope someone can help!

Many thanks

Simon
 
Old 05-03-2005, 03:09 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
You need to change your runlevel back to 5

cat /etc/inittab

Text logon
id:3:initdefault
X11
id:5:initdefault

KC
 
Old 05-03-2005, 04:18 PM   #3
Shifty02
LQ Newbie
 
Registered: Apr 2005
Distribution: Suse 9.3 Pro
Posts: 21

Rep: Reputation: 15
I think I´ve got almost the same problem so I checked out my /etc/inittab file.
Mine has the following ¨id:5:initdefault:¨ but as you can see with the ¨:¨ at the end unlike your post which don´t have it. Do you think this can be the problem?
 
Old 05-03-2005, 05:42 PM   #4
Sparks71
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
@ kencaz

I performed a test install of Mandriva from scratch on a spare hard drive this time not editing inittab but using the ctrl+alt+fkey method and going to init 3 to install the drivers. After successfully compiling them and editing xorg.conf i then did init 5 which brought up X and login screen, so far so good.

So it appeared to work this time... next restart the machine. After watching the kernel messages etc, screen goes blank and then appears the text based login again i checked inittab and it still says id:5:initdefault: any ideas why this is happening/where to start looking?

@Shifty02
What happens with your setup exactly?

Many thanks

Simon
 
Old 05-03-2005, 06:44 PM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
I just installed the nvidia 7174 driver. Works great. Autologin works perfectly fine too. If you don't have auto login working, you probably forgot to add a line nvidia to /etc/modprobe.preload.

You must load the nvidia module you have created prior to trying to use it. That is what the file modprobe.preload is for.

Last edited by Lakota; 05-03-2005 at 06:45 PM.
 
Old 05-03-2005, 06:51 PM   #6
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Sounds like it may be a driver problem. Can you startx from the command line? Is it just the graphical logon that is the problem?

I use runlevel 3 so I have never seen the graphical logon...

Here is some info from LQ that may help.
http://www.linuxquestions.org/questi...ticle&artid=30

Also. If you can get to KDE try launching "drakconf" Under "Autologon" Check the box:
"Launch the Graphical Environment when system starts"

KC
 
Old 05-03-2005, 07:28 PM   #7
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
logged in as root, in a console, type "vi /etc/modprobe.preload"
will look like this, give or take listed modules

# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

bt878
bttv
sis-agp
~
~
~
~
~
~
"/etc/modprobe.preload" 11L, 371C

press the “i” to put vi in insert mode. Hit the “enter” key to drop to a new line. Type “nvidia”, then hit the “exit” key to exit insert mode. Then hit the “:” key, then “wq”, then enter. You will now be back to command line, with your changes saved.

Your file should now look like this:
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

bt878
bttv
sis-agp
nvidia
~
~
~
~
~
"/etc/modprobe.preload" 12L, 378C

What is happening if you did not do this, is you changed your /etc/X11/XF86Config link to reflect that you want to use the nvidia module instead of nv. It is a module that was not included, but added later, so you must tell the system to load it at boot. you do this as shown above.
 
Old 05-03-2005, 07:57 PM   #8
Sparks71
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
@ Lakota

Thanks for your detailed response, i understand what you are saying and i've just checked modprobe.local and there is a line with:
nvidia-agp

so that appears to be fine, after further investigating and editing of files, numerous restarts, if i change the driver back to "nv" then the graphical login is restored, this is really confusing me.

@kencaz
yes i can "startx" and X loads normally with the new driver working perfectly, also in drakconf the option to start the graphical environment is checked and so is the display manager. leaving it as it is works but i don't use the text based system at all (only when i have to) so it's a pain in the butt to login and then startx.

Any other thoughts or suggestions welcome!

Simon

Last edited by Sparks71; 05-03-2005 at 08:07 PM.
 
  


Reply



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
Mandriva 2005,cannot install nvidia driver with geforce 6200 idagon Mandriva 1 09-23-2005 11:43 PM
Sound muted on startup of Mandriva 10 LE 2005 paull2k1 Mandriva 3 06-28-2005 06:00 PM
NVIDIA Mandriva LE 2005 Build Errors +log Damatie Mandriva 1 06-08-2005 01:58 PM
installing nvidia driver in mandriva 2005? greythorne Mandriva 4 05-23-2005 06:10 AM
Mandriva LE 2005 hangs on startup after upgrade ragnar86 Mandriva 1 04-23-2005 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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