锐单电子商城 , 一站式电子元器件采购平台!
  • 电话:400-990-0325

pa_simple_new() failed: Connection refused ubuntu 开启root用户的声音

时间:2023-10-09 16:07:02 w202可调电阻参数

pa_simple_new() failed: Connection refused pa_sample_spec(format=3,rate=16000,channels=ch=1) Fail to init audio stream. Fail to init sound.

造成这个问题的原因是root用户无法调用pulseaudio

解决方法:

编辑环境变量文件vi /root/.profile

  • 添加以下内容
pulseaudio --start --log-target=syslog

锐单商城拥有海量元器件数据手册IC替代型号,打造电子元器件IC百科大全!

相关文章