Page 1 of 1

Running Rev2.9rc2 on JaguarPC/Debian - blank screen

Posted: Tue Mar 25, 2008 11:35 pm
by gcbrackett
I've set up a domain on JaguarPC with Debian Linux, and put a very simple .cgi script in the cgi-bin directory:

#!revolution

on startup
put "Content-Type: text/plain" & cr & cr
put "Hello World!"
end startup

The revolution engine is the rc2 linux standalone in the same directory as the script. All line endings are unix, all permissions are 755. No error is generated, but all I get is a blank screen in the browser. A Perl cgi script in the cgi-bin directory executes fine.

If I use ssh to log in and execute revolution, I get
xxxxxxx# ./revolution
xxxxxxx/cgi-bin/rev/revolution: Can't open display

Any ideas gratefully accepted! Oh, the libraries libX11-6 and libxext6 are installed in their latest version.

Posted: Tue Mar 25, 2008 11:46 pm
by malte
hi,

the new engine needs to start -ui, so the first line of your script should read:

#!revolution -ui

that should do the trick

Hth,

Malte

Thanks!

Posted: Wed Mar 26, 2008 1:37 am
by gcbrackett
That did it! I appreciate your help very much!