Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 366219  / 2 Years ago, sun, april 17, 2022, 12:44:32

Every time I try to kill the x-server,



sudo service lightdm stop


so that I can install the latest Nvidia drivers, I get an error message.



stop: Unknown instance:


What am I doing wrong?


More From » lightdm

 Answers
2

I did a little more digging around and found that I could just use pgrep to find its PID and then kill it.



pgrep dm -l


sudo kill (insert PID here)



[#30306] Monday, April 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionavocad

Total Points: 189
Total Questions: 101
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
tionavocad questions
Tue, May 23, 23, 00:07, 1 Year ago
Tue, Jan 17, 23, 20:38, 1 Year ago
Sun, Oct 10, 21, 04:50, 3 Years ago
Tue, Jun 7, 22, 08:50, 2 Years ago
;