On my Ubuntu MATE 16.04, whenever I press shutdown, restart button, I get a message that
at-spi-registryd.desktop program is not responding and I either need to wait for the program to finish or I could reboot/shutdown anyway (warns me that I may lose work). Why does this happen? How can I make the shutdown/restart process smoother ie. not see that message and restart/shutdown the normal way?