Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zinf only runs when I'm su
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Sun Nov 17, 2002 7:40 am    Post subject: zinf only runs when I'm su Reply with quote

Ijust emerged zinf, and it will only run if I log in as su at the command prompt and type zinf.

If I try to run zinf as my normal user, Sys Monitor says it's running, but Zinf never appears on screen.

Cheers,
Ryan
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Sun Nov 17, 2002 7:59 am    Post subject: Reply with quote

ooh, thats a rather nasty bug...

can you try running zinf from a console as a normal user? (I assume your X session belongs to your user).

Try checking your sound device permissions, try adding yourself to the "audio" group.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Nov 17, 2002 7:40 pm    Post subject: Reply with quote

Interesting... I've not had any problems like this. What does ps -ef |grep zinf report before you try and start it as a user?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Mon Nov 18, 2002 9:49 am    Post subject: Reply with quote

Running as a user from the console has the same problem.

The results of ps -ef|grep zinf are (while logged in as su):
Code:
root      9005  9003  0 12:21 pts/0    00:00:00 grep zinf


and nothing while logged in as my normal user.


Cheers,
Ryan
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Nov 18, 2002 4:46 pm    Post subject: Reply with quote

What are the permissions on the zinf program? ls -l $(which zinf)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Tue Nov 19, 2002 8:33 am    Post subject: Reply with quote

These are the permissions on zinf

Code:
-rwxr-xr-x    1 root     root       597188 Nov 17 10:29 /usr/bin/zinf



:)
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Tue Nov 19, 2002 8:28 pm    Post subject: Reply with quote

Sounds like you don't have users rights to /dev/dsp. Add yourself to the audio group. Zinf might be trying to open the audio device and hanging because of permissions and that is why it works as root.
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Sat Nov 23, 2002 9:25 am    Post subject: Reply with quote

I added my user to the audio group, in /etc/groups, alas to no avail.

Any other ideas?

Thanks.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 23, 2002 5:27 pm    Post subject: Reply with quote

Are you starting Zinf from a commandline? If not, does doing so produce any error messages?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Sat Nov 23, 2002 9:34 pm    Post subject: Reply with quote

You'll never guess...

I just deleted my preferences again. And now it works. doh!


Thanks all for helping

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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