From: Alkis G. <al...@gm...> - 2018-10-06 06:09:26
|
`man lts.conf` and read about RM_SYSTEM_SERVICES there. The services that are disabled by default on fat clients are listed in: /usr/share/ltsp/init-ltsp.d/50-rm-system-services I.e. you just need a line in your lts.conf to prevent all the additional services that you installed from running on thin/fat clients. Alkis Στις 05/10/2018 11:42 μμ, ο Dashamir Hoxha έγραψε: > Hi, > > I noticed recently that whatever I install on the ltsp-server > ends up running on the ltsp-clients as well (with chrootless mode). > Actually this is a well-known fact, but I didn't think there was > anything wrong with it, until I realized that apache2, and tomcat, > and mysql were running on the client too, eating up a lot of ram! > > As a workaround I changed the order of scripts so that the image > of the ltsp-client is generated as soon as possible, and then we > proceed with the other installations and configurations, with > guacamole, etc. > > However this solution has the drawback that afterwards you cannot > install any more packages on the client image (if you need to). > The only way is to rebuild the ltsp-server from scratch, and this takes > a lot of time (about one hour), since lots of things have to be > downloaded and installed (sometimes even compiled from source). > > Is it possible to unpack the image of a chrootless client to a directory, > to chroot to this directory and install any additional packages, and > then to pack it back again? This could be much faster than rebuilding > the whole server from scratch (and also more elegant). > > Thanks, > Dashamir |