My workaround for this problem is to send "halt" command to the underlying client o/s. Below are the steps needed, do in the server:
1. Chroot to the client environment:
$sudo chroot /opt/ltsp/i386
2. Define root password:
#passwd
3. Install openssh server and exit from chroot:
#apt-get install openssh-server
#exit
4. Update the client image:
$sudo ltsp-update-image
5. Create the down script:
#!/bin/bash
my_ip=`printenv|grep SSH_CONNECTION|sed 's/\(SSH_CONNECTION=\)\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)\(.*\)/\2/'`
ssh root@$my_ip halt
6. Place a launcher on client's desktop referring to the above script.
My workaround for this problem is to send "halt" command to the underlying client o/s. Below are the steps needed, do in the server:
1. Chroot to the client environment:
$sudo chroot /opt/ltsp/i386
2. Define root password:
#passwd
3. Install openssh server and exit from chroot:
#apt-get install openssh-server
#exit
4. Update the client image:
$sudo ltsp-update-image
5. Create the down script: printenv| grep SSH_CONNECTION|sed 's/\(SSH_ CONNECTION= \)\([0- 9]*\.[0- 9]*\.[0- 9]*\.[0- 9]*\)\( .*\)/\2/ '`
#!/bin/bash
my_ip=`
ssh root@$my_ip halt
6. Place a launcher on client's desktop referring to the above script.