If I understand well, it could be /opt/ltsp/<arch>/usr/share/ldm/rc.d/

Just because I just read the manual here https://sourceforge.net/projects/ltsp/files/Docs-Admin-Guide/LTSPManual.pdf/download (Chapter 21, RC scripts).

Hope this can help.



On 01/16/2013 11:48 AM, antonello facchetti wrote:
I'm renewing a class labwith edubuntu 12.04.
It is a wireless network (no time to explain why, but it has to be wireless), therefore with less performances than a cables one(at least I was not able to get the same performances). So, thinking about the management of users, with / home on a centralized nfs server, I get slowness issue (example: 25 students simultaneously opening openoffice writer, and getting stuck on the splash screen of openoffice) .

I thought I'd tackle the problem by minimizing networking and trying to do as much as possibie locally, trying a sort of "roaming" solution.
This is my solution.
I mount the homes from the server on a directory called /server in the local clients.
Each time a user logs in, immediately after thelogin, I execute a:
rsync -avq exclude = '. *' /server/$USER /home/
that copies from the server the user's documents (only documents and not the hidden configuration files). Then the user works locally without affecting the network.
At logoff I launch the opposite command:
rsync -avq exclude = '*.' /home/$USER /server/
to synchronize all work in the server.

Before, the lab had ubuntu 10.04 (gnome) clients, and the solution was to put the two commands in the scripts /etc/gdm/PostLogin/Default and /etc/gdm/PostSession/Default. It worked quite well. Although the drawback was that you had to "closesession", as the script did not start with "stop system."

Now the laboratory has new machines wth Edubuntu 12.10. There is a possibility to choose Unity, Kde, Xfce. So the positioning of the commands in /etc/gdm is no longer possible (there's no /etc/gdm directory anyway). Where should I then put the two rsync commands in order to have them always executed with any desktop environment the user chooses?

TIA
Antonello



--
Distinti saluti
--

Daniele Davolio
Information Technology Department

tel: +39 0522 268059
fax: +39 0522 331673
e-mail: [email protected]
web: www.mastertraining.it

Master Training S.r.l.
Sede Legale: via Timolini, 18 - Correggio (RE) - Italy
Sede Operativa: via Sani, 15 - Reggio Emilia - Italy
Sede Commerciale: via Sani, 9 - Reggio Emilia - Italy

================================================================
Le informazioni contenute in questa e-mail sono da considerarsi confidenziali e 
esclusivamente per uso personale dei destinatari sopra indicati. Questo 
messaggio può includere dati personali o sensibili. Qualora questo messaggio 
fosse da Voi ricevuto per errore vogliate cortesemente darcene notizia a mezzo 
e-mail e distruggere il messaggio ricevuto erroneamente. Quanto precede ai fini 
del rispetto del Decreto Legislativo 196/2003 sulla tutela dei dati personali e 
sensibili.
This e-mail and any file transmitted with it is intended only for the person or 
entity to which is addressed and may contain information that is privileged, 
confidential or otherwise protected from disclosure.Copying, dissemination or 
use of this e-mail or the information herein by anyone other than the intended 
recipient is prohibited. If you have received this e-mail by mistake, please 
notify us immediately by telephone or fax.


--
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to