greavette wrote:Thank you for these instructions. Worked perfectly. I've successfully added Virtualhere to my ltsp sessions and confirmed that I can rdesktop into a Windows VM using the Virtualhere client and connect my USB stick from the Raspberry Pi to the Windows VM. Next test will be to have more than one Raspberry Pi client connect to the raspi-ltsp server and use Virtualhere to two Windows VM's.
I'm looking through the menu and was looking for more information. Perhaps you can fill in some blanks for me:
* When would I need to update the SD card? And is there a way to push out the updates to the Piboot files to an SD Card? I've noticed that when I look at my file manager in ltsp I can see the SD card from my connected Pi.
* During the install of raspi-ltsp do you download the latest hardfloat version of Raspbian? The reason I ask is because I've used another flavour of Raspbian from the Thin Client Project (
http://rpitc.blogspot.ca/). They too have a hardfloat version that's specialized to run various Thin Client apps (rdesktop, spice, freenx, Citrix). In your opinion would I be able to use this version to build the PiBoot files that would run on your project?
* How do I use the Pi-Control-Menu. I've activated it but how do I start it now? I'd like to see what it does.
* Is there a way that you know of to SSH into the Raspberry Pi? For example, if I wasn't onsite and couldn't physically reboot the Pi or use the Epoptes application to give a Pi session a reboot, is there a way to SSH into that Pi to take control of it and give is a restart?
Thank you.
Great to hear your setup is getting there.
1. The SD card just basically contains the minimum files for boot, aka the kernel, the boot blob etc and the config files. Sometimes if a new kernel is released by the Raspbian team (very 3-6 months) then I update the SD card image. Running the update-sd option will pull a new copy of the SD card files. It's second feature is it will also reset the IP address saved in the config files on the SD card. Although this is easy to manually change (in the cmdline.txt file), Raspi-LTSP is trying to be as simple as possible for teachers so editing a text file like that is classed as a bit complicated.
2. Yes and No. What Raspi-LTSP actually does is
builds Raspbian... From scratch basically... As Linux OSs are basically entirely made up of packages, you can pull all these packages and build the OS. The Raspberry Pi foundation make a massive number of changes to a basic standard Raspbian OS built by debootstrap. As LTSP itself likes to do the basic client building, I just add the changes the Raspberry Pi foundation add on top, onto Raspi-LTSP Raspbian. I am a little picky though as I don't pull everything and I also add some stuff I think is a good idea (that is usually left out of the SD card images due to size as they want to keep the images really small).
The Raspberry Pi foundation use Spindle which is how I know what changes they make -
https://github.com/asb/spindle
Unless Thin Client Project is just Raspbian with extra packages added, it would be very hard to change Raspi-LTSP as it is basically hard-coded for standard Raspbian (because that is what the schools need).
Now, there is nothing stopping you removing the packages you don't need. See the "AddSoftware" function in the Pi_ltsp code where you can comment out bits you don't want.
There is currently no way though of just dropping on a preprepared image file. LTSP likes to build it itself.
3. The Raspberry Pis can be SSHed into as usual like any Raspberry Pi except for 1 minor detail. The Raspberry Pi itself technically has no users enabled.. It gets its users via LDM (login screen) from the server... As these users aren't stored on the Pi, you can't ssh in as them. You can ssh in as root if you enable the root account using
ltsp-chroot passwd
Followed by your new root password then recompress the OS via the "other" menu.
That will allow you to ssh like any other Raspberry Pi just using the login root. Keep in mind that is rather insecure having the route account open to the internet if you do it that way...
Epoptes can only easily be done from the server machine although have been told it is possible to do it from other machines but have not looked into that personally.
Lead developer of PiNet, a free and opensource centralised user accounts and file storage system for Raspberry Pi classrooms used in over 200 schools across the world.
http://pinet.org.uk