Switch Desktop Environment from Command Line

40,061

https://wiki.ubuntu.com/LightDM#Change_the_Default_Session

From that link you can set default session from the terminal.

Share:
40,061

Related videos on Youtube

John
Author by

John

I'm an Application Developer in Long Island, NY.

Updated on September 18, 2022

Comments

  • John
    John over 1 year

    I have Ubuntu Gnome installed on a headless box. I use SSH or VNC to connect to it. I'm trying to switch to XFCE and I've got it installed, but the tutorials say to log out, and select the desktop environment from the login screen. Problem is, over VNC I can't do this.

    How do I set the default desktop environment from the command line or a config file?

  • mx7
    mx7 over 10 years
    I am doing from mobile. I can't give you complete answer