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!