0

Pressing the shortcut Ctrl+Alt+Del restart x server. Using the shell, sudo killall lightdm kills the x server but it's re-started. How to fordib automatic restart?

AEM
  • 1,166
Olivier Pons
  • 1,473
  • 1
    Why are you killing lightdm in this way, rather than gracefully stopping the service or switching to a non-graphical target? – steeldriver Jun 03 '21 at 14:47
  • Becauseto I couldn't find a working solution to stop the service or switch to a non-graphical target that works. – Olivier Pons Jun 03 '21 at 16:07
  • What is your Ubuntu version? does sudo systemctl isolate multi-user.target not work, and if not what happens? – steeldriver Jun 03 '21 at 17:11
  • After a nvidia driver update, nothing works anymore (= black screen) including ctrl-alt-F1-6 to go to a shell. – Olivier Pons Jun 03 '21 at 20:56
  • So I need a way to totally stop the x-server, and maybe a "simple" console will work (I just guess that if the x-server is not reachable, Linux goes into "pure" command line). FYI I still can type what I want (login + "sudo reboot" works), I just type as if i was blind, in one of those ctrl-alt-F1-6 shells. – Olivier Pons Jun 03 '21 at 20:59

0 Answers0