Hi,
i reported the same problem 02.01.18. Now I found the Solution for my 2 Laptops wich both had the same Problem. Both have NVIDIA Geforce Graphics GTX 1050 and GTX 850m The issue is that the XOrg stalls completely at shutdown. Some Installations fails on boot , too. Regardless if you choose Cryptsetup or not. I tried Debian testing (Fails on Shutdown) Kubuntu 16.04 (Fails on shutdown) Kubuntu 18.04 (doesn't Start) In all cases, the solution is the following: You have to install the nvidia driver from the non-free Repositiory. After that, everything works fine. Best regards Stefan Zimmermann