FS#75184 - [xfce4-session] When starting from a Display Manager, /etc/X11/xinit/xinitrc.d/*.sh is sourced twice
Attached to Project:
Arch Linux
Opened by Shun (shunf4) - Wednesday, 29 June 2022, 11:23 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
Opened by Shun (shunf4) - Wednesday, 29 June 2022, 11:23 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
|
Details
Description:
Why sourcing /etc/X11/xinit/xinitrc.d/*.sh in /etc/xdg/xfce4/xinitrc ? When starting from a Display Manager (e.g. SDDM), /etc/X11/xinit/xinitrc.d/*.sh is sourced twice: - DM executes its Xsession script - Xsession script sources xinitrc.d/ - Xsession executes startxfce4, as per /usr/share/xsessions/xfce.desktop - startxfce4 sources xinitrc.d/ (This is Arch Linux specific) Additional info: * package version(s): xfce4-session 4.16.0-2 Steps to reproduce: 1. Create /etc/X11/xinit/xinitrc.d/01-print-to-tmp.sh: ~~~ #!/bin/sh date >> /tmp/xinitrc-sourced.log ~~~ 2. Start Xfce4 from SDDM. 3. Print /tmp/xinitrc-sourced.log . There are two lines. |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/xfce4-session/issues/2
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/xfce4-session/issues/2
I'm just guessing but probably to support folks who start it manually with xinit? Origin appears to be here [1].
[1] https://bugzilla.xfce.org/show_bug.cgi?id=15440