You might not have the luxury of a GUI in many (most?) production (or staging, for that matter) environments.
If something can open a shell remotely, it can show a GUI remotely.
Secure servers do not include GUI packages. They are enormous, require elevated privileges, and have a poor security history.
No reasonably quasi-secure server in the last 25 years has included GUI packages, but has allowed and often depended on shell access.
Modern deployment regimes which include ephemeral instances sometimes do not permit shell access.
These are not the same things!