Use gnome-initial-setup to replace 2nd half of ubiquity

Bug #1673453 reported by Jeremy Bícha
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME

Bug Description

This is a proposal for the Ubuntu GNOME installer (ubiquity) to skip directly from the partition page to the slideshow.

On first boot, gnome-initial-setup recognizes that no valid user has been set up and runs in New User mode to create that first user. It asks questions to set the language, keyboard layout, and timezone. It asks for the username, display name and password and optionally allows picking a login avatar (or 'face') and setting up Online Accounts.

It's too late to do this for 17.04 but maybe we could do it for 17.10.

To Do
- We probably need to fix gnome-initial-setup's language page first (LP: #1614816)

- Then get ubiquity to skip the extra questions for Ubuntu GNOME

- How will we handle setting the hostname?

To try this
(on a virtual machine or where you have backed up all your home directories!)
- Start Ubuntu GNOME 17.04 into recovery mode. (Hold Shift when starting and select the option in grub).
- Select clean. (This will run apt autoremove, but more importantly, it will mount / read-write).
- Select root.
- Run. (Replace 'jeremy' with your username. Repeat for every user that would show up in gdm's login window).
sudo deluser --remove-home jeremy
- Select resume.

This should now start the New User mode.

Why switch?
- Better integration with GNOME
- Easy for OEMs or anyone who wants to install Ubuntu GNOME for someone else. They just need to do the regular install, then give the computer
- When gnome-initial-setup was first introduced years ago, I didn't like the idea of splitting the installer questions in two. Maybe I was thinking of installers like Windows where even after answering the second half of questions, it would take a long time before the computer is ready. gnome-initial-setup does not take long at all before your computer is ready to go.

There isn't a way to set up encrypted home directories with ecryptfs.

Jeremy Bícha (jbicha)
Changed in ubuntu-gnome:
milestone: none → aa
rahmadani (rahmadani)
Changed in ubuntu-gnome:
assignee: nobody → rahmadani (rahmadani)
Jeremy Bícha (jbicha)
Changed in ubuntu-gnome:
assignee: rahmadani (rahmadani) → nobody
description: updated
Revision history for this message
Jeremy Soller (jackpot51) wrote :

At System76, we would like to help with this. I am working on patches for encrypted home. I would also like the option of setting a weaker user password, if the user confirms that is what they want.

Revision history for this message
Mario Limonciello (superm1) wrote :

Ideally it would be best to see new features land in a loadable plug-in system for Ubuntu gnome rather than patching each individual feature.

This is a strength today with the ubiquity based oem setup and allows additional oem differentiation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.