You are not logged in.

#1 2015-06-22 21:06:12

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

How to get pulseaudio user session on boot on headless machine

I am trying to make pulseaudio automatically start on my home server and i fail.
this is what I tried so far:

Created a pulseaudio.service file and enabled it.

/etc/systemd/system/pulseaudio.service
---
[Unit]
Description=PulseAudio Sound System
Before=sound.target
[Service]
BusName=org.pulseaudio.Server
ExecStart=/usr/bin/pulseaudio --start
Restart=always
User=carnager
PAMName=system-local-login
[Install]
WantedBy=session.target

enabled linger for logind with "loginctl enable linger"


the service file works fine, when I ssh into the machine and start it. however on boot nothing happens.

Last edited by Rasi (2015-06-22 21:06:39)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2015-06-24 00:58:17

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: How to get pulseaudio user session on boot on headless machine

You can look at the Pulseaudio wiki section about daemon though i would not use that

https://wiki.archlinux.org/index.php/PulseAudio

also look at this post

http://possiblelossofprecision.net/?p=1956

Offline

Board footer

Powered by FluxBB