Ltspinfo

From Osl.birzeit.edu

ltspinfo is an application bundled with ltsp that allows you to control the clients from the server.

ltspinfo takes the following options:

  • -h, --host
  • -p, --port
  • -c, --cfg
  • -s, --shutdown
  • -r, --reboot
  • --proc=s

where the host is the clint IP, and port is the port where ltspinfod is listening to.

  • first:

you have add these commands in ltsp.conf file


ALLOW_SHUTDOWN  =Y
ALLOW_PROCRED   =Y

the shutdown and reboot options allow you to shutdown and reboot,for example, if you have a client with the ip 192.168.0.250, and you want to shut it down, type the following on the servers console:


ltspinfo -h 192.168.0.250 -r 

this command it reboot the client.

for shutdown the client,type this command:


ltspinfo -h 192.168.0.250 -s