Slackware This Forum is for the discussion of Slackware 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. |
|
 |
11-07-2012, 02:16 PM
|
#1
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Rep: 
|
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.
|
|
|
|
11-08-2012, 07:25 AM
|
#2
|
|
LQ Newbie
Registered: Apr 2010
Posts: 22
Rep:
|
Some information about your setup, such as dmesg output, output of lspci, output of lsmod, would make it much easier to help you.
|
|
|
|
11-08-2012, 11:17 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 19
Rep:
|
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 
|
|
|
|
11-08-2012, 07:20 PM
|
#4
|
|
Member
Registered: Nov 2003
Posts: 122
Rep: 
|
Quote:
Originally Posted by ppencho
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.
|
|
|
|
11-10-2012, 05:01 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 19
Rep:
|
Quote:
Originally Posted by ljb643
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.
|
|
|
|
11-19-2012, 09:28 AM
|
#6
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Original Poster
Rep: 
|
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.

|
|
|
|
11-19-2012, 02:54 PM
|
#7
|
|
Member
Registered: Jan 2009
Location: England
Distribution: slackware
Posts: 100
Rep:
|
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.
|
|
|
|
11-26-2012, 07:10 AM
|
#8
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Original Poster
Rep: 
|
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.
|
|
|
|
02-23-2013, 09:36 AM
|
#9
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Original Poster
Rep: 
|
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.
|
|
|
|
02-23-2013, 07:16 PM
|
#10
|
|
Member
Registered: Dec 2002
Distribution: slackware!
Posts: 174
Rep:
|
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
|
|
|
|
| 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 10:08 PM.
|
|
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
|
|