Re: Need testers for LTSP thin client device popup in KDE

2010-05-06 Thread Petter Reinholdtsen
[Petter Reinholdtsen]
> One approach we considered is to use hal to notify KDE about the
> LTSP mounts.  This script should implement this approach.  Can
> someone with a LTSP test lab test how this approach work when
> several users are logged into the same server and insert USB sticks
> on their thin client.  What happen if a USB stick is inserted on the
> server itself?

I managed to test it with one user, and it fail to work.  The reason
is that hal-device need to run as the root user, while the mounter.d
scripts are running as the logged in user.  Back to the drawing
board. :(

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-edu-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100506084251.ge32...@login1.uio.no



Need testers for LTSP thin client device popup in KDE

2010-05-05 Thread Petter Reinholdtsen

The last few days Vagrant and I have been looking into how to get LTSP
thin clients to get a popup in KDE when a USB stick and other local
devices are inserted on the client.  The work and progress is
documented in bug #575031.

One approach we considered is to use hal to notify KDE about the LTSP
mounts.  This script should implement this approach.  Can someone with
a LTSP test lab test how this approach work when several users are
logged into the same server and insert USB sticks on their thin
client.  What happen if a USB stick is inserted on the server itself?

tjener:~# cat /etc/ltspfs/mounter.d/hal-notify
#!/bin/sh

case "$1" in
add)
mountpoint="$2"
devname=$(basename "$mountpoint")
halname="storage_serial_LTSP_$devname"
cat