| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-03-2005, 02:50 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Posts: 3
Rep:
|
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
|
|
|
|
05-03-2005, 03:09 PM
|
#2
|
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
You need to change your runlevel back to 5
cat /etc/inittab
Text logon
id:3:initdefault
X11
id:5:initdefault
KC
|
|
|
|
05-03-2005, 04:18 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2005
Distribution: Suse 9.3 Pro
Posts: 21
Rep:
|
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?
|
|
|
|
05-03-2005, 05:42 PM
|
#4
|
|
LQ Newbie
Registered: May 2005
Posts: 3
Original Poster
Rep:
|
@ 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
|
|
|
|
05-03-2005, 06:44 PM
|
#5
|
|
Member
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507
Rep:
|
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.
|
|
|
|
05-03-2005, 06:51 PM
|
#6
|
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
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
|
|
|
|
05-03-2005, 07:28 PM
|
#7
|
|
Member
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507
Rep:
|
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.
|
|
|
|
05-03-2005, 07:57 PM
|
#8
|
|
LQ Newbie
Registered: May 2005
Posts: 3
Original Poster
Rep:
|
@ 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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:07 AM.
|
|
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
|
|