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
相關文章
- Ubuntu 10.4 root賬戶聲音問題Ubuntu
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- 01_Ubuntu啟用root使用者Ubuntu
- mysql connection refusedMySql
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- ubuntu22.04桌面版開啟root使用者登陸並開啟root使用者遠端ssh連線Ubuntu
- Connection to host as user root failed.ERROR: NMO not setuid-root (Unix-only)AIErrorUI
- Ubuntu Linux中如何啟用root使用者UbuntuLinux
- Ubuntu 開啟root賬號SSH登入Ubuntu
- 解決 Android studio Connect to 127.0.0.1:[/127.0.0.1] failed: Connection refusedAndroid127.0.0.1AI
- Linux啟動tomcat後執行shutdown.sh關閉時出現異常:Connection refused (Connection refused)LinuxTomcat
- Ubuntu 為 root 帳號開啟 SSH 登入Ubuntu
- Ubuntu 啟用 root 賬戶Ubuntu
- IOException in sending Request :: Connection refusedException
- win10怎麼開啟聲音控制皮膚 win10電腦如何開啟聲音管理Win10
- ubuntu 開放root使用者的SSH訪問許可權Ubuntu訪問許可權
- Ubuntu 修改使用者密碼與啟動root賬號Ubuntu密碼
- Ubuntu 中啟用 root 帳號Ubuntu
- Xlib: connection to ":0.0" refused by server(openSUSE)Server
- Win10 1909怎樣開啟聲音增強_Win10 1909開啟聲音增強的教程Win10
- Ubuntu開啟ssh服務及允許root登入Ubuntu
- FTP Connection refused error 解決辦法FTPError
- Xlib: connection to ":0.0" refused by server 問題Server
- go get報錯connect: connection refusedGo
- ubuntu 12.04 root使用者登入的方法Ubuntu
- java.net.ConnectException: Connection refused 異常JavaException
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- java.sql.SQLException: Io 異常: Connection refusedJavaSQLException
- macOS Big Sur如何開啟或關閉 Mac 啟動聲音Mac
- [Issue]Ubuntu 16.04 ssh: sign_and_send_pubkey: signing failed: agent refused operationUbuntuAI
- scp時候出現ssh Connection refused的解決方案
- 【轉載】Xlib: connection to ":0.0" refused by server的解決方法Server
- raw.githubusercontent.com port 443: Connection refusedGithub
- AS編譯不通過,提示Error:Connection refused: connect編譯Error
- Gradle 編譯不通過 connection refused connectGradle編譯
- Oracle11G監聽報錯Connection refusedOracle
- EJB create時ConnectException: Connection refused to host:....問題Exception
- 解決Mac終端下載報錯 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refusedMacAIGithub