aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-25 05:03:44 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-25 05:03:44 +0000
commit4ef6ebebbdce867398e7f8dcddf26ee12c9869ab (patch)
treed355f8b6372956c1f1e80f0933bead352335d82e
parentb482b8dde1493be19a01c6a53cf5e9e17510d7a8 (diff)
downloadopen-axiom-4ef6ebebbdce867398e7f8dcddf26ee12c9869ab.tar.gz
* sman/sman.c (main): Don't start the graphics and no X11 server
is running.
-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) {