Re: How manage volume remotely on pulseaudio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@kid > pactl 
no valid comand
user@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@xxxxxxxxxxxxx> 
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@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@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


-- 
Be Free, Be Linux	
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux