[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

access to local media on thin clients



Hi,

checking the manual once more I found outdated content concerning local 
media on thin clients. I'm about to revise the information but it would 
be easier to describe it (and easier for admins, too), if the two 
attached scripts would reside in /opt/ltsp/i386/usr/share/ldm/rc.d on 
each ltsp-server.

S16-userCreateMediaLink

K16-userRemoveMediaLink

These scripts will do what their names tell. A user will have access to 
locally plugged in media below ~/Media if using a thin client.

Wolfgang

#
# sourced with .
#
# Script to remove Media link when the user xsession is closed

ssh -X -S ${LDM_SOCKET} ${LDM_SERVER} "rm -f ~/Media"
#
# sourced with .
#
# Script to set local Media link for logged in user 

ssh -X -S ${LDM_SOCKET} ${LDM_SERVER} "ln -s /media/$LDM_USERNAME Media"

Attachment: signature.asc
Description: Digital signature


Reply to: