Score:-1

desktop takes 30 seconds to load after login

us flag

the bootup takes barely 10 seconds but after logging in, the desktop stays purple with moving cursor for about 20 seconds, the DE is GNOME and GDM3 is the login manager. (its all xorg)

systemd analyze-blame output-

11.134s snapd.service                                        
 6.591s NetworkManager-wait-online.service                   
 4.494s plymouth-quit-wait.service                           
 1.498s ua-timer.service                                     
 1.409s dev-sda2.device                                      
 1.292s tlp.service                                          
  879ms networkd-dispatcher.service                          
  835ms dev-loop8.device                                     
  817ms dev-loop9.device                                     
  791ms snap-gnome\x2d3\x2d38\x2d2004-99.mount               
  758ms dev-loop10.device                                    
  748ms snap-gtk\x2dcommon\x2dthemes-1515.mount              
  723ms snap-snap\x2dstore-558.mount                         
  717ms dev-loop11.device                                    
  677ms lm-sensors.service                                   
  626ms snap-powerstat-140.mount                             
  625ms snap-gtk\x2dcommon\x2dthemes-1519.mount              
  580ms dev-loop2.device                                     
  556ms dev-loop16.device                                    
  542ms dev-loop14.device                                    
  539ms dev-loop15.device                                    
  537ms udisks2.service                                      
  528ms apport-autoreport.service                            
lines 1-23

systemd-analyze critical-chain output-

graphical.target @9.352s
└─multi-user.target @9.352s
  └─kerneloops.service @9.308s +43ms
    └─network-online.target @9.303s
      └─NetworkManager-wait-online.service @2.710s +6.591s
        └─NetworkManager.service @2.404s +302ms
          └─dbus.service @2.398s
            └─basic.target @2.380s
              └─sockets.target @2.380s
                └─snapd.socket @2.378s +1ms
                  └─sysinit.target @2.368s
                    └─snapd.apparmor.service @2.263s +104ms
                      └─apparmor.service @1.996s +265ms
                        └─local-fs.target @1.994s
                          └─boot-efi.mount @1.840s +135ms
                            └─systemd-fsck@dev-disk-by\x2duuid-0B73\x2d388C.ser>
                              └─dev-disk-by\x2duuid-0B73\x2d388C.device @1.780s
David avatar
cn flag
Was it faster before and it got slow or has it always been this what you are calling slow? I have seen many systems much much slower then this.
lava avatar
us flag
systemd doesn't show the time it takes after logging in, the problem is the 30 secs it takes after logging in, you are correct that the time it takes to boot before login is fast
mchid avatar
bo flag
You can run `journalctl -b` to see logs from the first time you logged in after the last boot. When you run the command without sudo, it only shows the logs for your current user so the logs actually begin at login time. This may or may not help, depending on the problem.
Nmath avatar
ng flag
Is your root file system installed to a SSD or a HDD? And is the home folder on the same disk, or somewhere else?
lava avatar
us flag
root FS is on a sata ssd, home is on the same, there is only one ssd
oldfred avatar
cn flag
You have a lot of loop devices which tend to be slow. Some other things to review: https://askubuntu.com/questions/1284302/is-it-possible-to-make-ubuntu-20-04-boot-faster
Jeff avatar
mx flag
How big is you hard drive?
lava avatar
us flag
256 gb ssd, crucial BX500
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.