You are not logged in.
Pages: 1
I have an Alpine Linux host, laptop, with Arch Linux installed in a chroot, using arch-chroot to enter the
chroot.
Audio is working within the chroot, with alsa on both host and chroot, but not when running as a non-root user.
I have added the user to the audio group, no change.
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
I am using:
runuser -l username -c /bin/bash
To get a user shell.
I can run graphical applications from the non-root user shell, but no sound.
Any suggestions for gettting audio for a non-root user from within the chroot would be welcome.
---------
*update*
Not a real solution but I have been working with a Void glibc chroot at the same time, with the same issue. The manual for su pointed to setpriv, if PAM is not required at all. This works for audio and X:
setpriv --ruid user alpay -L
I can play some games with audio and sound but not got a browser going yet. Removing PAM from Arch doesn't look like a good idea....will keep tinkering.
Last edited by Proinsias (2018-09-29 01:36:47)
Offline
Pages: 1