Good day, dear Habra community.
I work at my university, and it was decided to transfer the old computer rooms to a terminal system.
The point is this: Computers boot from a boot diskette, and request a DHCP image of the system to load, DHCP sends them to the terminal server, from where they load the image Linux system. When loading, autologin is performed, and RDP is started.
')
#!bin/bash
var0=0
var1=1
while [ "$var0" != "$var1" ]
do
rdesktop -d sfmgus.local -f konika2003 -r usb=/media/usb -k ru-RU
wait
done
echo
exit 0
* This source code was highlighted with Source Code Highlighter .
The essence of this script is to run rdesktop and the user worked in the windows environment with normal system performance, while working on a computer with a "damaged iron". The rdesktop startup line is in an infinite loop, so the user in no way (at least I think so) will not get to the system on which rdesktop is running.
This all works great. However, the problem is that the parameter
-r usb=/media/usb
* This source code was highlighted with Source Code Highlighter .
does not work, i.e. By plugging the flash drive into our “flawed” computer, it is not mounted in rdesktop, since in fact, all the hardware displayed in rdesktop is located on the server.
When setting up this whole affair, I was guided by the following:
Automounting flash drives
To automatically mount flash drives, you need to do the following.
Go to / opt / ltsp / i386 / and install ltspfsd there, take it from here: pkg-ltsp.alioth.debian.org/debian/pool/main/l/ltspfs
chroot / opt / ltsp / i386 /
dpkg -i ltspfsd_0.4.3 + debian2_i386.deb
Or set from repository
aptitude install ltspfsd
Install on the server ltspfs pkg-ltsp.alioth.debian.org/debian/pool/main/l/ltspfs
dpkg -i ltspfs_0.4.3 + debian2_i386.deb
Or set from repository
aptitude install ltspfs
This is a quote from the text on the site omsk.lug.ru
In general, the essence of the task is to have a CD-ROM (Dvd), Flash drives working on the local machine, which I can’t achieve. If someone has done this, tell me how it can (need?) Be implemented. Or, at least stick your nose in the manual. Google searches give nothing.
Ubuntu Version: 8.04
LTSP version: 5
The following resources were used to accomplish this task:
UPD: If someone else is following the topic, a partial solution can be found in the topic "LTSP. Connecting flash-media for clients."