Will Ubuntu uninstall the desktop environment cause GUI programs to fail to display properly?

I am using Ubuntu 16.04LTS. Now there is a need to remove the desktop system from Ubuntu and not display GUI, but can the GUI program that used to run in graphical mode work properly

Jul.12,2022

No, if you delete the desktop environment, you can only log in with the command window.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd8f04-2fe81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd8f04-2fe81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?