PDA

View Full Version : [ubuntu] ltsp: fat client with motion -> dropbox upload



roberto99
November 13th, 2012, 05:49 PM
hi all

I would like to install motion (http://manpages.ubuntu.com/manpages/precise/man1/motion.1.html) on my ltsp fat clients, which actually works well. What I dont know is how to upload the created files via dropbox. Can someone point me in the right direction?

thanks
Roberto

dannyboy79
November 13th, 2012, 06:13 PM
not sure what you are asking here. Don't you just have a dropbox folder you put the files in and they will automatically appear in the dropbox folder on the ltsp fat client? That's what dropbox does, keeps folders in sync.

roberto99
November 13th, 2012, 06:47 PM
I tried to install dropbox from within the fat client, but the user has no sufficient rights and I think it would get lost at reboot anyway. I tried to install from within the chroot, but that did not work. I installed it in the main (auto login) account on the server but you apparently can not inclued subfolders from other users accounts. I tried mount a nfs folder from the chroot for the fat client users to put the files somewhere within the files of the main account on the server so that its dropbox installation can upload it, but with no success...

dannyboy79
November 13th, 2012, 06:57 PM
WOW, i guess I first need to understand exactly what you want to accomplish. I am not familiar with motion or ltsp fat clients but I familiar with dropbox, NFS, SMB, etc etc. Can't you just share the folder you put the motion files in thru NFS and then mount them on your fat clients machines using NFS client mounts? Maybe somewhere within /mnt/?

roberto99
November 13th, 2012, 07:04 PM
thats what I tried from within the chroot. but the client dit not keep the mount in fstab. fstab was empty on the client.

dannyboy79
November 13th, 2012, 08:57 PM
and you followed this guide for NHF_HOME?
https://help.ubuntu.com/community/UbuntuLTSP/FatClients#NFS_HOME

roberto99
November 13th, 2012, 09:26 PM
thanks dannyboy79

in context to which of the ways I mentioned should I try it? I mean, what should I do or see after doing this? Cause I cant see any difference after doing it. And, should I do this procedere from within the fat client's account on th server?

thanks
Roberto

dannyboy79
November 13th, 2012, 09:31 PM
what ever folders/files are within the /home folder on your server should now be in the /home/ folder on your fat clients.

roberto99
November 13th, 2012, 10:35 PM
it seems to work.... hold on!

it works, you are the man!

I have been trying for hours and hours to find a solution the past 3 days. How can I reward you in here?

Thanks so much
Roberto