2

I'm using comparepdf (installed from ubuntu apt) to run automated tests which works fine on my desktop, but not on the server, the error returned is:

comparepdf: cannot connect to X server

This surprised me as I assumed comparepdf is a CLI tool, it doesn't have a GUI. But perhaps in the background it renders PDFs for comparison, for which it needs a GUI.

So what is the most minimal package I can install that might satisfy comparepdf?

5
  • 1
    SOLVED: Using xvfb (virtual x-server) as per here worked Mar 9, 2017 at 9:41
  • 2
    Please answer your own question and mark it as your accepted answer.
    – EEAA
    Mar 9, 2017 at 13:48
  • 1
    SOLVED: Using xvfb (virtual x-server) as per below worked askubuntu.com/questions/64820/… Mar 13, 2017 at 11:45
  • trivial answer converted to comment?? Mar 13, 2017 at 11:45
  • :) Yeah you can answer your question.
    – roizpi
    May 7, 2018 at 17:54

0

You must log in to answer this question.

Browse other questions tagged .