I am using Ubuntu 20.04. Once in a fortnight or so, the system hangs, and the system fan goes to full speed at the same time. After that, no keyboard or mouse input works, not even Ctrl+Alt+F3 to switch to a command line console. So there is no way for me to monitor if any background process is malfunctioning. The only choice I have is to use the power button to reboot.
Last time this event repeated, I managed to log in to the computer remotely using ssh (didn't expect it would work, but it did). And then I was able to use htop to see the processes.
One of the Xorg processes seems to be occupying a lot of space. I don't know much about the X processes. Please help me understand this problem and find a solution if possible.
P.S. Please do not confuse with the Linux Mint logo on the screenshot, as that screenshot was taken from a remote client running Mint.
