Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Gtk-WARNING **: cannot open display: 8 years 2 months ago #9885

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Hello everybody.

I created console application (LINUX x64), compiled it, and tried to run in other PC, without X.
I got message:
root@delphiec:/# /api

(api:17899): Gtk-WARNING **: cannot open display:

And program don't start.

Please Log in or Create an account to join the conversation.

Gtk-WARNING **: cannot open display: 8 years 2 months ago #9886

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
GTK2 request X (same for GTK3, QT4 and QT5 platforms)

use "nogui" platform, for app without graphics "Console Application"

look at
C:\codetyphon\CodeOcean\Generics\samples
are all "nogui", "Console Applications"

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Gtk-WARNING **: cannot open display: 8 years 2 months ago #9887

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Yes, that way and created.
But it doesn't work.

Please Log in or Create an account to join the conversation.

Gtk-WARNING **: cannot open display: 8 years 2 months ago #9908

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
It's happens when I add "interfaces" module in my project.
What can I do?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1