GUI not visible with a x11 served UI lazarus / 31-LCL ---------------------------------------------------------------------- guest58172 · 2017-05-25 09:08 I basically throw a bottle to the sea. Yesterday someone has left an issue for a software made with Lazarus. The software runs in a particular Linux environment and the GUI is not visible: QuoteWe have a LTSP linux terminal sever environment with (up to 5) small WYSE thin clients on the desktop and just one 8 core 12 GB ram server. So all apps are running on the server and are displayed on a X11.terminal. And the thin clients are booting via LAN. No disks. The reporter also stated that there's no output in the terminal, which is not normal. The most basic Lazarus program outputs something related to GObject. What can i do ? ---------------------------------------------------------------------- JuhaManninen · 2017-05-25 09:31 Is it an LCL application or a plain cmd line program? It is not clear from the explanation. You write about terminal but GObject is part of GTK and GUI applications. AFAIK a cmd line program writes to terminal only when you explicitly tell it to. ---------------------------------------------------------------------- guest58172 · 2017-05-25 09:52 it's an LCL application. The GObject thing is not related it was solely used to illustrate the fact that something is always written to the console when you launch a LCL application from the console. QuoteGLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed is always writen to the console , even for a LCL app. ---------------------------------------------------------------------- guest58172 · 2017-05-25 09:57 x11 protocol allows to serve the UI over the network, which is, i believe, the issue. ---------------------------------------------------------------------- Thaddy · 2017-05-25 12:31 If some idiot does not have QT installed and the QT widgetset is used or the lazarus application is written for GTK or GTK2 and GTK is not installed or ... or the other way around, of course you don't see anything. (But is should crash) Check the platform. Or use a widget set like Ownerdrawn, which targets X11 directly on Linux. ---------------------------------------------------------------------- guest58172 · 2017-05-25 12:39 No the guy has checked rather twice than once that gtk2 runtime libraries are setup. ---------------------------------------------------------------------- Thaddy · 2017-05-25 13:02 Quote from: BBasile on May 25, 2017, 02:39:17 pmNo the guy has checked rather twice than once that gtk2 runtime libraries are setup. If you are using X11 then BOTH computers should have X11 setup. Both as a client and as a server. Can it be the case that one of the computers is setup as a bare bone linux (without X)? And for both QT and GTK you still need X. ---------------------------------------------------------------------- marcov · 2017-05-25 13:19 Or maybe the GTK on the system has been compiled without certain debug features that cause the output. ---------------------------------------------------------------------- guest58172 · 2017-05-25 13:21 No, he got gtk2 vanilla from apt get. ---------------------------------------------------------------------- Thaddy · 2017-05-25 13:23 On BOTH computers?