Issue shutting down 16.04: at-spi-registryd.desktop

I have also seen this problem, but only in a virtual machine. Its Assistive Technology, are you using it?

If not, just disable it in your startup menu.