View Single Post
Old 08-12-2009, 06:43 AM   #1
voda
Member
voda began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2009
Device: none
calibre html2epub on linux error cannot connect to X server

Hello,

I'm using the software for the conversion of xhtml to epub. It works great, however I can't get a cover to convert. I get an error message ": cannot connect to X server". The X server is running. I've tried to edit the DISPLAY var.

I'm using ubuntu 9.04 desktop with gnome. I'm trying to convert it with the command line on the desktop as well through ssh. Both ain't working.

The output:
INFO: Parsing ndc/file/123456789_dhahadhda_adhadhsdfjhsfjhfsjfsjsfj.xhtml
INFO: Detected chapter:
INFO: Detected chapter:
INFO: Detected chapter:
INFO: Detected chapter: Colofon
INFO: Detected chapter:
INFO: Processing stylesheet /tmp/calibre_0.4.143_1xp5Ie_html2epub/content/resources/styleboek_0.css...
INFO: Rationalizing fonts...
DEBUG: Done rationalizing
DEBUG: Saving stylesheets...
: cannot connect to X server


Does anyone know what might be the problem?

Many thanks,

Janwillem
voda is offline   Reply With Quote