Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2983  / 3 Years ago, mon, september 20, 2021, 12:14:50

So when my ubuntu freezes, is there a way I could kill only some programs not all of them?


More From » freeze

 Answers
7

It depends on what exactly you mean by "freeze", but generally, if X (the "graphical mode") does not react anymore, a good way to kill some programs (or the program that's causing the freeze) is to do the following:




  1. Use the key combination Ctrl+Alt+F1 to get into the non-graphical pure command-line mode.

  2. Log in.

  3. Use the command killall programname to kill the program you want to kill. For instance, type killall firefox. If you are unsure what the program name is, you can use the command ps aux to examine the list of currently running programs. You can also restart the X server altogether by using the command sudo service lightdm restart.

  4. (Optionally) log out again by typing exit or using the key combination Ctrl+D.

  5. Use Ctrl+Alt+F7 to get back into X.


[#27536] Monday, September 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingssex

Total Points: 21
Total Questions: 122
Total Answers: 98

Location: Sweden
Member since Fri, Mar 26, 2021
3 Years ago
ingssex questions
;