From d1ba3d043f6146cfe82365b271f7be79e6145712 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') 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