Dear friend,
I recently installed Debian 9.13 on my machine. I was planning to use it for scientific computation so GUI is not necessary. For some reason, I installed the desktop environment with LXDE desktop during installation. Later I decided to remove them. These two commands were executed: tasksel remove desktop apt purge $(tasksel --task-packages desktop) However, after rebooting the system still has GUI. Here is the result of "tasksel --list-tasks": u desktop Debian desktop environment u gnome-desktop GNOME u xfce-desktop Xfce u kde-desktop KDE u cinnamon-desktop Cinnamon u mate-desktop MATE u lxde-desktop LXDE u web-server web server i print-server print server i ssh-server SSH server u laptop laptop So it seems the desktop package was removed. But why it still has GUI? It is pretty much an absolute clean installation. The only thing I did between OS installation and removing GUI is the installation of cuda package (for GPU driver). "nvidia-smi" gives: | 0 1730 G /usr/lib/xorg/Xorg 132MiB | | 0 2285 G kwin_x11 17MiB | | 0 2292 G /usr/bin/krunner 2MiB | | 0 2295 G /usr/bin/plasmashell 45MiB | | 0 3091 G ...4-linux-gnu/libexec/kscreenlocker_greet 28MiB So plasmashell and x11 are not part of desktop? What is the correct way to completely remove GUI? Thank you. Michael