aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/sman/sman.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7d479cbf..a938ae89 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * sman/sman.c (main): Don't start the graphics and no X11 server
+ is running.
+
2011-06-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/command.cc (build_rts_options) [clozure_runtime]: Request
diff --git a/src/sman/sman.c b/src/sman/sman.c
index 048b7cd2..58f365e8 100644
--- a/src/sman/sman.c
+++ b/src/sman/sman.c
@@ -777,7 +777,8 @@ main(int argc, char *argv[])
if (start_spadclient) start_the_spadclient();
if (start_local_spadclient) start_the_local_spadclient();
if (start_ht) start_the_hypertex();
- if (start_graphics) start_the_graphics();
+ if (start_graphics and is_X())
+ start_the_graphics();
openaxiom_sleep(1);
if (fork_you(Die) != NULL) {