You are not logged in.

#1 2021-06-17 00:04:35

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

'mate-panel.desktop' failed to register before timeout

My desktop is coming up without the panel and desktop icons. I can start the panel with $ mate-panel& and all is well -- a minor hardship -- but it's a worry and makes me feel like a bad keeper.

In the journal :

mate-session[630]: WARNING: Application 'mate-panel.desktop' failed to register before timeout

In the lightdm.log

https://pastebin.com/Kw4pjHLN

there is a wait between +0.01s  and 3.23s

[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
 ---HERE---
[+3.23s] DEBUG: Got signal 10 from process 453[/b]

[+3.23s] DEBUG: XServer 0: Got signal from X server :0
[+3.23s] DEBUG: XServer 0: Connecting to XServer :0
[

But I don't know what that's about.



One cause of timeout could be that the panel is waiting for something and waits too long for it in which case the problem is in the startup sequence. Where would that be?

However if this was the case I expect to see many reports of the same issue.

Perhaps I'm not looking in the right place or perhaps there is an error in my configuration. If this is the case what are the usual suspects?

Last edited by buzzwallard (2021-06-17 00:06:49)

Offline

#2 2021-06-17 05:38:06

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: 'mate-panel.desktop' failed to register before timeout

How does this relate to (solved) https://bbs.archlinux.org/viewtopic.php?id=267143 ?
Is it strictly tied to autologin (ie. does the panel come up if you have to log in manually)?

The delay is lightdm waiting for the X11 server - before the login and your session.
Check the session journal (journalctl -b) whether mate-panel yells errors at you.

Offline

#3 2021-06-17 13:02:20

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

Re: 'mate-panel.desktop' failed to register before timeout

seth wrote:

How does this relate to (solved) https://bbs.archlinux.org/viewtopic.php?id=267143 ?

It worked for about two boots then it didn't work. By this time I was getting errors with the nouveau so I installed again using nvidia and lts.

I tried downgrading to earlier version of mate-panel. Very bad idea.

So installed again -- with nvidia and lts -- and here we are. I made a new post because amending the old turned out to be messy.


seth wrote:

Is it strictly tied to autologin (ie. does the panel come up if you have to log in manually)?

Manual login is not better. And the logs are the same.

However, as often happens with configuration changes, restoring autologin seems to have fixed the problem.

I'm not falling for it. 


seth wrote:

Check the session journal (journalctl -b) whether mate-panel yells errors at you.


The only error is the user list error which occurs in both logs and seems irrelevant. Error getting user list from org.freedesktop.Accounts

journalctl -b | grep -E 'mate-panel|mate-session|error'

is not different from

journalctl -b-1 | grep -E 'mate-panel|mate-session|error'

except for WARNING: Application 'mate-panel.desktop' failed to register before timeout in the log from the failed instance.

Offline

#4 2021-06-17 13:37:58

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: 'mate-panel.desktop' failed to register before timeout

Please post both journals - grep is only good if you know what you're looking for.

Offline

#5 2021-06-17 14:01:42

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

Re: 'mate-panel.desktop' failed to register before timeout

seth wrote:

Please post both journals - grep is only good if you know what you're looking for.

journalctl -b
https://pastebin.com/GuaKYPff

journalctl -b-1
https://pastebin.com/398vHFyb

Offline

#6 2021-06-17 14:17:47

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: 'mate-panel.desktop' failed to register before timeout

Jun 17 04:53:25 asus sudo[825]:  buzz : TTY=tty1 ; PWD=/home/buzz ; USER=root ; COMMAND=/usr/bin/systemctl start lightdm

Are you always starting lightdm this way?
What if you simply enable it?

Also have a look at https://wiki.archlinux.org/title/Xinit, maybe https://wiki.archlinux.org/title/Getty# … al_console

Offline

#7 2021-06-17 14:36:43

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

Re: 'mate-panel.desktop' failed to register before timeout

seth wrote:
Jun 17 04:53:25 asus sudo[825]:  buzz : TTY=tty1 ; PWD=/home/buzz ; USER=root ; COMMAND=/usr/bin/systemctl start lightdm

Are you always starting lightdm this way?
What if you simply enable it?

Usually enabled. I disabled it for this testing. I can switch to a virtual console to fix, sure, usually. Though once I had to login via SSH from another machine to fix so...

Okay, good stuff there. I'm also working through the x0.log in /var/log and putting specifics to the xorg config where it's loading defaults though I'm not sure yet what those specifics should be.

I'll get back to you on that.

Thanks.

Last edited by buzzwallard (2021-06-17 14:37:45)

Offline

#8 2021-06-17 20:34:31

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: 'mate-panel.desktop' failed to register before timeout

https://github.com/mate-desktop/caja/is … -239860884
You can likely work around this by adapting https://wiki.archlinux.org/title/MATE#E … nel_shadow for mate-panel

Though the ultimate cause is - likely - that mate-panel silently dies and we don't know why and the journal is indeed not helpful at all.

Offline

#9 2021-06-18 00:30:29

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

Re: 'mate-panel.desktop' failed to register before timeout

After an update to the lts kernel, loading of the desktop is snappy, more what I expect. The menu panel and desktop icons come up every time without thinking about it at all.

It's hard to be confident though so I'm reluctant to say SOLVED. This issue comes and goes, and I've been tricked before. It's likely lurking for a surprise attack.

These are useful links you've given. I realise that the best source of info is the Arch wiki. An excellent resource, usually.

Thanks for your help, Seth.

Last edited by buzzwallard (2021-06-18 00:31:04)

Offline

Board footer

Powered by FluxBB