[pulseaudio-discuss] How manage volume remotely on pulseaudio

Christian Schmitz list at schweb.com.ar
Tue Jan 19 21:04:46 UTC 2021


Dear Matt:
	Thanks for the patience. I install pavucontrol and do
"ssh -Y user at kid"
I get an error, you can see in the image.
if i run pavucontrol in the same machine of my kid goes to bacground and none 
is open.

Best Regards
Christian



On Tuesday 19 January 2021 16:58:32 Matt Garman wrote:
> Ssh with X forwarding: "ssh -Y user at kid".  The "-Y" is what does the X
> forwarding.  Hopefully, with that you can run "pavucontrol", which is
> a GUI that is loosely similar to alsamixer.
>
> On Tue, Jan 19, 2021 at 1:52 PM Christian Schmitz <list at schweb.com.ar> 
wrote:
> > Dear Matt
> >         I have full access to the machine, ( i install it for my wife and
> > kid). Sadly i dont know how do ssh with X forwarding. So i go for pactl.
> >
> > user at kid > pactl
> > no valid comand
> > user at kid > pactl
> > Big big list of things.
> >
> > i get some of sucess doing:
> > pactl set-sink-volume 0 32768
> >
> > There are some tool more friendly that pactl, with look similar to
> > alsamixer or etc?
> >
> > Best Regards
> > Christian
> >
> > On Tuesday 19 January 2021 15:53:03 Matt Garman wrote:
> > > If you can login as your child (i.e., same user account as him) on his
> > > Linux system (ssh with X forwarding), then you should be able to run
> > > "pavucontrol".  Loosely speaking, pavucontrol is to Pulse Audio as
> > > alsamixer is to ALSA.  It's a GUI app.  I'm not sure if there exists a
> > > strictly text equivalent of pavucontrol.
> > >
> > > There is also a commandline tool call "pactl".  This would allow you
> > > to control the Pulse Audio daemon on your child's computer without a
> > > GUI (though there is a bit of a learning curve).
> > >
> > > On Tue, Jan 19, 2021 at 12:13 PM Christian Schmitz <list at schweb.com.ar>
> >
> > wrote:
> > > > Hi everyone:
> > > >
> > > > I am in the office with my computer ( Linux tumbleweed), and my kid
> > > > of 3 years old is in another computer showing videos from youtube.
> > > > Both computer have a normal user sound configuration ( each computer
> > > > playing their own sound).
> > > >
> > > > Some videos are quieter and another are very loudness. With my first
> > > > kid (10 years back) i do:
> > > > 1)SSH as root
> > > > 2)amixer and upper or lower the volume.
> > > >
> > > > Now i cant find a way to do this with pulseaudio. If i do
> > > > 1)I do ssh as root successfully
> > > > 2)
> > > > 2.1) # amixer
> > > > ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect:
> > > > Connection refused
> > > >
> > > > 2.2) # alsamixer
> > > > ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect:
> > > > Conexión negada (Connection refused in spanish)
> > > >
> > > >
> > > > 2.3) if i do sudo to the same linux user that is showing the video:
> > > >
> > > > user at computer> amixer
> > > > XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1001), but by
> > > > uid 0! (This could e.g. happen if you try to connect to a non-root
> > > > PulseAudio as a root user, over the native protocol. Don't do that.)
> > > > ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect:
> > > > Connection refused
> > > >
> > > > How i can control the sound volume of my kid from my computer?
> > > >
> > > > Thanks all
> > > > Christian Schmitz
> > > >
> > > > --
> > > > Be Free, Be Linux
> > > > _______________________________________________
> > > > pulseaudio-discuss mailing list
> > > > pulseaudio-discuss at lists.freedesktop.org
> > > > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> > >
> > > _______________________________________________
> > > pulseaudio-discuss mailing list
> > > pulseaudio-discuss at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> >
> > --
> > Be Free, Be Linux
> > _______________________________________________
> > pulseaudio-discuss mailing list
> > pulseaudio-discuss at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


-- 
Be Free, Be Linux	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20210119_175257.gif
Type: image/gif
Size: 35816 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20210119/1117a118/attachment-0001.gif>


More information about the pulseaudio-discuss mailing list