No, it's safe to remove them. The package manager may warn you about removing "ubuntu-desktop". Don't worry about that, it's just a 'metapackage' (https://help.ubuntu.com/community/MetaPackages). -- skymt