Hi all, Cannot open X display "(not specified)".
Xlib: connection to "localhost:0.0" refused by server Xlib: No protocol specified Cannot open X display "localhost:0".
vimo - Tue Nov 03 09:18:27 EST 2009 |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable string Number() {return number(obj) } Because it uses the pre-defined 'obj' variable which is not defined in Batch mode. Anyway, you are doing something that requires a display set, and either should not do that or you need to patch it up. For example, if you add 'Object obj' above that function above, then it will indeed interpret.
|
Re: How to run doors -batch on unix/linux without DISPLAY environment variable llandale - Tue Nov 03 12:50:28 EST 2009
Thanks a lot for your advice. Indeed my script do not use display interface and do not use such pre-defined variable, it only change some rigths on folders and modules. I think it is only a matter of DISPLAY on Linux. Unix-like clients use MainWin interface to execute on X11 graphical environement. This is an experience for old Unix-like users because it is no more supported as far as I know. Does anybody have such experience? regards, Vincent |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable I remember this problem from a few years ago. It depends on the using of Mainwin framework as you have written already. My workaround to run the batch scripts on Solaris was to temporarly start a VNC X-server. The advantage of using VNC was, that it runs in user mode and also generates no output ;-)) http://www.realvnc.com/products/free/4.1/man/Xvnc.html I hope that helps you to getting on ;-) Greetings Reik |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable SystemAdmin - Tue Nov 10 15:19:46 EST 2009 /Kristian |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable SystemAdmin - Thu Nov 12 03:25:34 EST 2009 WINE 1.1.19 DOORS 8.0 OS: I've had it working on any Ubuntu dist since 8.10, should work in any Linux platform I would think. It requires some sort of x windows to work correctly but you can just use Xvfb a if you just want to run it in batch mode like we are doing. |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable I search help with my Linux admin guys for use your vnc or wine suggestions. As you asked, we use Doors 8.0 on Linux RedHat 5 server both server and client. Thanks for your help Vincent |
Re: How to run doors -batch on unix/linux without DISPLAY environment variable vimo - Mon Nov 16 11:26:35 EST 2009 Great thanks Vincent |