Disable core22 login prompt

I have a custom gadget where ubuntu-frame is installed and console-conf disabled. After booting, for a few seconds the ubuntu login prompt shows:

Ubuntu Core 22 on 127.0.0.2 (tty1)

ubuntu login:

Is there a way to disable this login prompt completely?

Hi @jaydensmith you may be interested in the fresh-off-the-press:

You can use stable Frame for now, it’s just going to show the gradient wallpaper until the app draws its first frame.

But you should still get a direct splash-to-Frame experience.

@Saviq

I have followed the tutorial. But there is still the login prompt before the frame loads.

#gadget.ym.l

defaults:
  system:
    service:
      console-conf:
        disable: true

  # ubuntu-frame
  BPZbvWzvoMTrpec4goCXlckLe2IhfthK:
    display: |
      layouts:
        default:
          cards:
            - card-id: 0
              unknown-1:
                orientation: left
    config: |
      vt=1
      cursor=null
    daemon: true
# cloud.conf
datasource_list: [NoCloud]

write_files:
- path: '/etc/systemd/system/snap.ubuntu-frame.daemon.service.d/override.conf'
  content: |
    [Unit]
    Conflicts=plymouth-quit.service
    After=plymouth-quit.service
    OnFailure=plymouth-quit.service

    [Service]
    ExecStartPre=-/usr/bin/plymouth deactivate
    ExecStartPost=/usr/bin/sleep 10
    ExecStartPost=-/usr/bin/plymouth quit --retain-splash

Is it because I am running the custom image in a VM? Too slow?

@zhex900 that’s likely because of the orientation change, have you tried without? You’d need to configure plymouth to rotate the screen as well so that there’s no need for a display configuration change between the boot splash and Frame.

Could you provide a screen recording?

You could also systemctl mask getty@.service so it just never starts.

systemctl mask getty@.service did the job.

1 Like