Never had the issue before, and I refuse to use debs, etc. because of the ridiculous dependancies on X.
screen -D -m $WINE LFS.exe /cfg=$CFGFILE & echo $! > $PIDFILE
#!/bin/bash
Xvfb :1 &
pid=$!
export DISPLAY=:1
WINEDEBUG=-all wine ./LFS.exe /cfg=setup.cfg "$@"
kill $pid
nodelay(stdscr, TRUE);
nodelay(stdscr, FALSE);