Gerhard Magnus wrote:
My computers are running FC6 and gnome. One of them, A, is connected to the stereo. Everything works fine on A but I want to control the sound remotely, from B. So, while logged on to B, I ssh to A and start up xmms. I get the message:
"Couldn't open audio (on A). Please check that your soundcard is configured properly, you have the correct output plugin selected, no other program is blocking the soundcard."
I get this error only if no one has already logged on to A directly, without having gone through ssh. If someone is logged on to A (at A) and then I ssh from B to A and start xmms, it plays normally.
Why is this and is there some workaround? Thanks for the help!
Jerry
What you are running into is a permission problem caused by the way console.perms works. When a user logs into the console, (local login) they are given "ownership" of a bunch of non-sharable devices. When they log out, the "ownership" goes back to the default user - root in most cases. Logging in over ssh in not a console login, so permissions are not changed.
If you want to see the default setup, take a look at /etc/security/console.perms and the files in /etc/security/console.perms.d. You can also look at the console.perms man page.
Mikkel