LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-07-2012, 02:16 PM   #1
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Rep: Reputation: 176Reputation: 176
Slow Log-in/Hardware/Permission Problems.


The log in procedure has slowed to a crawl.
The computer boots up normal (run level 3) and presents the sign on prompt. Once the user name is entered it can take 60 to 70 seconds before the password prompt appears. Sometimes the password prompt pops up as it should, but it takes 60-70 seconds before the "fortune" and command prompt appear.
At first I thought it might have something to do with the last Nvidia driver, but I installed the most recent driver last night and that didn't solve the problem.
Any thoughts?
Thanks.

Edit in: Please see post #6, below.

Last edited by cwizardone; 11-19-2012 at 09:20 AM.
 
Old 11-08-2012, 07:25 AM   #2
donallen
LQ Newbie
 
Registered: Apr 2010
Posts: 24

Rep: Reputation: 7
Some information about your setup, such as dmesg output, output of lspci, output of lsmod, would make it much easier to help you.
 
Old 11-08-2012, 11:17 AM   #3
ppencho
LQ Newbie
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: 3
Is there an intensive hard disk activity during these 60-70 seconds?
I had similar issue and it was because of an cache update.
In /etc/rc.d/rc.M:
Code:
# Update any existing icon cache files:
if find /usr/share/icons 2> /dev/null | grep -q icon-theme.cache ; then
  for theme_dir in /usr/share/icons/* ; do
    if [ -r ${theme_dir}/icon-theme.cache ]; then
      echo "Updating icon-theme.cache in ${theme_dir}..."
      /usr/bin/gtk-update-icon-cache -t -f ${theme_dir} 1> /dev/null 2> /dev/null &
    fi
  done
  # This would be a large file and probably shouldn't be there.
  if [ -r /usr/share/icons/icon-theme.cache ]; then
    echo "Deleting icon-theme.cache in /usr/share/icons..."
    #/usr/bin/gtk-update-icon-cache -t -f /usr/share/icons 1> /dev/null 2> /dev/null &
    rm -f /usr/share/icons/icon-theme.cache
  fi
fi
You could check with:
Code:
find /usr/share/icons/ -name "*cache"
I just deleted all *.cache files. Don't know it this is the right solution but it saves nerves
 
Old 11-08-2012, 07:20 PM   #4
ljb643
Member
 
Registered: Nov 2003
Posts: 264

Rep: Reputation: Disabled
Quote:
Originally Posted by ppencho View Post
Is there an intensive hard disk activity during these 60-70 seconds?
I had similar issue and it was because of an cache update.
...
I don't think anything in rc.M can cause a long delay between username and password prompt, since rc.M runs to completion before the processes that prompt for username start. Those cache file rebuilds slow down boot-up, but not login.

In fact, not a whole lot happens on a stock Slackware system between entering your username and the password prompt. agetty reads the username, and then exec's /bin/login to read the password and authenticate you. There isn't even a new process until after you log in.
 
Old 11-10-2012, 05:01 AM   #5
ppencho
LQ Newbie
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: 3
Quote:
Originally Posted by ljb643 View Post
I don't think anything in rc.M can cause a long delay between username and password prompt...
Yes, it's true. In my case the password prompt appears immediately after username but it is impossible to login before the cache file rebuild completes.
 
Old 11-19-2012, 09:28 AM   #6
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Original Poster
Rep: Reputation: 176Reputation: 176
It looks to be a hardware problem. Apparently the hard drive is going south, BUT Xp-sp3, in its own partition runs just fine.
So, I deleted the Linux partitions, re-created them (different sizes) and did a fresh install of Slackware64 14-current, but the problem remains.
Before deleting the Linux partitions I backed up many files, those not on DVDs, to the Xp (ntfs) partition. After moving them back to the new Linux partition a few are giving me permission programs and nothing I've done, as root, will allow me to install the applications or open a Truecrypt container.
Is there a solution for this?
Thanks.
 
Old 11-19-2012, 02:54 PM   #7
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Rep: Reputation: 39
I see this as well on a laptop we have.

Slackware64 14.0, runlevel 3 or 4 there is a definite lag at the login prompt. You can press the first letter of your username and wait quite sometime for it to appear. There is then also a lag in the password prompt coming up.

I've not really got round to looking in to it yet, we just sort of wait at the moment. Runlevel 4 it happened with xdm, gdm and slim.
 
Old 11-26-2012, 07:10 AM   #8
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Original Poster
Rep: Reputation: 176Reputation: 176
Just like Xp.

It is now taking 3 minutes and 20 seconds for the system to load. You can try to sign on before it is completely loaded, but the results will as described in the first post above. If I wait until all activity has stopped, then the system runs fine. The sign on is as one would expect and whatever desktop, Xfce or KDE, starts up normally. Basically, the start up is now just like winXP has always been....

BTW, while having these problems I've spent sometime using Xp (sp3) and was able to find windows version of almost every Open Source application I use, and many of them have little visual "improvements" you don't see in the Linux versions. I guess even the Open Source developers write with the 800 pound gorilla in mind.
So far I've found Clementine, LibreOffice, VLC, DOSBox (don't really need it), Audacity, GIMP, Midnight Commander, Pidgin, Tor (both the browser bundle and the Vidalia/Polpio bundle), TrueCrypt and even Snow, aka, XSnow (it is that time of the year, :-) ). Of course there is also Opera, Firefox, Thunderbird, etc. I even installed KDE for Windows so I can play Grandfather (KPatience). It all runs, surprisingly, very well and, as previously mentioned, I've noticed several small tweaks that you just don't see in the Linux versions. If I didn't have such an aversion to mickeysoft and their questionable business practices......

Last edited by cwizardone; 11-26-2012 at 07:15 AM.
 
Old 02-23-2013, 09:36 AM   #9
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Original Poster
Rep: Reputation: 176Reputation: 176
Turns out is was the hard drive all along. Ran a utility on it and it said the drive was OK. but when I read the "notes" it said the HD was dying a slow death. Replaced the hard drive and all is well.
 
Old 02-23-2013, 07:16 PM   #10
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 245

Rep: Reputation: 26
thanks for posting follow up, sometimes fun, interesting and irritating tracking these oddball things down, took me a few weeks one time few years ago to find out some memory was flaky
 
  


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
Slow log in screen tractng Red Hat 4 06-27-2012 12:38 AM
ubuntu 8.10 server slow to log on lfsuser Linux - Server 3 05-08-2009 08:05 AM
Server is slow,here are some log csstudy Linux - Software 4 09-23-2004 08:14 PM
RH8 gnome very slow to log in sekrub Linux - Newbie 1 10-06-2003 05:44 PM
Slow LOG ON?? Winux Linux - Newbie 0 04-05-2003 05:45 AM


All times are GMT -5. The time now is 02:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration