Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 366220  / 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
;