Client volume control changes sound volume in the server

Bug #360355 reported by Alkis Georgopoulos
4
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On a freshly installed (2009-04-10 weekly image) default installation,

the sound correctly comes out of the client speakers,
but whatever changes are done to the sound volume from the gnome volume applet, they affect the server.
Also, if I use a laptop as a client, then the laptop sound volume keyboard keys affects the server, not the client.

If I open the volume mixer and select Pulseaudio,
the Pulseaudio volume changes done there correctly affect the client.
If I go to the menu System » Preferences » Sounds, and change all devices to default to PulseAudio,
then the laptop (=ltsp client) volume keys correctly affect the client volume,
but still the panel volume applet incorrectly changes the sound volume of the server.

--
Server:
ii ltsp-server 5.1.65-0ubuntu1 Basic LTSP server environment
ii ltsp-server-standalone 5.1.65-0ubuntu1 Complete LTSP server environment
un ltsp-utils <κανένα> (χωρίς διαθέσιμη περιγραφή)
ii ltspfs 0.5.10-0ubuntu1 Fuse based remote filesystem for LTSP thin clients
Client:
ii ltsp-client 5.1.65-0ubuntu1 LTSP client environment
ii ltsp-client-core 5.1.65-0ubuntu1 LTSP client environment
ii ltspfsd 0.5.10-0ubuntu1 Fuse based remote filesystem daemon for LTSP thin clients

Kind regards,
Alkis Georgopoulos

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: [Bug 360355] [NEW] Client volume control changes sound volume in the server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmm,

I'm not really sure what's happening there but I doubt it's LTSP's
fault. Looks like the order in which the gnome volume mixer picks the
devices isn't correct. Do you know of any way to change that ?

I never saw that issue myself as my users aren't in the audio group on
the server and so don't have access to the server's sound card, that may
be a workaround you could use.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknjVPwACgkQjxyfqkjBhuwSFACfURVh0meUZ0h61RmEZzMlTlw3
JcMAnj2n2V7t4B6nYJQnxCLkzksyXY1C
=Rwgn
-----END PGP SIGNATURE-----

Revision history for this message
Reiner S (reischmid) wrote :

Hello,
I think you have only to change the (audio) device in gnome-volume-control.
At default it is the audio device of the server.
If you don't know the name of your audio device, you could find the it with "lspci | grep audio"
So change your device in gnome-volume-control (=volume mixer).

Reiner

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Hi,

Reiner S wrote:
> I think you have only to change the (audio) device in gnome-volume-control.

That'd be difficult for young students to do, and a little annoying because they'd have to do it every time they changed seats...

Stéphane Graber wrote:
> Looks like the order in which the gnome volume mixer picks the devices isn't correct. Do you know of any way to change that ?

Sorry, didn't have time to really look into it.

> my users aren't in the audio group on the server and so don't have access to the server's sound card, that may be a workaround you could use.

That looks like a really viable workaround! Removing the "audio" group default from /etc/gnome-system-tools/users/profiles makes it easy to create new users without them belonging to the audio group.

Thanks,
Alkis

Revision history for this message
Dale (drbeams) wrote :

Ubuntu 8.10 --> 9.04 upgrade. Client adjusts sound and sound comes out on server speakers. Some thin clients soundcards are detected, others are not, appears to be tied to user not machine.

Dale

Revision history for this message
Stéphane Graber (stgraber) wrote :

Is that still happening with Karmic ?

Changed in ltsp (Ubuntu):
status: New → Incomplete
Revision history for this message
Ing. Pavel Milanes Costa (pavelmc) wrote :

I had some of the problems you mention, just upgraded 8.10 > 9.04 and sound is making weird things like you describe in number 4 (before with 8.10 all worked fine in the first shoot)....

but if using local apps (see ubuntuLTSP page form localapps in ubuntu wiki, using totem, vlc, mplayer [this need redirect the sound out to OSS]) the sound work great, try that workaround, it's working for me.

The device associated with the volume applet in my installation is a "sis ### via pulseaudio" (the local device) as the server has no sound device... (intel server professional board)

but the thing appears to be something in the middle changing the default device for the sound geting redirected for the server one, because after a while the applet show no sound device ( it's geting redirected to the server)

Revision history for this message
Ing. Pavel Milanes Costa (pavelmc) wrote :

The sound control applet in gnome show no device when this occurs.

I will try to set pulse as the default sound server in lts.conf

Revision history for this message
Ing. Pavel Milanes Costa (pavelmc) wrote :

no luck, pulse as default not working, but see https://bugs.launchpad.net/ubuntu/+bug/495661 for a workaround that maybe work for you... the real problem still unsolved.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

I just tried in Lucid and I couldn't reproduce this (with a user that was a member of the audio group), so I'm marking it as invalid.

Changed in ltsp (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.