Set DISPLAY before invoking xinit (miura)

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka committed 2008-10-06 14:33:13 -03:00
1 parent 29ab953a87
commit 85fedac866
1 file changed
+1
+1
View File
@@ -529,6 +529,7 @@ int main()
/* Prevents bash from running loadkeys */
unsetenv("TERM");
setenv("DISPLAY", ":0", 1);
while (access("/tmp/shutdown", F_OK) < 0) {
_d("start X as %s\n", username);