I compiled wkhtmltopdf from source on Ubuntu 64bit server 10.04 as described in manual. When I try to convert it exits with an error message:
wkhtmltoimage: cannot connect to X server
There is X server installed but not running. If I download already built version it is working but sometimes throws "Segmentation fault" exception.
So how to make compiled from source version work?