Hello all, just for record, here is how I was able to solve this issue:
in script /usr/share/ldm/rc.d/X01-localapps I replaced this line: sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ControlPath=$LDM_SOCKET" "$LDM_SERVER:$LDM_HOME" "$LDM_HOME" whit this piece of code: HOME_TEMP_DIR="$LDM_HOME"-template if [ "$LOCK_HOME" = true ] ; then mkdir "$HOME_TEMP_DIR" sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ro,ControlPath=$LDM_SOCKET" "$LDM_SERVER:$LDM_HOME" "$HOME_TEMP_DIR" mkdir /cow/home-up mkdir /cow/home-work mount -t overlay overlay "$LDM_HOME" -o lowerdir="$HOME_TEMP_DIR",upperdir=/cow/home-up,workdir=/cow/home-work else sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ControlPath=$LDM_SOCKET" "$LDM_SERVER:$LDM_HOME" "$LDM_HOME" fi so now I can control if the home directory should be mounted with overlayfs using LOCK_HOME in lts.conf file you can notice that upperdir is located in /cow directory, which is tmpfs mounted by default in LTSP so sample config might look like this one: [master-client] LOCK_HOME = false [Default] LOCK_HOME = true LTSP_FATCLIENT = true LDM_AUTOLOGIN = true LDM_USERNAME = user LDM_PASSWORD = **** LOCAL_APPS = true SCREEN_07="ldm" In this scenario only master-client is able to do changes in home directory on the server. Al other client changes are local and will vanish after reboot of the client. One more time thanks for help to you all! Best, Chris On Tue, Aug 23, 2016 at 6:32 PM, Chris Ditrich <chris.ditr...@gmail.com> wrote: > Hi Valtteri, > > yes, I've been thinking about using 'kiosk' but it not exactly matches my > profile > to be honest my configuration is a little bit weird ;) > the idea is to have configuration on the server and manage it from the > server (using puppet maybe) so I will not have to rebuild ltsp image each > time it changes > > but with the hints from Alkis I think I will be able to achieve what I want > > best, > Chris > > > > > > On 23.08.2016 14:34, Valtteri Suojanen wrote: > > Hi > > You did not mention your users or anything about how they use the client > devices . > > Autlogin on 100 device sounds like a kiosk environment to me. And > preventing changes sounds like a read only filesystem. There is a screen > script in ltsp package called 'kiosk' that creates a temporary session for > each login but you need to configure it to run a specific program or task. > > And there are propably hundred others kiosk setups in the internet you > can apply with or without ltsp > > "Kiosk" means that clients should have same service and taste every time. > So you create session on the client environment first as a template and > then you configure it to be used (copied) and mounted on tmpfs and cleanup > it on logout or reboot. > > first describe what applications your clients use? > > Valtteri > > 23.8.2016 14.35 "Chris D" <chris.ditr...@gmail.com> kirjoitti: > >> Hello * >> >> I have about 100 fat clients in production environment which have the >> same configuration >> The configuration is made with one user account and I auto-login each fat >> client to this account >> >> but I want to prevent users from making changes to configuration, >> because now home directory is mounted via sshfs from the server by each >> fat client >> and each change in user config/files is visible on each fat client >> >> I've been thinking about using overlayfs and ram/tmpfs to save basic >> configuration >> so that all local changes will disappear after the reboot >> >> as far as I've learned LTSP don't support such functionality >> but is it possible to achieve such scenario with some hacks? >> or could you please tell me which script is responsible for >> mounting home directories over sshfs? >> >> best, >> Chris >> >> ------------------------------------------------------------ >> ------------------ >> >> _____________________________________________________________________ >> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: >> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss >> For additional LTSP help, try #ltsp channel on irc.freenode.net >> >> > > ------------------------------------------------------------------------------ > > > > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > > >
------------------------------------------------------------------------------
_____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net