I downloaded VMware workstation in Kali Linux. It wasn't running, it was having some header files issues. So I looked up the solution and someone said to run the following commands.
apt clean && apt update && apt dist-upgrade
After this, when I restarted the computer, all the icons from the desktop were removed.
The data is still there in the Home/username/Desktop directory.
Also there are only a few options when I right click the desktop.
Please help me out.