Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can multiple users of a Linux desktop "server" all access the same ContainerBox container GUI & all have audio? #9

Open
bmullan opened this issue Sep 7, 2018 · 2 comments

Comments

@bmullan
Copy link

bmullan commented Sep 7, 2018

Alexandre

I was wondering how/whether multiple simultaneous users of a desktop linux system could access the same LXD container's Desktop GUI created by ContainerBox all have audio?

At first thought I figured this might not be possible because of the pulseaudio proxy device.

I saw that your script for ContainerBox from what I could see for

ContainerBox configure sound <container_name> pa_enable

only installs it for the "current" (ie the installing UserID).

I had no problem running "ContainerBox start" for a 2nd user but there was obviously no audio.
If I attempted to execute

ContainerBox config sound <container_name> pa_enable for User #2 that fails indicating that device already exists !

But would it be possible for say users 1, 2 etc ?

Obviously user #1 would create, start the ContainerBox & "config sound pa_enable" but what about user's #2, etc in regards to audio?

Hope this isn't a dumb question but I wanted to ask as it would be great to

Brian

@AlexandreDey
Copy link
Owner

Hi Brian,

Pulseaudio is started with the users sessions, and (from what I understand) every user has its own pulse server, so I'm not sure it is a good idea to run simultaneously on one of the users' server.

You could maybe passthrough the sound card (snd_enable) and configure pulseaudio inside the guest (I haven't tested though)

@bmullan
Copy link
Author

bmullan commented Sep 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants