I now run the above command on another laptop with ubuntu mate 22.04 and, again I receive the same response "/usr/bin/lightdm". So, I guess it cannot the fault of the display manager that gparted fails to run correctly.....