This is a known bug. Apparently this issue also applies to Ubuntu. There is an assistive app in the autostart that runs terribly slow. I went to the startup directory:
I changed the file extension for the problem file to effectively prevent it from starting
sudo mv at-spi-dbus-bus.desktop at-spi-dbus-bus.desktop_DISABLED
Now my machine boots in ~5 seconds vs 120 seconds.
AT SPI D-Bus Bus
AT SPI stands for Assistive Technology Service Provider Interface, a framework to integrate accessibility functions in applications. This command will create a new DBus for AT SPI specific functions.
Command: /usr/lib/at-spi2-core/at-spi-bus-launcher –-launch-immediately
Status: unwanted until you need the accessibility features.
sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabledfixed the issue on both of my devices. Thanks I read and find this way to fix it ,but I'm not sure, I haven't try it.when I tried I will report it