This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cannot make pulseaudio run as a systemd service

Tags: None
(comma "," separated)
fellows
Registered Member
Posts
20
Karma
0
Just installed kde neon and for some reason pulseaudio is not running by default. I can get it to run ok if I manually run 'pulseaudio' but I've never had to do that before.
If I run
Code: Select all
systemctl start pulseaudio.service
then it runs as root but that obvious doesn't work for me as a user.

How do I enable this to be run as my user when I log in? I know I can use autostart but I don't think it's normal to have to do that for pulseaudio.
User avatar
crismblog
Registered Member
Posts
2
Karma
0
OS
Code: Select all
systemctl enable pulseaudio.service

as root
fellows
Registered Member
Posts
20
Karma
0
crismblog wrote:
Code: Select all
systemctl enable pulseaudio.service

as root


If I do this I get "Failed to execute operation: Too many levels of symbolic links". This is when run the above command with sudo or directly as root with su.
User avatar
crismblog
Registered Member
Posts
2
Karma
0
OS
The command is correct. I think the problem is somewhere else and keeps who the develop system.
fellows
Registered Member
Posts
20
Karma
0
Does pulseaudio even need to run as a systemd service? I'm finding very little information on running it like this and a quick check in the Neon live usb seems to suggest that it doesn't run as a service.

I have noticed that my ~/.pulse/client.conf keeps getting overwritten with the value of "autospawn = no". I think this is causing the problem but I can't figure out what is doing that, /etc/pulse/client.conf is uncommented "autospawn = yes" so it shouldn't be derived from that.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]