When I log in using SSH or after pressing Ctrl+Alt+F1, it takes several seconds after I enter my password to finally show the following:
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-28-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 packages can be updated.
0 updates are security updates.
Last login: Thu Jan 1 00:00:00 1970
Unable to connect to X server
Unable to connect to X server
user@host:~$
What is it doing that causes it to take several seconds to get to a shell prompt? How can I speed it up?