0

My video drivers are currently still in beta, so every now and then, the desktop environment malfunctions especially when (dis)connecting a second monitor.

Thankfully, there is a way to restart the gui without having to reboot.

However, tty1 is still logged in. If I try to logout of tty1 I can't Ctrl+Alt+F7 back in to the gui.

How can I both restart the gui and logout of the tty that restarts the gui?

1
sudo service lightdm restart && logout

Your Answer

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