Package: ldm
Version: 2.0.3-1
Severity: wishlist
Tags: patch

I attach you the files I've prepared to be able to use local apps in
ltsp 5. I needed this feature for the schools of Extremadura. Maybe, you
can add this info to the examples section of ldm.

Steps to make it work (all of them inside the ltsp chroot):

- Install sshfs package (from sid, as it has #430225 fixed)
- useradd ltsp -d /var/tmp/ltsp -g fuse -u 65533 -G audio
- cp *20-local-app /usr/share/ldm/rc.d/
- cp localapp /usr/bin/
- chmod +x /usr/bin/localapp


To launch a local app (obviously, supposing you've already installed the
application in the ltsp chroot) you have these options:

a) In the ltsp server, at the logged user home, create a simple file
called local.exec with a line with the command to be executed locally
(between "" if the command has options). The file will be removed after
the local app is launched, so you can start several of them.

b) In the ltsp client, after the user has logged in, go to a tty, login
as root and execute:
localapp "application"

c) A wrapper replacing the way the desktop file at the ltsp-server, that
create the local.exec file for option a). I have not implemented this
yet.

Hope this helps
Regards.
José L.

Attachment: K20-local-app
Description: application/shellscript

Attachment: localapp
Description: application/shellscript

Attachment: S20-local-app
Description: application/shellscript

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to