linux terminal change default display manager code example Example: ubuntu 18.04 default display manager $ cat /etc/X11/default-display-manager