Page 1 of 1

Headless installation?

Posted: Sat Jun 07, 2014 12:59 am
by hwbehrens
I'm trying to get a LiveCode standalone with a UI (that I don't care about) running on a virtualized, headless Linux server, but I'm not having much luck. I've determined that if I can get the IDE installed, the standalone will work fine. My server instance may only use one of the following options:
  • CentOS 6.5 x64
  • Debian 7 x64 (tried it)
  • Fedora 20 x64
  • Ubuntu Server 14.04 x64 (tried it)
I'm willing to use whatever window manager I need to get it working. So far, I've tried:
  • gnome
  • kde
  • unity
  • xfce
I was successful in a conversion from Ubuntu Server 14.04 x64 that I installed on a local machine, swapped over to Xubuntu Desktop via tasksel. However, replicating the same steps doesn't produce the same results on the remote system.

I'm remoted into the system using xrdp for visual interaction, although I'm doing most of the work over ssh. I *believe* that the issues may be related to the fact that it's a headless virtualized machine (it seems like the LC installer is polling for hardware data that doesn't exist), but I'm not sure. xrdp is showing me things, so it's theoretically POSSIBLE that it should see that virtual display, right?

32-bit libs are installed, installer is being run as root with the appropriate permissions, I mv'd the file to installer.x86 for brevity (tab autocompletion wasn't working over xrdp).

Ubuntu errors (removed duplicate lines for brevity):

Code: Select all

(installer.x86:4191): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(installer.x86:4191): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(installer.x86:4191): Gdk-CRITICAL **: IA__gdk_colormap_new: assertion 'GDK_IS_VISUAL (visual)' failed
(installer.x86:4191): Gtk-CRITICAL **: IA__gtk_widget_set_colormap: assertion 'GDK_IS_COLORMAP (colormap)' failed
(installer.x86:4191): Gdk-CRITICAL **: IA__gdk_gc_set_colormap: assertion 'GDK_IS_COLORMAP (colormap)' failed
(installer.x86:4191): Gdk-WARNING **: gdk_gc_set_rgb_fg_color() and gdk_gc_set_rgb_bg_color() can
only be used on GC's with a colormap. A GC will have a colormap
if it is created for a drawable with a colormap, or if a
colormap has been set explicitly with gdk_gc_set_colormap.
(installer.x86:4191): Gtk-CRITICAL **: IA__gtk_paint_box: assertion 'style->depth == gdk_drawable_get_depth (window)' failed
/home/nonadmin/Downloads/installer.x86 exiting on signal 11
On Debian, they're similar:

Code: Select all

(installer.x86:4278): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64
(installer.x86:4278): Gdk-CRITICAL **: IA__gdk_colormap_new: assertion `GDK_IS_VISUAL (visual)' failed
(installer.x86:4278): Gtk-CRITICAL **: IA__gtk_widget_set_colormap: assertion `GDK_IS_COLORMAP (colormap)' failed
(installer.x86:4278): Gdk-CRITICAL **: IA__gdk_gc_set_colormap: assertion `GDK_IS_COLORMAP (colormap)' failed
(installer.x86:4278): Gdk-WARNING **: gdk_gc_set_rgb_fg_color() and gdk_gc_set_rgb_bg_color() can
only be used on GC's with a colormap. A GC will have a colormap
if it is created for a drawable with a colormap, or if a
colormap has been set explicitly with gdk_gc_set_colormap.
(installer.x86:4278): Gtk-CRITICAL **: IA__gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
/home/nonadmin/Downloads/installer.x86 exiting on signal 11
Any suggestions?

Re: Headless installation?

Posted: Fri Jun 20, 2014 8:52 am
by MaxV
Did you installed libgtk2.0-0:i386 ? :?:

Re: Headless installation?

Posted: Fri Jun 20, 2014 8:53 am
by MaxV
However never install Livecode as root, it creates a lot of permission problems...