在Linux Mint 18.1中将pulseaudio作为守护程序启动


1

Linux Mint 18.1附带了pulseaudio 8.0版作为声音系统。在linuxmint 17.3上,我具有版本4.0和/etc/init/pulseaudio.conf文件,其中配置pulseadio以开始使用line

start on runlevel [2345]

复制文件至/etc/init无效。由于多座配置,我需要这个。


控制ps ps -ef | grep pulse是否真的不运行。

不,它没有运行。
TadejP

dpkg -l | grep pulse

Answers:


0

问题出在system.pa。我在手册中发现,在系统范围内的守护程序配置中不应使用自动检测。

从pulseaudio手册页:

   --disallow-module-loading[=BOOL]
          Disallow module loading after startup. This is a security feature since it disallows additional module loading during runtime and on user request. It is highly recommended when --system is used (see above). Note however, that this breaks certain fea‐
          tures like automatic module loading on hot plug.

所以我禁用了来自system.pa的(注释)行

    ### Automatically load driver modules depending on the hardware available
    #.ifexists module-udev-detect.so
    #load-module module-udev-detect
    #.else
    #### Use the static hardware detection module (for systems that lack udev/hal support)
    #load-module module-detect
    #.endif

现在可以了。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.