I also have this bug, though on a multi-user system. I have one user who
likes to play "DJ" and leave her music running while another is working
at the console. Unfortunately, since PulseAudio pauses as soon as they
switch accounts they have decided to work around the problem by not
switching accounts! As you can imagine this is a much more serious
security problem than the one PulseAudio is trying to address by
shutting itself off on VT switch.

It appears, from Googling, that the preferred method of dealing with
this bug is to disable the "security" features in PulseAudio.
Unfortunately, that also disables many other features (again, in the
name of "security") as documented here:

http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/

In my opinion, PulseAudio's definition of "security" needs to be more
flexible. There should be some way to specify that some users do have
rights to audio devices even if they do not own the current virtual
terminal. I liked the way that ALSA did it, using group "audio" for
users with those privileges. PulseAudio really should have an option to
allow this model of security.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/841909

Title:
  Pulseaudio does not play in virtual console

Status in “alsa-driver” package in Ubuntu:
  Confirmed

Bug description:
  On a single user system Pulseaudio is difficult to enable for single
  user operation of the system. This means that audio stops when
  switching to a virtual console from xorg. This defeats the point of
  having players like MPD that play outside of the xorg server. Security
  is important but there should be an option available to setup
  Pulseaudio at installation time for a single user system. It is
  possible to change the behavior by adding the current user to the
  correct group (one or all of audio, pulse and pulse-control,) or
  disabling console-kit in Pusleaudio default.pa. I did not have time to
  confirm the entire procedure.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: alsa-base 1.0.24+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  djbarney   1273 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Live'/'SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 
0xcc00, irq 16'
     Mixer name : 'SigmaTel STAC9708,11'
     Components : 'AC97a:83847608'
     Controls      : 224
     Simple ctrls  : 45
  Date: Mon Sep  5 16:10:00 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Title: PCI/internal sound card not detected
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/14/2006
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: R01-A2
  dmi.board.name: EM61SM/EM61PM
  dmi.board.vendor: Acer
  dmi.chassis.asset.tag: Asset tag number: at least 22 digits
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnPhoenixTechnologies,LTD:bvrR01-A2:bd09/14/2006:svnAcer:pnAspireT180:pvrR01-A2:rvnAcer:rnEM61SM/EM61PM:rvr:cvn:ct3:cvr:
  dmi.product.name: Aspire T180
  dmi.product.version: R01-A2
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/841909/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to