Skip to content

Start pulseaudio in github actions #310

@Samueru-sama

Description

@Samueru-sama

Some apps need pulseaudio to be running in order to launch during deployment

I added this but it doesn't work:

# Some apps will fail to run in strace mode if there is no sound server
# FIXME: This does not work, pulseaudio still fails to start!
if _is_cmd pulseaudio && ! pgrep pulseaudio; then
pulseaudio --daemonize --system --verbose --disable-shm \
--no-cpu-limit --disallow-exit --disallow-module-loading --exit-idle-time=60 &
fi

It fails with this error:

2026-02-13T19:26:12.9810788Z N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
2026-02-13T19:26:12.9835060Z E: [pulseaudio] main.c: Daemon startup failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions