LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2017, 10:21 AM   #1
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Rep: Reputation: Disabled
connection to pulseaudio failed automatic retry in 5s after resuming from hibernation


hi everyone,

i am not able to start pavucontrol post resuming from hibernation.

i get the following error message:

Quote:
Connection to pulseaudio failed automatic retry in 5s
when i start manually as directed in the full message ie

Quote:
username: ~ [20] $ start-pulseaudio-x11
E: [pulseaudio] main.c: Daemon startup failed.
kindly note this happens when laptop resumes post hibernation and not otherwise.

i tried running pax11publish -r as suggested in arch forums but didnt work

Quote:
username: ~ [20] $ pax11publish -r
username: ~ [20] $ start-pulseaudio-x11
E: [pulseaudio] main.c: Daemon startup failed.
username: ~ [20] $ pulseaudio
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.
 
Old 01-08-2017, 08:47 AM   #2
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
strange....am i the only one with this issue over here?
 
Old 01-22-2017, 12:59 PM   #3
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Ok so here is what i did to get over this....

in /etc/pm/sleep.d/ i created a script which acts on "resume" or "thaw"

in script:

Quote:
#kill pulseaudio instance
killall -9 pulseaudio
#spawn it manually like in the above message
start-pulseaudio-x11
and voila! it works now....i dont lose sound on resume from hibernate anymore...

script is executed as root user....
 
  


Reply



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
Hibernation file / resuming "difficulties" yogo1212 Linux - General 1 10-15-2013 09:29 AM
PulseAudio Volume Control; Connection Failed; Connection Terminated buccaneere Linux - Software 0 01-29-2013 02:44 AM
[SOLVED] automatic script upon resuming from sleep mode R3V0LV3R Slackware 13 02-26-2012 01:44 PM
Touchpad not working after resuming back from suspend/hibernation nelufarup Fedora 3 02-19-2010 04:10 PM
Resuming from hibernation FC5 dycotiles Fedora 2 06-27-2006 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 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