View previous topic :: View next topic |
Author |
Message |
Mausejule n00b
Joined: 29 Mar 2004 Posts: 5
|
Posted: Thu Jun 17, 2004 5:54 pm Post subject: strange su + startx delay |
|
|
Hi Folks!
Yesterday i did an emerge system and emerge world. Today i experienced some strange problems, that have never occured before. Don't know, whether they are related to the update, or not.
1) when i invoke startx, there is a delay from about 2 minutes (i can suspend the delay by typing strg+c twice)
2) when i try to become root using su in xterm under x, there is a delay from about 30 seconds, although the message "su(pam_unix)[3006]: session opened for user root by pi" appears in /var/log/messages immediately
Both, 1) and 2) don't produce any error messages.
When i use su in the console, it works fine.
Anybody an idea, what could be the reason? I'm at a loss.
Best regards,
MJ |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Fri Jun 18, 2004 1:31 am Post subject: |
|
|
I am not sure what your problem is, but may some authorization settings are screwed up. What you can try is to remerge pam and pam-login packages (also other pam packages that you have installed) and do careful update of config files. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Fri Jun 18, 2004 6:52 am Post subject: |
|
|
I read about thsi problem before and that time the answer was to add your computer's name to your /etc/hosts. so maybe that configfile got overwritten after update world? |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Fri Jun 18, 2004 7:50 am Post subject: |
|
|
BlackEdder wrote: | I read about thsi problem before and that time the answer was to add your computer's name to your /etc/hosts. so maybe that configfile got overwritten after update world? |
Oh, yes, that is the most probable cause. |
|
Back to top |
|
|
Mausejule n00b
Joined: 29 Mar 2004 Posts: 5
|
Posted: Fri Jun 18, 2004 9:34 am Post subject: |
|
|
THX for your replies!
I don't think, that the /etc/hosts is the problem:
Code: | 127.0.0.1 gentoo.localdomain gentoo localhost |
Both, hostname as well as dnsdomainname deliver the correct values (gentoo resp. localdomain). I also reemerged the pam-packages, but without success.
Although i can speed-up startx, the "su-delay " drives me crazy
Greetings
MJ |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Fri Jun 18, 2004 9:47 am Post subject: |
|
|
Did you have this problem since install or did it appear after some upgrade? |
|
Back to top |
|
|
Mausejule n00b
Joined: 29 Mar 2004 Posts: 5
|
Posted: Fri Jun 18, 2004 11:01 am Post subject: |
|
|
No, everything worked fine for about half a year. WIthin this period, i've done many updates without any noteworthy problems. But since the emerge system && emerge world the day before yesterday, i'm experiencing the phenomenon mentioned above.
Greetings
MJ |
|
Back to top |
|
|
Mausejule n00b
Joined: 29 Mar 2004 Posts: 5
|
Posted: Fri Jun 18, 2004 12:53 pm Post subject: SOLVED |
|
|
SOLVED
Dont't know why, but the owner of my home-directory was root instead of my common user. I think the delay was due to an attempted write-access, which failed because of the wrong ownership.
Nevertheless,
THX for your help! |
|
Back to top |
|
|
|