[Lazarus] Built console app on Linux, but won't run on another Linux machine

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Oct 27 16:06:07 CEST 2018

On Sat, 27 Oct 2018 15:35:05 +0200
Bo Berglund via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> (LicMgr:19450): Gtk-WARNING **: cannot open display:
> It should not need a display!

Then remove the gtk dependency. 
Check  Compiler options / Show Options / Inherited Parameters if you
are using the LCL.

If yes then use the Project Inspector, double click on the required
packages to see their dependencies. Or use Package / Package graph to
see the dependencies.

If no, then some unit uses the gtk2 directly. Use "View / Unit
Dependencies" to find out which one.


More information about the Lazarus mailing list