need help with xvfb-run (xauth not found)
Hello,
I have a server setup with apache 2.4 and php-fpm 5.4. My application executes xvfb-run via php to get the screenshot of a website using CutyCapt. The problem is with php-fpm if I run the command I get an error like the following: Code:
xvfb-run: error: xauth command not found |
In your script try define the path for "xvfb-run" and "CutyCapt". Check also if your an "apache" user.
Good luck. m.m. |
I was able to fix this by commenting the lines where xvfb-run was checking for xauth. Turns out this issue is only on php-fpm. I now have another issue, I keep getting the following warnings which is breaking my application:
Code:
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri) edit: fixed this as well, had to install mesa-dri-drivers |
Quote:
|
I followed this guy: http://vinh-tran.tumblr.com/post/509...un-error-xauth
|
Thank you
Now it works |
PHP-FPM cleans all environment variables, thus PATH needs to be populated for xvfb-run to find xauth:
You need to put: Quote:
|
All times are GMT -5. The time now is 10:27 PM. |