[Pkg-ltsp-devel] localdev (floppy) problem

SZABO Zsolt szazs at mm.bme.hu
Thu Nov 8 11:30:05 UTC 2007


Hi,

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...

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)

Bye,
--
Zsolt



More information about the Pkg-ltsp-devel mailing list