src/accountmod.py: support lightdm