-2

Running Any command for instance sudo service network-manager restart seems just stays idle when i press enter key. I have to reboot to restore the machine. What must i do to stop my terminal from freezing.

15
  • check your memory! Apr 26, 2018 at 19:18
  • i have 4GB RAM, and 5GB swap. I think it is enough.
    – kishea
    Apr 30, 2018 at 10:53
  • Use free -h to check and didn't specs! Apr 30, 2018 at 11:03
  • sudo asks for your password. Did you enter it?
    – PerlDuck
    Apr 30, 2018 at 13:51
  • sudo never asked for the password. the terminal cannot run any command i type.
    – kishea
    Apr 30, 2018 at 13:56

2 Answers 2

1

You need to check the log info, you should open another terminal and run the following command:

 journalctl -u NetworkManager

To check what's happening with the command execution.

You could also try to add an & to the end of the command you're executing to release the command prompt. If you have prompt but can type anything, try running reset.

0

Press ctrl+Alt+F(1 or 2 or 3) login there and run some command. If its working fine. Something wrong with gnome-terminal. Try to run following command for any updates are stuck in between.

dpkg --configure -a

apt-get update && apt-get upgrade

apt-get install terminator

terminator is alternate terminal. This having lot of cool features

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .