How to restart Unity in an emergency

While Unity has significantly improved its stability, it may happen that sometimes they do not respond in the best way or do so in a erratic o slow. How to restart Unity without the rest of the system?


The solution is to run the command:

Unity

Another option is to run:

setid unity

O well:

unity --replace &

The & character at the end tells Unity not to finish when we close the terminal, otherwise we would be left without a shell. In case it ends anyway it is best to run the command unity-replace using the Alt + F2 key combination.

Sometimes restarting Unity using the commands described above will not be enough to get the system working properly again. In this case there is no other option but to close our session and start it again.

Source: Ubunlog


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   pandacriss said

    I miss the classic /etc/init.d/gdm restart

  2.   June said

    Hello! it really served me I was in a hurry. Regards.