summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-04 15:04:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-04 15:04:26 +0000
commitc869d939eed6726e4b776dea3583aba903992b0c (patch)
treedaae53fc8e8c7d44aac18506f9b909d04e3ec5df /move
parenta04b08259e18a9a48c61869987606cee0f61c698 (diff)
downloaddrakx-backup-do-not-use-c869d939eed6726e4b776dea3583aba903992b0c.tar
drakx-backup-do-not-use-c869d939eed6726e4b776dea3583aba903992b0c.tar.gz
drakx-backup-do-not-use-c869d939eed6726e4b776dea3583aba903992b0c.tar.bz2
drakx-backup-do-not-use-c869d939eed6726e4b776dea3583aba903992b0c.tar.xz
drakx-backup-do-not-use-c869d939eed6726e4b776dea3583aba903992b0c.zip
Xsession should be run with cwd as $HOME (fixes mountloop not working when giving relative path for secure directory)
Diffstat (limited to 'move')
-rw-r--r--move/move.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index 4434204f2..c449a6c06 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -640,6 +640,7 @@ sub install2::startMove {
$ENV{SHELL} = $shell;
$ENV{XDM_MANAGED} = '/var/run/rebootctl,maysd,mayfn,sched'; #- for reboot/halt availability of "logout" by kde
$ENV{GDMSESSION} = 1; #- disable ~/.xsession-errors in Xsession (waste of usb key writes)
+ chdir;
exec '/etc/X11/Xsession', 'KDE'; #- call it with KDE parameter to keep background
} else {
exec 'xwait', '-permanent' or c::_exit(0);