Dear Sir;
We are in trouble with X server.
1. We try to call an application program in C from browser using a PHP
program.
2. The following is a HTML program which include a PHP program:
<html>
<head>
<title></title>
</head>
<body>
<?php
system("./xsheet");
?>
</body>
</html>
3. The PHP program calls our application program.
4. The application program is written in C which uses X window subroutines.
5. The problem is that although the C program is correctly called by the
PHP program, the X window subroutine cannot be executed. The following
shows start of the application:
Prosheet begins, now...
6. However, X window subroutines are stopped and we get a message that
the PHP program finished.
7. The following is the message in error_log:
Initwindows:cannot connect to X server
8. The trouble must be a very elementary one. However, we are completely
at a loss. Could you suggest a solution for the problem?
The version of XFree86: 4.3.0(Red Hat Linux release: 4.3.0-2).
XFree86.0.log
Description: Binary data

