Solution to desktop crash in Ubuntu without restarting

Source: Internet
Author: User
In Ubuntu7.10, you can use Opera to access the Internet and debug the Python program. It may be the relationship between ERICIDE. During the debugging process, all the programs on the desktop suddenly do not respond, and the CPU is 100%. I initially determined that the XWindow may cause some problems during the debugging process. Therefore, the XWindow cannot be closed in the desktop environment, so it had to be completed through the Console. Press Alt + Ctrl + F1 to enter tty1 (F1 ~ F6. By default, there are 7 consoles in Ubuntu.

On Ubuntu 7.10, you can use Opera to access the Internet and debug Python programs. It may be the relationship between eric ide. During the debugging process, all the programs on the desktop suddenly do not respond, and the CPU is 100%. I initially determined that the debugging process may cause some problems in X Window. Therefore, the X Window cannot be closed in the desktop environment, so it must be completed through the Console.

Press Alt + Ctrl + F1 to enter tty1 (F1 ~ F6 is acceptable. By default, there are 7 consoles in Ubuntu, where tty7 runs a graphical desktop process, and others only have a simple shell). At this time, You need to log on again. After logging on, run the following command to view the process

Ps-t tty7

Now we can find an Xorg process and write down its PID. Then use

Kill

Kill the process. Later, Ubuntu automatically restarts Xorg and returns to the logon page after startup. In this way, the crash problem was solved in this way.

This method only restarts the Xorg process, and the previously running program and data cannot be recovered before the crash!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.