[Bug 256648] x11/sddm enhance xinit-session for 'User Session' to work in the absence of ~/.xinitrc
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 16 17:00:34 BST 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256648
Graham Perrin <grahamperrin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://cgit.freebsd.org/po
| |rts/tree/x11/sddm/files/xin
| |it-session
CC| |grahamperrin at gmail.com
--- Comment #1 from Graham Perrin <grahamperrin at gmail.com> ---
With /usr/local/share/sddm/scripts/xinit-session experimentally reduced to a
single line:
exec startx
– things were less successful. My test results were not entirely conclusive,
but it's possible that _none_ of the tests led to a usable xterm window.
----
Instead, from <https://invent.kde.org/-/snippets/1713>
(fallback in xinit-session):
#!/bin/sh
#
# Runs the user's .xinitrc (at this point, .xsession has already
# been sourced).
RC="$HOME/.xinitrc"
if [ ! -f "$RC" ] ; then
RC=/usr/local/etc/X11/xinit/xinitrc
fi
test -x "$RC" && exec "$RC"
test -f "$RC" && exec /bin/sh "$RC"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list