Chapter 12. Accessing Client Resources from the Terminal Server
12.1.3. Accessing local drives from Windows Terminal Servers
When using Windows Server 2003 or newer, access to the Local Drives is possible via RDP. In this case,
no configuration is required; sessions started with tl-run-rdesktop (and associated commands) will
automatically have the local drives redirected.
Note: Due to what seems to be a limitation in the RDP protocol, local drives with names longer than
seven characters will be displayed using only the first seven characters on the Windows Terminal
Server.
Local Drives can also be accessed from Citrix ICA servers. In this case, the Citrix ICA client must be
configured to export the desired "thindrives" directories.
12.1.4. Mounting Drives at Login
Often, it’s convenient to automatically mount all local drives for a user when the session starts. This is
done by default via a symbolic link in /opt/thinlinc/etc/xstartup.d, pointing at
/opt/thinlinc/bin/tl-mount-localdrives. This link is created for you during installation, as
well as its counterpart in /opt/thinlinc/etc/xlogout.d which points to
/opt/thinlinc/bin/tl-umount-localdrives.
12.1.5. Limitations and additional information
• A mounted local drive, for example /var/opt/thinlinc/sessions/joe/47/drives/cdrom, is
only usable during the lifetime of the ThinLinc session. If the user ends the session without
unmounting and then starts a new session, the mount will not be usable even if the session number
happens to be same. In this case, any attempts to access the mount will give the error message "Stale
NFS file handle". To be able to use the local drive, the user needs to run tl-mount-localdrives .
• The mounted local drive does not fully support POSIX semantics. The usual limitations of NFSv3
applies. Additionally, if the file is moved to another directory while a process has the file open, the
process will get a "Stale NFS file handle" error on any subsequent file operation for that file.
• Local files are uniquely identified by their inode number. Some file system implementations, such as
the Linux kernel FAT implementation, do not provide persistant inode numbers. Inode numbers will
change on each remount, which usually results in "Stale NFS file handle" errors.
• To prevent users from mounting local drives at the terminal server, execute this command:
# chmod u-s /opt/thinlinc/libexec/tl-mount-personal
130
Kommentare zu diesen Handbüchern