Created attachment 7960 [PATCH] Fix xfwm4 launch in xinitrc When not using xfce4-session, the /etc/xdg/xfce4/xinitrc script runs the commands in the bottom half of the script. Unfortunately, the script now hangs because of the "xfwm4 --daemon" command - the "--daemon" parameter has been deprecated and the command hangs the script. Attached is a patch that changes the command to "xfwm4 &" to allow it to start and the script to continue.
Why would anyone run XFCE without xfce4-session? Just curious, as it appears to be an essential component.
Same question here: I can't get how you can trigger the "else" (no xfce4-session found: https://git.xfce.org/xfce/xfce4-session/tree/scripts/xinitrc.in.in#n106) part of the xinitrc, because the xinitrc file IS provided by xfce4-session. It seems to be only a legacy case, before the introduction of xfce4-session. Initially, startxfce4/xinitrc were provided by a 3rd party package (xfce-utils), that's why you can have a pattern where you run xinitrc without xfce4-session, see https://git.xfce.org/archive/xfce-utils/commit/scripts/xinitrc?id=a150f6ea431db96b9d62d1311540445e93585038 / https://git.xfce.org/archive/xfce-utils/commit/scripts/xinitrc?id=a676916665d742cc25ed780e563c0d5aea99d0b0 However, since 4.8 or 4.10, it is merged in xfce4-session: https://git.xfce.org/xfce/xfce4-session/commit/?id=6d37293024adbbeb205246d1377b5420e6c6f485 So I +1 the removal of the part which handle the "no xfce4-session" in xinitrc.
I see no point maintaining this stuff in shell when we have proper C code.
The bug report was created as a result of this forum thread: https://forum.xfce.org/viewtopic.php?id=12425. Currently, it is possible to disable xfce4-session (although kludgy) and have a working environment. There must have been a reason originally to create the option, but the question as to whether this should continue to be supported is a good one.
Romain Bouvier referenced this bugreport in commit a7a413a6f3644d052a504a6a0e286f28053920b1 xinitrc: Remove fallback path when xfce4-session is not installed https://git.xfce.org/xfce/xfce4-session/commit?id=a7a413a6f3644d052a504a6a0e286f28053920b1
*** Bug 14187 has been marked as a duplicate of this bug. ***