summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index f5dc1602a..9f0d16f10 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -940,6 +940,7 @@ sub ask_window_manager_to_logout {
'wmaker' => "killall -USR1 wmaker",
);
my $cmd = $h{$wm} or return;
+ $ENV{ICEAUTHORITY} ||= "$ENV{HOME}/.ICEauthority"; #- used by gnome-session
$cmd = "su $ENV{USER} -c '$cmd'" if $wm eq 'kwin' && $> == 0;
system($cmd);
1;