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/sman/sman.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sman') 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