LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2022, 01:12 AM   #1
rm1984
LQ Newbie
 
Registered: Mar 2017
Location: Turin, Italy
Distribution: Kali, Debian, FreeBSD
Posts: 5

Rep: Reputation: Disabled
Question PulseAudio service not starting automatically anymore on Kali Linux


Hi guys,
I'm running the latest Kali Linux, and for some time now the PulseAudio subsystem doesn't start automatically anymore.
As user, everytime I turn on the PC, after login I have to manually run:
Code:
$ systemctl --user start pulseaudio.service
even if the service is obviously enabled.
This is the version of PulseAudio running on my machine:
Code:
pulseaudio                      15.0+dfsg1-4+b1
Any help in solving this odd issue would be very appreciated.
Thanks! :-)
 
Old 07-13-2022, 07:23 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
first of all: https://www.linuxquestions.org/quest...ad-4175614092/
Kali is a pentesting distro, is not really suitable for general daily usage.
In general you need to provide more info, like which version of OS you have, did you check log files already? Did you change something?
 
Old 07-13-2022, 08:58 AM   #3
rm1984
LQ Newbie
 
Registered: Mar 2017
Location: Turin, Italy
Distribution: Kali, Debian, FreeBSD
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi pan64,

I perfectly know what Kali is, I'm a pentester and I've been using Kali on my office laptop as a general daily usage distro for 6 years.
It's nothing more than a Debian testing with some useful tools already available via APT.

No, I didn't change anything, and logs look ok.
This is the only line with a suspicious message:
Code:
syslog:Jul 13 15:17:58 host pulseaudio[3090]: Stale PID file, overwriting.
The oddity is that everything worked fine with PulseAudio starting automatically, then suddenly is stopped and now I need to run it by hand everytime.
This is the output of the service status:
Code:
$ systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/user/pulseaudio.service.d
             └─kali_pulseaudio.conf
     Active: active (running) since Wed 2022-07-13 15:17:59 CEST; 38min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 3090 (pulseaudio)
      Tasks: 3 (limit: 18734)
     Memory: 23.6M
        CPU: 3min 59.220s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
             └─3090 /usr/bin/pulseaudio --daemonize=no --log-target=journal

lug 13 15:17:58 host systemd[1610]: Starting Sound Service...
lug 13 15:17:58 host pulseaudio[3090]: Stale PID file, overwriting.
lug 13 15:17:59 host systemd[1610]: Started Sound Service.
The version of the OS is Kali with all the latest updates.
Thanks!
 
Old 07-13-2022, 10:09 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Stale PID file means there is another instance, at least was started (and died?) or something like that. So you need to check that pid file and the missing process/daemon (belongs to that pid). And I guess you need to find related info in your logs somewhere.
 
  


Reply

Tags
kali, pulseaudio, service, systemd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
NIC not installed anymore, KDE not installed anymore, LILO duplicate Volume ID error scottad Slackware 2 03-31-2012 12:13 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration