pa_simple_new() failed: Connection refused ubuntu 開啟root使用者的聲音
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
相關文章
- nacos Connection refused (Connection refused)
- 解決 Android studio Connect to 127.0.0.1:[/127.0.0.1] failed: Connection refusedAndroid127.0.0.1AI
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- 01_Ubuntu啟用root使用者Ubuntu
- Ubuntu Linux中如何啟用root使用者UbuntuLinux
- Linux啟動tomcat後執行shutdown.sh關閉時出現異常:Connection refused (Connection refused)LinuxTomcat
- ubuntu22.04桌面版開啟root使用者登陸並開啟root使用者遠端ssh連線Ubuntu
- Ubuntu 啟用 root 賬戶Ubuntu
- go get報錯connect: connection refusedGo
- SSH出現Connection refused錯誤
- ubuntu 開放root使用者的SSH訪問許可權Ubuntu訪問許可權
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- raw.githubusercontent.com port 443: Connection refusedGithub
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- nameko shell 報錯 : [Errno 111] Connection refused
- java.net.ConnectException: Connection refused 異常JavaException
- Win10 1909怎樣開啟聲音增強_Win10 1909開啟聲音增強的教程Win10
- 解決Mac終端下載報錯 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refusedMacAIGithub
- Ubuntu開啟ssh服務及允許root登入Ubuntu
- telnet localhost 44444 telnet: connect to address ::1: Connection refusedlocalhost
- kubernetes應用flannel失敗 Connection refused.
- win10怎麼開啟聲音控制皮膚 win10電腦如何開啟聲音管理Win10
- ascp: Failed to open TCP connection for SSH, exiting. Session Stop (Error: Failed to open TCP connection for SSH)AITCPSessionError
- OGG Director報錯 Connection FAILEDAI
- OGG-01224 error 111:Connection refused - retries exceeded.Error
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- 使用putty遠端登入Ubuntu時,報Network error:Connection refused錯誤及解決(記錄)UbuntuError
- SQLServer映象報錯Connection handshake failedSQLServerAI
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- Laravel 安裝 sail時ubuntu軟體源很慢或者connection failed 解決辦法LaravelAIUbuntu
- Solaris SSH 服務處於maintenance模式,ssh connection refusedAINaN模式
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- macOS Big Sur如何開啟或關閉 Mac 啟動聲音Mac
- Ubuntu 中的 root 使用者:你應該知道的重要事情Ubuntu
- Ubuntu-給新增使用者新增root許可權Ubuntu
- Linux中如何啟用root使用者Linux