On Mon, 02 Nov 2015 11:29:56 +0800, Kai Hendry wrote: > Hi there, > > I'm trying to have a super simple way of launching a browser in a VPN. > > I am on Archlinux with systemd 227-1 with pulseaudio 7.1-1 & I have > another Arch container configured like so:
Do you have the pulseaudio server installed in the container? I think you shouldn't, so that the client inside the container connects to the server in the host. Otherwise, what you need it to make the pulseaudio server in the container talk to the server in the host, and for that you should not bind /dev/snd nor /run/user/1000/pulse > > X1C3:~$ cat > /etc/systemd/system/systemd-nspawn@firefox.service.d/override.conf > [Service] > ExecStart= > ExecStart=/usr/bin/systemd-nspawn > --bind-ro=/home/hendry/.Xauthority:/root/.Xauthority \ > --bind=/tmp/.X11-unix \ > --bind=/dev/snd \ I don't think this is appropriate. There should be no sound card on the container. > --bind=/run/user/1000/pulse:/run/user/1000/pulse Won't this get hidden by the tmpfs in /run/user ? Maybe the better option is to load the tcp pulseaudio module, allow connections from the container ip, and inject PULSE_SERVER envvar into the container. -- Saludos, Felipe Sateler _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel