summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmove/make_live4
-rw-r--r--move/move.pm3
2 files changed, 6 insertions, 1 deletions
diff --git a/move/make_live b/move/make_live
index cb345525d..6a130c3a4 100755
--- a/move/make_live
+++ b/move/make_live
@@ -161,3 +161,7 @@ substInFile {
#- Xsession wants to start first-time
unlink "$::prefix/usr/X11R6/bin/drakfw";
+
+substInFile {
+ s|startkde|startkde_move|;
+} "$::prefix/etc/X11/wmsession.d/01KDE";
diff --git a/move/move.pm b/move/move.pm
index 67f65be88..f065e3086 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -604,7 +604,8 @@ sub install2::startMove {
$ENV{HOME} = $home;
$ENV{SHELL} = $shell;
$ENV{XDM_MANAGED} = '/var/run/rebootctl,maysd,mayfn,sched'; #- for reboot/halt availability of "logout" by kde
- exec 'startkde_move';
+ $ENV{GDMSESSION} = 1; #- disable ~/.xsession-errors in Xsession (waste of usb key writes)
+ exec '/etc/X11/Xsession', 'KDE'; #- call it with KDE parameter to keep background
} else {
exec 'xwait' or c::_exit(0);
}