QXcbConnect: Could not connect to display

Bug #1681260 reported by Luis Machado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

I loged into my Ubuntu 16 server using ssh and an xterm.

From this xterm I run the following command;

calibre -v --with-library=/media/xxxx/calibre-lib

getting the following error message:

QXcbConnect: Could not connect to display
Aborted (Core Dump)

If I run the same command from an xterm opened in my graphical environment, the command works.

I understand that this command might not be supposed to be used the way I'm trying to use it, so the question is how to start calibre remotely without opening my graphical environment (Xwindos, XCFE, etc.).

Or at least, is there a way to start the web server associated with Calibre without starting Calibre?

thanks, great application.

Luis

<email address hidden>

Revision history for this message
Eli Schwartz (eschwartz) wrote : Re: [Bug 1681260] [NEW] QXcbConnect: Could not connect to display

calibre can start the web server on its own via `calibre-server`, and in
order to run the GUI, or indeed any piece of software that needs a
display, you will need to use SSH X forwarding.

calibre has a complete command-line interface to everything available in
the GUI, see
https://manual.calibre-ebook.com/generated/en/cli-index.html for details.

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.