Linux Runtime on Headless Server
Posted: Fri Aug 22, 2014 9:58 pm
Forum,
I've used LiveCode to create a simple utility program that I want to run on a headless 64 bit Ubuntu 12.04 server in a cron job daily.
The program simply opens the database and modifies a table value and closes the stack. Nothing much to it and it works fine on my Ubuntu development server that has a full GUI installed.
However when I upload it to the target 64bit VPS set the privileges to execute and try to run it I get the following error message:
$ ./FreeConnections < /dev/null > /dev/null
$ Can't open display
Do I need to install the full graphics library on the server to to be able to run this utility program?
I do have LiveCode server running on the Ubuntu 64bit server and have installed the 32-bit libraries with the following command.
$ sudo apt-get install ia32-libs
I must be missing some libraries. Though I could just send the output to /dev/null
Thanks for the help.
Dan
I've used LiveCode to create a simple utility program that I want to run on a headless 64 bit Ubuntu 12.04 server in a cron job daily.
The program simply opens the database and modifies a table value and closes the stack. Nothing much to it and it works fine on my Ubuntu development server that has a full GUI installed.
However when I upload it to the target 64bit VPS set the privileges to execute and try to run it I get the following error message:
$ ./FreeConnections < /dev/null > /dev/null
$ Can't open display
Do I need to install the full graphics library on the server to to be able to run this utility program?
I do have LiveCode server running on the Ubuntu 64bit server and have installed the 32-bit libraries with the following command.
$ sudo apt-get install ia32-libs
I must be missing some libraries. Though I could just send the output to /dev/null
Thanks for the help.
Dan