Description: This SLX HOWTO describes how you can enable the local floppy drive for your users no matter which client system they log in to, thin, thick or server.
Walkthrough:
Install support for remote floppy drives on thin clients
Log in as root on the thin client server in question
Download the package ltsp_floppy here.
Decompress the package, enter the directory and run the install script.
In the [Default] section in /opt/ltsp/i386/etc/lts.conf add the line:
RCFILE_01 = floppyd
Enable users to mount floppy drives
Log in as root on the thin client server in question
In /etc/devfs/perms change
REGISTER ^floppy/.* PERMISSIONS root.floppy 0660 to REGISTER ^floppy/.* PERMISSIONS root.floppy 0666
Do the same on every workstation
Enable local floppy drive for each user
Log in as root on tjener.intern
Create a script /etc/skel/.kde/Autostart/floppycheck.sh. with the following content:
#!/bin/bash CLIENT=`echo $DISPLAY | tr 0-9 "-" | sed -e s/-.*//` if [ $CLIENT = "ltsp" ]; then echo 'drive a: file="$DISPLAY" remote 1.44m mformat_only' > ~/.mtoolsrc else echo 'drive a: file="/dev/floppy/0" 1.44m mformat_only' > ~/.mtoolsrc fi
Run these commands in a bash shell:
for dir in /skole/tjener/home0/*; do cp /etc/skel/.kde/Autostart/floppycheck.sh $dir/.kde/Autostart; chown --reference=$dir $dir/.kde/Autostart/floppycheck.sh; done
Unfortunately, you can only read floppies in Konqueror, so either convince all your users not to use floppies, or install the package mtoolsfm to write to floppies.