From e6efa0fcc929e88f038d0a543310681700d0b4d7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Jun 2018 00:59:37 -0400 Subject: bin/xsession: Ensure DISPLAY is set --- (limited to 'bin/xsession') diff --git a/bin/xsession b/bin/xsession index 4166354..f1547ce 100755 --- a/bin/xsession +++ b/bin/xsession @@ -104,6 +104,8 @@ main() action="${1}" shift 1 + read -r DISPLAY 0<~/.xdisplay + case "${action}" in 'logout' | 'shutdown' | 'reboot' | 's2mem' | 's2disk') "do_${action}" -- cgit v0.9.1