You are not logged in.
I have tried to start pulseaudio from terminal by using different options:
$ pulseaudio --start
...
$ pulseaudio -D
...
$ pulseaudio --start --disallow-exitBut all pulseaudio instances dies after a while. How can I start pulseaudio from terminal and keep it running?
Last edited by solskog (2021-09-04 01:51:19)
Offline
There's technically the exit-idle-time value you can set to something negative in your /etc/pulse/daemon.conf however this reads like an XY problem. What are you actually trying to do, and why are you not starting pulse as part of your login session via the relevant user service?
Offline
It works! My goal is user privilege separation. I have been running a multi user setup for a year as one-time auto-login user who control the Xorg and share .Xauthority with a regular admin user.
Now I am trying to run firefox as a one-time non-login user with dedicated dbus-session and pulseaudio instence. Here is a illustration.
|-login(275)---startx(413,one-time-login-user)---xinit(534)-+-dwm(545)
| `-Xorg(535)-+-{Xorg}(536)
|-dbus-daemon(556,one-time-login-user)
|
|-dbus-daemon(33786,one-time-firefox-user)
|-pulseaudio(36676,one-time-firefox-user)
|-firefox-bin(35017,one-time-firefox-user)
|
|-urxvt(635,regular-admin-user)---bash(636)-+-less(37220)
| `-pstree(37219) |I known that an X11 client like firefox still can control other X11 client due to shared X11 session, but this is a weakness of X which I cannot improve? Wayland on the otherhand may handle this situation better?
Offline