PDA

View Full Version : [ubuntu] Change the default login manager via a Kickstart process



i2dave
July 22nd, 2016, 02:10 PM
I'm trying to install a new 16.04 LTS system via Kickstart / preseed over netboot, and would like to change the login manager showing on boot up.

The desktop is ubuntu-desktop, and the login manager I want to see is sddm (using the maldives theme).

If I add a line into the ks.cfg file (the kickstart runs via a local URL process) like so:

echo "/usr/bin/sddm" > /etc/X11/default-display-manager

The PC reboots after kickstart and just shows a blank screen!

If I subsequently login and run "dpkg-reconfigure -f noninteractive sddm", and restart the sddm service, then it works!

So, is there a way I can run the reconfigure command from the kickstart process, or any other way I can set the default login manager to be sddm?

QDR06VV9
July 22nd, 2016, 04:43 PM
I'm trying to install a new 16.04 LTS system via Kickstart / preseed over netboot, and would like to change the login manager showing on boot up.

The desktop is ubuntu-desktop, and the login manager I want to see is sddm (using the maldives theme).

If I add a line into the ks.cfg file (the kickstart runs via a local URL process) like so:

echo "/usr/bin/sddm" > /etc/X11/default-display-manager

The PC reboots after kickstart and just shows a blank screen!

If I subsequently login and run "dpkg-reconfigure -f noninteractive sddm", and restart the sddm service, then it works!

So, is there a way I can run the reconfigure command from the kickstart process, or any other way I can set the default login manager to be sddm?
See if this is of any use: http://askubuntu.com/questions/697529/lightdm-sddm-fight-on-greeter-screen