I can't log into my desktop so I have to upgrade my system from 14.04LTS to 16LTS. I have done:
sudo apt-get update && sudo apt-get dist-upgrade
sudo reboot
sudo update-manager -d
but I get errors:
GTK warning: cannot open display
it seems to me that it needs a GUI prompt for me to accept and then continue, so my question is:how to upgrade ubuntu 14.04LTS to 16LTS from command line without GUI?
I tried sudo do-release-upgrade
but I get errors as below:
https://i.stack.imgur.com/KUxHz.jpg
https://i.stack.imgur.com/gLn6K.jpg