为了使音频工作,我发现每次启动计算机时,我都必须执行以下命令:
pulseaudio --start
在寻找在启动时自动启动的方法时,我在重新启动之后并在执行上面的命令之前检查了syslog文件。我看到的是:
Jan 4 04:57:59 ubuntu indicator-sound[1818]: volume-control-pulse.vala:735: unable to get pulse unix socket: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.PulseAudio1 was not provided by any .service files
Jan 4 04:57:59 ubuntu pulseaudio.pulseaudio[1162]: W: [pulseaudio] protocol-native.c: Denied access to client with invalid authentication data.
Jan 4 04:57:59 ubuntu pulseaudio.pulseaudio[1162]: W: [pulseaudio] protocol-native.c: Denied access to client with invalid authentication data.
Jan 4 04:58:01 ubuntu indicator-sound[1818]: volume-control-pulse.vala:735: unable to get pulse unix socket: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.PulseAudio1 was not provided by any .service files似乎已经有一个运行脉冲音频的实例无法执行任何操作。
在错误消息中,脉冲音频是客户端,还是尝试播放客户端音频的应用程序?
错误消息还指示它期望在一个org.PulseAudio1文件中使用名称.service。要满足这一点,需要做些什么呢?
操作系统是Ubuntu18.04。
发布于 2019-01-20 20:38:19
这个问题解决了。解决方案是将我的用户名添加到脉冲访问组中:
苏丹加载项用户脉冲存取
https://askubuntu.com/questions/1108031
复制相似问题