I installed Mate desktop environment in Ubuntu 18.04 as described in the this blog.
The following commands -
$ sudo apt install tasksel
$ sudo apt update
$ sudo tasksel install ubuntu-mate-desktop
But I didn't like Mate therefore I tried to uninstall it -
sudo dpkg-reconfigure gdm3
But above command did not uninstall Mate environment completely.
How to remove Mate completely from Ubuntu 18.04?
sudo dpkg-reconfigure gdm3
command just re-runs the post-installation script for packagegdm3
(gnome's display manager). You shouldsudo apt remove ubuntu-mate-desktop