<div dir="ltr">Alkis,<div><br></div><div>I've done some more testing and the newest nbd-disconnect IS working on my previously non-working Dell Optiplex 7xx series. As you stated, shutdown works when initiated from the graphical interfaces - LightDM (fat) and LDM (thin). I'll test my Gateway E Series systems when I'm at my other school tomorrow. <div>

<br></div><div>Initiating the shutdown command via a terminal session or ssh still fails (nbd-disconnect is not called). Is there a way to cleanly shutdown the client via ssh? - Or - clean up the server connections, swap files, etc... after a more aggressive shutdown (since the ssh shutdown will be initiated from the server anyway).<div>

<div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>-Nick</div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 1:34 PM, Nick Fenger <span dir="ltr"><<a href="mailto:nick.fenger@gmail.com" target="_blank">nick.fenger@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="HOEnZb"><div class="h5"><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><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>
</div></div></blockquote></div><br></div>