[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9919332 2/4: Don't attempt to run lmi's GUI i
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9919332 2/4: Don't attempt to run lmi's GUI in any 'lmi_setup_*' script |
Date: |
Sun, 29 Sep 2019 07:32:37 -0400 (EDT) |
branch: master
commit 99193320fd494c23612f3fb8238f01ca9af2f5dd
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Don't attempt to run lmi's GUI in any 'lmi_setup_*' script
These scripts are intended to run unattended.
---
lmi_setup_42.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/lmi_setup_42.sh b/lmi_setup_42.sh
index 0245e8c..668a7fd 100755
--- a/lmi_setup_42.sh
+++ b/lmi_setup_42.sh
@@ -37,7 +37,10 @@ chmod +x install_msw.sh
# Now everything should work much as it does in native msw. To run an
# msw program, prefix its command line with 'wine'. Test the chroot by
-# running the lmi binary built in the preceding step:
+# running the lmi binary built in the preceding step after setting
+# $DISPLAY, manually (not under control of this script, which should
+# run unattended):
-cd /opt/lmi/bin || { printf 'failed: cd\n'; exit 3; }
-wine ./lmi_wx_shared.exe --ash_nazg --data_path=../data
+# export DISPLAY=":0.0"
+# cd /opt/lmi/bin || { printf 'failed: cd\n'; exit 3; }
+# wine ./lmi_wx_shared.exe --ash_nazg --data_path=../data