Subject: Bug#1155: [X2Go-Dev] Bug#1155: Volume levels are not saved with TCE

From: Walid MOGHRABI <[email-masked]>
Date: Tue, 28 Mar 2017 09:41:15 +0200 (CEST)

Well, I would like the settings to be saved inside the X2Go session then restored from there.
I know TCEs are read only (or volatile) so you can't save the client settings there and then get them back from there.
>From a local client with X2Go client installed, it works of course since it relies on the local settings that can be saved in this situation.
But thinclient mode is a bit different and I suppose there should be a way to :

    1) save the volume levels at the X2Go session level when closing the session (maybe something that can be done through a logout script or the x2gocleansession process)
    2) retrieve the volume levels from the X2Go session and use it to set the local pulseaudio settings (probably through geting values from saved settings through SSH at connection time)

This could be activated only in --thinclient mode so that, normal X2Goclient behaviour could keep on using the local pulseaudio settings and not geting the ones from the X2Go session.

Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original ----- 

De: "Stefan Baur" <[email-masked]> 
À: "Walid MOGHRABI" <[email-masked]>, [email-masked] 
Envoyé: Lundi 27 Mars 2017 23:21:10 
Objet: Re: [X2Go-Dev] Bug#1155: Volume levels are not saved with TCE 

Am 13.03.2017 um 11:43 schrieb Walid MOGHRABI: 

> When my TCE users logs in their session, they have to set their audio volume levels everytime. 
> Their settings are not saved when they log off their session. 

Where would you expect the setting to be saved? 
The Client is a RAM disk, so once you reboot, all settings are reset to 
their default values. 
If you want to adjust client-side audio volume, you'd have to adjust the 
volume on each startup using, say, amixer in a startup script that you 
splice into the thinclient boot process. If anything, I would use that 
to set the audio volume to maximum for all ThinClients. 

The only volume controls available to the user come from the server, 
once the session is running. Saving those settings SHOULD be the task 
of the selected Desktop Environment. 
It would be interesting to know if you're also losing the settings when 
you log in using a non-ThinClient computer that has X2GoClient installed. 

-Stefan 

-- 
BAUR-ITCS UG (haftungsbeschränkt) 
Geschäftsführer: Stefan Baur 
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you