Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange su + startx delay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mausejule
n00b
n00b


Joined: 29 Mar 2004
Posts: 5

PostPosted: Thu Jun 17, 2004 5:54 pm    Post subject: strange su + startx delay Reply with quote

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
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Fri Jun 18, 2004 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Jun 18, 2004 6:52 am    Post subject: Reply with quote

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
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Fri Jun 18, 2004 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Mausejule
n00b
n00b


Joined: 29 Mar 2004
Posts: 5

PostPosted: Fri Jun 18, 2004 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Fri Jun 18, 2004 9:47 am    Post subject: Reply with quote

Did you have this problem since install or did it appear after some upgrade?
Back to top
View user's profile Send private message
Mausejule
n00b
n00b


Joined: 29 Mar 2004
Posts: 5

PostPosted: Fri Jun 18, 2004 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Mausejule
n00b
n00b


Joined: 29 Mar 2004
Posts: 5

PostPosted: Fri Jun 18, 2004 12:53 pm    Post subject: SOLVED Reply with quote

SOLVED 8)

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum