View Full Version : Automatic installation of gdm via script

October 10th, 2017, 04:37 PM

I'm currently working on a install script for new Ubuntu installations. I have to instal Ubuntu on several pc's and I would like to automate the process.
In this process I'll switch from lightdm to gdm.

I'm using Ubuntu 16.04 LTS and a bash script.

Right now I install gnome-common and gdm, but from there I have no idea how to archive the rest.

Normally, if you install gdm via terminal you'll get to a menu and there you can select gdm3 instead of lightdm. Is there a command line way for the same thing? And how can I suppress this menu?
Second thing to do, is to switch to GNOME in the install screen.

I would like to know, if this is possible and how!

Thanks for you're help, Dark

PS: Sry for the repost, but I think this subforum is more suitable for this topic.