Killing Xorg completely without it restarting

Is there a way to kill xorg without having lightdm restart? I’ve tried stopping the lightdm service but it says that no service of that name exists.

For context, I’m trying to install the NVIDIA drivers manually. I get an error about X running while doing so.

I would post the install attempt s output from Terminal, it might also help.

$sudo systemctl isolate

switches to CLI mode

$sudo systemctl isolate

switches back to GUI mode


Thanks, I’ll try that out when I get home.

You could just drop into a tty from your desktop then run the command.

ctrl alt F2 to get into tty screen.

ctrl alt F1 come back to your desktop

1 Like