<div dir="ltr"><div>For fat and thin ltsp clients I replace the /sbin/poweroff binary with a script that executes the additional commands. Non-ltsp clients do not have issues shutting down.<br></div><div><br></div><div>In my test, I logged in as root from tty1 on my updated ltsp thin client (image rebuilt with the new nbd-disconnect) (ctrl+alt+F1) and executed the original /sbin/shutdown command. </div>
<div><br></div><div>I can do further testing, what are the additional commands I need to execute to properly shutdown? </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 1:11 PM, Alkis Georgopoulos <span dir="ltr"><<a href="mailto:alkisg@gmail.com" target="_blank">alkisg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Στις 19/05/2014 10:27 μμ, ο/η Nick Fenger έγραψε:<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I only tried the newest version of the nbd-disconnect script on a HP<br>
Compaq dc7800 and it did not work (shutting down from a root login on<br>
tty1) while with my additional commands it does shutdown. I had to do<br>
the alsa --force-unload on all of my Gateway E-Series Pentium 4 clients<br>
and the newer E-Series dual core ones require the additional commands as<br>
to my Dell Optiplex 7xx series.<br>
<br>
</blockquote>
<br>
<br></div>
Shutting down from root login how?<br>
If you're using `poweroff -fp`, that bypasses the normal shutdown process (and nbd-disconnect as well). Services wouldn't be stopped, the ssh and nbd connections wouldn't be closed, NBD swap files on the server wouldn't be deleted etc.<br>
<br>
If you need `alsa --force-unload` for a client to shut down,<br>
how is that called on non-LTSP clients?<br>
<br>
I.e. if you had a local installation there, the clients wouldn't power off?<br>
</blockquote></div><br></div>