I'm fairly new to Linux and I'll make it tl;dr. I installed Ubuntu Server 20.04.4 LTS on my Computer and used it as a server. I only Installed Java, Filezilla, Forge(Minecraft Server) and a Discord bot. Today I unintentionally blocked port 22 for SSH connections so I plugged it on a monitor and did a restart to open the port for SSH. I was welcomed with a GUI which totally confused me. How did the Server version install a GUI without me? I don't want it to use more resources than necessary.
sudo aptitude why gnome:
i ubuntu-standard Recommends plymouth i A plymouth Suggests desktop-base p desktop-base Suggests gnome | kde-standard | xfce4 | wmaker
sudo aptitude why ubuntu-standard:
Manually installed, current version 1.450.2, priority standard No dependencies require to install ubuntu-standard
I'm 100% positive I never typed ubuntu-standard into console. How can I revert without formatting again?
Just like @terdon suggested I deleted ubuntu-standard via
sudo apt remove ubuntu-standard filezilla plymouth desktop-base sudo apt autoremove
Now "why gnome" responds with:
i grub-efi-amd64-signed Depends grub-efi-amd64 | grub-pc p grub-pc Depends grub-pc-bin (= 2.04-1ubuntu26.13) p grub-pc-bin Suggests desktop-base (>= 4.0.6) p desktop-base Suggests gnome | kde-standard | xfce4 | wmaker
What's also interesting is that
"echo $XDG_CURRENT_DESKTOP responds with GNOME and
sudo apt remove gnome responds with
Package 'gnome' is not installed, so not removed.
I'm hella confused...