check unsetting of DISPLAY, remove chmod'ing that's obsolete