[Pkg-ltsp-devel] localdev (floppy) problem
vagrant at freegeek.org
vagrant at freegeek.org
Thu Nov 8 19:04:25 UTC 2007
On Thu, Nov 08, 2007 at 12:30:05PM +0100, SZABO Zsolt wrote:
> I _think_ that the script
>
> ltspfsmounter (ltspfs_0.5+debian1)
>
> contains an extra line:
>
> env['DISPLAY'] = 'localhost:10.0'
>
> which may cause problem in using LOCALDEVs when more than one user try to
> login through ldm. Therefore this line should be commented out or
> entirely removed...
yes, that definitely doesn't look right... seeing as the next logins
would likely be localhost:11.0, localhost:12.0, etc...
i haven't actually tested LOCALDEV support in a multi-user environment
(at least not for a while). will try to do so shortly.
> Similarly, the rc.d script delayed-mounter of ldm ought to be patched:
>
> --- S10-delayed-mounter 2007-10-04 01:28:05.000000000 +0200
> +++ S10-delayed-mounter.new 2007-11-08 12:22:05.000000000 +0100
> @@ -6,6 +6,6 @@
>
> if [ -f /var/run/ltspfs_fstab ]; then
> while read DEV DIR TYPE OPTIONS DUMP PASS; do
> - ssh -S ${LDM_SOCKET} ${LDM_SERVER} "/usr/sbin/ltspfsmounter ${DIR} add"
> + ssh -X -S ${LDM_SOCKET} ${LDM_SERVER} "/usr/sbin/ltspfsmounter ${DIR} add"
> done < /var/run/ltspfs_fstab
> fi
>
> Without -X one cannot access the local floppy drive...
> (see also the /lib/udev/add_ltspfs_entry script in ltspfsd package)
i've been able to mount floppies, CDROMs and USB sticks just fine... but
i'll look into it. it does look like a (potential) issue.
live well,
vagrant
More information about the Pkg-ltsp-devel
mailing list