Ubuntu 18.04 stuck at shutdown
While none of the other answers here helped for me (encountering the same problem), I fixed it by switching from the X.org graphics driver to the propietary nvidia driver that is recommended under software&updates. Since then, reboot works flawlessly.
My setup: Asus G Series Laptop G501VW, with Nvidia 960M graphics card.
To do this:
- open Software&Updates (top left: Click on activities and type "software". Pick software&updates)
- go to "additional drivers"
- select a nvidia driver instead of the X.org driver
- reboot the system
Same problem here on my laptop. After some observation, I found out that it has something to do with power saving mode specially automatic suspend.
Go to Settings > Power
then turn off all Automatic Suspend
options. Also choose Blank screen
to Never
.
Till Ubuntu team will figure out why suspend mode is interfering with shutdown process, this solved my problem.
Hope this helps
Try a couple of sudo reboots from terminal to see if it clears things up: 1st to try, reboot without writing wtmp file:
sudo reboot -d
If that reboots successfully then try your natural close down. If it doesn't reboot, try forced reboot:
sudo reboot -f
If this was an upgrade from 16.04 to 18.04, it may be worth considering a clean install.