From 4ef6ebebbdce867398e7f8dcddf26ee12c9869ab Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 25 Jun 2011 05:03:44 +0000 Subject: * sman/sman.c (main): Don't start the graphics and no X11 server is running. --- src/ChangeLog | 5 +++++ src/sman/sman.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * sman/sman.c (main): Don't start the graphics and no X11 server + is running. + 2011-06-23 Gabriel Dos Reis * 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) { -- cgit v1.2.3