LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Lucid autologin not working nvidia drivers installed (http://www.linuxquestions.org/questions/ubuntu-63/lucid-autologin-not-working-nvidia-drivers-installed-829760/)

verndog 09-01-2010 12:15 PM

Lucid autologin not working nvidia drivers installed
 
Using the default drivers autologin works every time.

With nvidia drivers it boots up once in a while.

Most of the time it boots to a virtual terminal asking for login, then I need to startx, to start gdm.

Google was of no help, or rather the right combination of search words came up empty.

Mr. Majestic 09-01-2010 02:18 PM

Hmm... my autologin works just fine with Nvidia drivers enabled. What drivers are you running?

verndog 09-01-2010 04:35 PM

1 Attachment(s)
Version 195 per the screenshot.

Also here is the output of "/etc/X11/xorg.conf":


Code:

Section "Screen"
        Identifier        "Default Screen"
        DefaultDepth        24
EndSection

Section "Module"
        Load        "glx"
EndSection

Section "Device"
        Identifier        "Default Device"
        Driver        "nvidia"
        Option        "NoLogo"        "True"
EndSection


tredegar 09-01-2010 06:08 PM

Ubuntu 10.04 is using upstart instead of or as well as, the traditional sysV init.d scripts to boot. This seems to me to be experimental, but it is what they have chosen as the way forward, and for the users to use.

"upstart" is faster to boot but sometimes it breaks. It looks like "race conditions" can happen: Something is started before the resources it needs are available, so the service fails. Parts of my 'buntu were broken, but I've put in some "workarounds", which now make it work for me. There's no point in me posting these here because your hardware and configuration will be different.

Try disabling auto-login ( a bad idea anyway, although "convenient" ) and see if things improve.

verndog 09-01-2010 06:26 PM

Quote:

Originally Posted by tredegar (Post 4085374)
Ubuntu 10.04 is using upstart instead of or as well as, the traditional sysV init.d scripts to boot. This seems to me to be experimental, but it is what they have chosen as the way forward, and for the users to use.

"upstart" is faster to boot but sometimes it breaks. It looks like "race conditions" can happen: Something is started before the resources it needs are available, so the service fails. Parts of my 'buntu were broken, but I've put in some "workarounds", which now make it work for me. There's no point in me posting these here because your hardware and configuration will be different.

Try disabling auto-login ( a bad idea anyway, although "convenient" ) and see if things improve.

Thanks for reply. I was just now going to try removing auto login, although it always works until nvidia gets installed. I tried "System > Admin > Login" but couldn't unlock it. Just now completed todays updates adn now I can unlock it. I will see if things improve.

I realize what you've stated, and also plymouth in the mix as some issues.

edit: Changing to login didn't help. Same issue. Also I can't use unlock "System > Admin > Login", once it first drops to a VT login. I guess gdm isn't running. statx does something differently.

tommcd 09-01-2010 10:08 PM

EDIT: Wrong thread I posted to sorry!
Had too many tabs open in Firefox!

verndog 09-02-2010 10:53 AM

I erroneously labeled this as a autologin problem, when actually it is GDM not starting. Whether using log in or auto login, GDM needs to start first.

What I did was uninstall GDM then re-install it. Its been working ever since. I vaguly remember in the testing days of Lucid that mountall, plymouth played a part as to who was started first.

verndog 09-02-2010 05:40 PM

Just as a follow up, I fixed this issue by installing the nVida drivers from the nVidia web site. All's well now.


All times are GMT -5. The time now is 01:24 AM.