VLC doesnt quit. How do I force quit the application?
Asked
Active
Viewed 5.0k times
22
2 Answers
36
You can use based on name pkill
pkill vlc
If that doesn't work, try:
pkill -9 vlc
-
I removed the
sudo
because i) you should never runsudo
unless necessary and ii) in this case, that would have killed all cases of vlc running on the system. Not only those belonging to the OP. I also removed the-9
because that is very aggressive and is not necessary here. – terdon Apr 05 '16 at 10:28 -
2
-
Yes, I realized which is why I added it back. Still, it should be used as a last resort, not on the first try and not with
sudo
unless you know what you're doing. Don't get me wrong, this is a good answer, that's my upvote there :) – terdon Apr 05 '16 at 10:41 -
I guess :) and for those who have more than just one e.g.
vlc
instance launched usingxkill
is a good way to resolve the problem – EdiD Apr 05 '16 at 10:47 -
-
27
Run this command to find out the PID it is using
ps aux | grep vlc
then run
sudo kill -9 <PID NUMBER>

bhordupur
- 640
-
I would rather be interesting finding the cause for this. And get it fixed by raising bug. – Pushpendra Dec 21 '19 at 18:02
-
1I believe this answer is ambiguous. It possibly works if you know that PID is meant to be a number? to type the second command in literally I think might fail better to wrap the PID in <> e.g. sudo kill -9
– TheArchitecta Nov 25 '21 at 21:31 -
-
1
xkill
+ Return. Then click on the application's window. Must be a dupe of something. – Jacob Vlijm Apr 05 '16 at 10:08