pa_context_connect() failed
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
I failed to run the redox in our ubuntu server using: sudo make qemu
. I build the redox from the source using the bootstrap.sh
. The error seems to be connected to audio driver.
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset -d guest_errors -smp 4 -m 2048 -serial mon:stdio -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Could not initialize SDL(No available video device) - exiting
mk/qemu.mk:52: recipe for target 'qemu' failed
make: *** [qemu] Error 1
If it is a driver issue, is there any way that I could skip building the driver modules?
Environment info
- Redox OS Release:
Build using the following:
curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
- Operating system:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
- uname -a:
Linux syssec 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- rustc -V:
rustc 1.41.0-nightly (412f43ac5 2019-11-24)
- git rev-parse HEAD:
aa76286e40158a8e473c5702b071b9afd1987f87
- OS type: server
Steps to reproduce
curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
cd redox/
make all
sudo make qemu
Behavior
- Expected behavior: running the redox OS with qemu in the terminal.
- Actual behavior: Failed to run the redox OS in qemu. Failed reason showing audio driver error.
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset -d guest_errors -smp 4 -m 2048 -serial mon:stdio -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Could not initialize SDL(No available video device) - exiting
mk/qemu.mk:52: recipe for target 'qemu' failed
make: *** [qemu] Error 1
- Proposed solution: N/A
Optional references
Related to: N/A
Blocked by: N/A
Optional extras
N/A