! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4 sometimes doesn't start (Race Condition?)


Description noel 2017-03-16 23:30:00 CET
Sometimes, xfwm4 doesn't start when I log into my user account.
This only happens randomly, but about 50% of the time.

I could not find any logs that xfwm4 would produce and there are no core dumps, or stack traces in the journal.

The xfwm4 version is 4.12.3 (revision 7fdcb53).
The computer is running Arch Linux.
Comment 1 Olivier Fourdan editbugs 2017-03-17 10:02:20 CET
Not necessarily a race, xfwm4 tries to wait for another window manager to exit first. How do you start xfce? Which display manager do you use (e.g. gdm)?

Also possibly xfwm4 is not saved along the session when you logged out last. Do you automatically save session on logout (in xfce4-session-settings)?
Comment 2 noel 2017-03-17 11:00:29 CET
I am starting XFCE using lightdm. It is the only DE that is installed on this system, however components of KDE and Gnome are installed as well to be able to use certain applications from those DEs.

xfwm4 is part of the session AND listed in the automatically started applications.

The session is not set to be saved when I log out.

However, the problem occurs sometimes and sometimes not.
When it occurs, there are no borders drawn around the windows and I can't select any windows.. I can then start xfwm4 using the alt+f2 menu (and hoping it gets the focus). Then the borders appear and I can select windows and start working.
Comment 3 Olivier Fourdan editbugs 2017-03-17 11:10:12 CET
What's in the session/journalctl logs when this occurs? If xfwm4 is launched by the sessio nbut fails to start, it should tell why or else a possible crash would show.
Comment 4 noel 2017-03-17 17:03:01 CET
Created attachment 7051 
Comment 5 noel 2017-03-17 17:03:37 CET
I found errors regarding xfwm4 and xfdesktop in ~/.xsession-errors.
The complete file is attached.
Comment 6 noel 2018-07-24 22:19:27 CEST
Does not happen anymore.
Comment 7 noel 2019-05-28 15:37:01 CEST
It happens again with 4.12.5.
Comment 8 noel 2020-01-22 22:11:23 CET
Still happens with 4.14.0.
Comment 9 Git Bot editbugs 2020-05-29 12:15:11 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/250.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13430

Reported by:
Reported on: 2017-03-16
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
2 users




.xsession-errors (4.98 KB, text/plain)
2017-03-17 17:03 CET , noel
no flags

Additional information