(Update Dec 8th, 2021: I have found the root cause. Thank you all the same. I am posting the root cause.)
Recently I work with a Ubuntu 18.04. One day, after login desktop, there are only background and mouse pointer.
But I still can SSH to the system. I create a new account by SSH and I can log in desktop with that new account.
I log in to the bad original account by SSH and do the following:
mv .cache .cache.old
mv .config .config.old
mv .local .local.old
sudo reboot
After this, the problem remains, i.e., I can log in to my new account to the desktop, but if I log in to my old account, there are only background and mouse pointer.
How to bring my old desktop account back?
By the way, my Ubuntu 18.04 is a VM in VMWare. I installed the default desktop environment and it works well. Yesterday I installed a Robot Operation System (ROS) in it, and installed Shadowsocks, I tried to run a self-written script to start Shadowsocks client at startup by adding service approach and @reboot in crontab approach but failed, but I can manually make proxy works by Privoxy and Shadowsocks, and I set proxy of my desktop environment. But the problem occured at next reboot.