After locking Ubuntu 14.04 and invoking login screen sometimes I get the page with disabled password field. How can I restart login screen in command line without restarting whole X server?


On the terminal type:

sudo service lightdm restart
|improve this answer|||||
  • 1
    service restart restarts whole graphical environment so all previous activities (like terminal or text redactor states) are wiped. – Yehor Nemov Jan 23 '15 at 7:38
  • 1
    @YehorNemov This is true, but there is no other way. The login screen is shown by lightdm, the display manager. It runs as root and provides the login. After login it spawns an instance of the graphical environment with the proper rights for the user as a child. If you restart the login screen, you will have to restart the children as well. – Klaus D. Jan 23 '15 at 9:55
  • 1
    Sad to realize this. – Yehor Nemov Jan 23 '15 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.