Bug 194034
Summary: | Xmms can only be used by root. Mortal user receives "Couldn't open audio" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Greg Morgan <drkludge> |
Component: | xmms | Assignee: | John (J5) Palmieri <johnp> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | jkeck |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-06-05 15:41:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Greg Morgan
2006-06-05 06:45:59 UTC
Key messages when xmms is used in a gnnome terminal window. Root session..... xmms Creating link /root/.kde/socket-sherekhan. Created link from "/root/.kde/socket-sherekhan" to "/tmp/ksocket-root" XS[src/xmms-sid.c:xs_init:216]: xs_init() ... I removed these socket files in the mortal user's account because the mortal user has an NFS mounted home directory. This still not solve the problem. mortal user's session log xmms XS[src/xmms-sid.c:xs_init:216]: xs_init() XS[src/xs_config.c:xs_init_configuration:164]: initializing configuration ... XS[src/xs_config.c:xs_read_configuration:265]: loading from config-file ... XS[src/xs_config.c:xs_read_configuration:320]: OK XS[src/xmms-sid.c:xs_reinit:163]: initializing emulator engine #1... XS[src/xmms-sid.c:xs_reinit:177]: init#1: OK, 1 XS[src/xmms-sid.c:xs_reinit:189]: init#2: OK, 0 XS[src/xmms-sid.c:xs_init:226]: OK ** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such device ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default Does the mortal user have console status on the remote computer? i.e. does /var/run/console/mortal file exist? What it looks like to me is you are logging into a box using XDMCP which does not give you console access (neither does logging in via ssh). Devices are only given to users who are given console status (i.e. logged in physically at the computer). This is correct security behaviour. You most likely need to create a udev rule that assigns the audio device to a group and add your user to that group. |