[Pkg-ltsp-devel] Bug#478875: local apps in ltsp 5

José L. Redrejo Rodríguez jredrejo at edu.juntaextremadura.net
Thu May 1 15:14:46 UTC 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: K20-local-app
Type: application/x-shellscript
Size: 1270 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20080501/b7bbec61/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localapp
Type: application/x-shellscript
Size: 1770 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20080501/b7bbec61/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S20-local-app
Type: application/x-shellscript
Size: 1554 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20080501/b7bbec61/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20080501/b7bbec61/attachment.pgp 


More information about the Pkg-ltsp-devel mailing list