Score:0

Desktop startup takes long time occasionally

es flag

It takes long time to get Xfce desktop after giving login credentials in Xubuntu 20.04 occasionally. Normally it takes only few seconds, but sometimes it takes maybe half minute or so. During that time LightDM screen is shown, and there seems to be a lot of mass storage activity. Why does it take long time sometimes?

Clip from /var/log/lightdm/lightdm.log shows the delay:

[+9.41s] DEBUG: User jarnos authorized
[+9.43s] DEBUG: Greeter sets language en_US
[+9.47s] DEBUG: Greeter requests session xubuntu
[+41.78s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
HuHa avatar
es flag
With that amount of information really nobody can give any qualified answer. If you add more information to your question, your chances might greatly increase.
es flag
@HuHa sure, but can you be more specific?
HuHa avatar
es flag
It's YOU who needs to be more specific. What is "a long time"? What do you see happening, or what do you expect to see and don't? Did you try to log in from another machine with `ssh` and monitor with `top` what's going on? Did you check any logs? (Xorg.log, .xsession-errors)? How often does it happen? When? What do you have in your desktop's autostart folder? I mean, with a reputation of 4119 you should have a rough idea how to ask and how to do things around a Linux system.
es flag
@Huha Are you mad at me? I am not an expert in debugging logging in. My Ask Ubuntu reputation is based on other things. I have not used ssh to inspect the problem, yet. It is a bit troublesome, as the problem is not always or regularly reproducible. Besides, I have been busy. I tried checking output of some `journalctl` command sometime, but could not figure out the cause. I will try to check some logs next time it happens.
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.