command-line/CGI Revolution engine questions
Steve Gehlbach
steve at nexpath.com
Mon Sep 1 14:19:00 EDT 2003
Alex Rice wrote:
> # chmod +x fu.rev
> # ./fu.rev
>
> external startup
> mc: Can't open display
> mc: Can't load stack or script ./fu.rev
I've never tried it on linux. Check "echo $DISPLAY" and see if the
display is set.
It can usually be solved by:
# export DISPLAY=":0.0"
The shell may not like this, so you can also use:
# DISPLAY=":0.0"; export DISPLAY
The full form is DISPLAY="<systemname>:0.0" but it will default to the
local system if the system name is left out.
Nothing will work after the error about not being able to open the display.
(This is the way it is done on Linux, I assume OS X is running X-Windows
but maybe not!).
-Steve
More information about the use-livecode
mailing list