Boot2Qt disable services

This is a list of services enabled on my machine:

b2qt.service                           enabled
bluetooth.service                      enabled
busybox-klogd.service                  enabled
busybox-syslog.service                 enabled
connman.service                        enabled
dbus-org.bluez.service                 enabled
dbus-org.freedesktop.network1.service  enabled
dbus-org.freedesktop.resolve1.service  enabled
dbus-session.service                   enabled
ostree-remount.service                 enabled
qdbd.service                           enabled
rngd.service                           enabled
syslog.service                         enabled
systemd-fsck-root.service              enabled-runtime
systemd-networkd-wait-online.service   enabled
systemd-networkd.service               enabled
systemd-resolved.service               enabled
var-volatile-cache.service             enabled
var-volatile-lib.service               enabled
var-volatile-spool.service             enabled
var-volatile-srv.service               enabled
dropbear.socket                        enabled
rpcbind.socket                         enabled
systemd-networkd.socket                enabled
machines.target                        enabled
remote-fs.target                       enabled

I only use network and serial line file system. I use Boot2Qt services. What can I disable to optimize boot time?

hi @matteo_s

Could you provide the version of the hardware and Software of your module?

I only use network and serial line file system. I use Boot2Qt services. What can I disable to optimize boot time?

You can disable all the services you don’t need. If you use network, then you should not disable connman.service.

Best regards,
Jaski

Hardware: Apalis iMX6 Quad 2GB IT v1.1C

Software: Linux b2qt-apalis-imx6 4.9.87-2.8.3 SMP Apr 2 2019 armv71 armv71 armv71 GNU/Linux

Hi @matteo_s

Basically you can try to stop all service with systemctl stop . If it still works then you can disable it. For boot2qt you will require b2qt.service as well. However, don’t expect too much speedup from this.

You may want to check the following videos regarding boot time optimization:

Or maybe you find something in this article:

The Qt Company also provides professional services, where they help to optimize the boot process:

Regards,
Stefan