nowsprinting / diff-pdf-action

Using vslavik/diff-pdf on GitHub Actions workflow
MIT License
9 stars 3 forks source link

Error: Unable to initialize GTK+ #9

Open nowsprinting opened 2 years ago

nowsprinting commented 2 years ago

Output following error messages when run container. However, there is no problem.

Unable to init server: Could not connect: Connection refused
01:20:19: Error: Unable to initialize GTK+, is DISPLAY set properly?

solution 1

Use Xvfb.

solution 2

Add headless-mode option into diff-pdf.

gurkanucar commented 2 months ago

Hi, thanks for sharing. I got same error. How can i apply solution? Can you help me please? Where should i add headless-mode option?