Use correct binary for the KDE Plasma session (#1954847)

This changes Xsession and Xclients to call to the KDE Plasma X11
session binary directly, rather than assuming that "startkde" will
start an X11 session.
This commit is contained in:
Neal Gompa 2021-04-29 19:32:41 -04:00
parent f2caebdf90
commit 9a3b27705c
3 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,7 @@
GSESSION="$(type -p gnome-session)"
MSESSION="$(type -p mate-session)"
STARTKDE="$(type -p startkde)"
STARTKDE="$(type -p startplasma-x11)"
STARTLXDE="$(type -p startlxde)"
# check to see if the user has a preferred desktop

View File

@ -60,8 +60,8 @@ case $# in
exec -l $SHELL -c gnome-session
exec /bin/sh -c "exec -l $SHELL -c \"gnome-session\""
;;
kde|kde1|kde2)
exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startkde\""
kde|kde1|kde2|kdeplasma)
exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startplasma-x11\""
;;
twm)
# fall back to twm

View File

@ -3,7 +3,7 @@
Summary: X.Org X11 X Window System xinit startup scripts
Name: xorg-x11-%{pkgname}
Version: 1.4.0
Release: 9%{?dist}
Release: 10%{?dist}
License: MIT
URL: https://www.x.org
@ -119,6 +119,9 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa
%{_datadir}/xsessions/xinit-compat.desktop
%changelog
* Thu Apr 29 2021 Neal Gompa <ngompa13@gmail.com> - 1.4.0-10
- Use correct binary for the KDE Plasma session (#1954847)
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild