[Qtwebengine] How do I run web engine on a sever without a display?

Florian Bruhin me at the-compiler.org
Tue Dec 8 07:35:54 CET 2015

* Nemo <377307289 at qq.com> [2015-12-08 14:30:54 +0800]:
> My method come from this post: https://forum.qt.io/topic/50228/solved-qtwebengine-headless.

The answer there is just plain wrong ;)

> I have test it use terminal under ubuntu with GUI, but it will output the same error as yours when I switch to text interface with CTRL+ALT+F1. I am sorry, and I am confused.

Yeah, because the GUI terminal will also have an X server available
(see echo $DISPLAY), but the text terminal won't.


http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20151208/b8f45e15/attachment.sig>

More information about the QtWebEngine mailing list