In recent versions of Ubuntu, if one of my kids had locked the screen instead of logging out of their account, I could run this command to restart X and get to the login screen:
sudo service lightdm restart
But in 17.10, this command now results in this error message:
Job for lightdm.service failed because the control process exited with error code.
What is the equivalent command in 17.10?
gdminstead oflightdm. – pomsky Oct 21 '17 at 06:12