Was pulseaudio started before that script got run? If not, pactl has nothing to control.
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and amo. Please use in that order." Ed Howdershelt 1940. On Tue, 28 Mar 2023, K0LNY_Glenn wrote: > Can anyone tell me why I get permission problems on the below command? > I found this command on-line while searching for any sort of solution to get > audio back: > sudo pactl set-sink-mute @DEFAULT_SINK@ toggle > I made it into a bash script and ran > sudo bash file.sh > Here's a copy of the command and the error: > lenny@lenny-desktop:~$ sudo bash unmutetoggle.sh > graphic 192 Home directory not accessible: Permission denied > > Connection failure: Connection refused > pa_context_connect() failed: Connection refused > graphic 545 lenny@lenny-desktop:~$ > ----- Original Message ----- > From: "Jude DaShiell" <jdash...@panix.com> > To: "K0LNY_Glenn" <glenn@ervin.email>; > <debian-accessibility@lists.debian.org> > Sent: Tuesday, March 28, 2023 1:31 PM > Subject: Re: OT, Ubuntu Sound Trouble > > > You wouldn't get the feedback since it's over ssh. > >