Installing Lightburn on Ubuntu 16.06 - won't run

linux

(Lindsay Morris) #1

I have Ubuntu 16.06 running on a 2007 Mac Mini.
I downloaded the linux version;
I unarchived it keeping the driectory (folder) structure;
I see a “lightrun” file that’s executable, but when I right-click and say “Run”, nothing happens: no screen, no error message.
I also see an Apprun executable file, but that also does nothing when I try to run it.

Both of them are marked as “Execute: Allow executing file as program” under Permissions.

I’ve searched forums and the web - no joy yet - hope you can help.
Thanks.


(Isaac Barbary) #2

The only thing I can think of is that the permissions are incorrect. Are you certain it is flagged executable? Can you post a screenshot of the permissions?


(Clinton Paris) #3

You might open up a terminal and try to run it from the command line:

$ cd ~/Lightburn
$ ./AppRun

If there is something happening, you should get messages logged to the terminal.

I had to run it as root to have Lightburn be able to talk to my laser controller, so you can try that:

$ cd ~/Lightburn
$ sudo ./AppRun

If you get any messages on the terminal, please let us know! :slight_smile:


(Lindsay Morris) #4

From Terminal (great suggestion, thanks):

makerspace@makerspace:~/LightBurn$ ./LightBurn
bash: ./LightBurn: cannot execute binary file: Exec format error
makerspace@makerspace:~/LightBurn$ file LightBurn
LightBurn: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib, for GNU/Linux 2.6.32, BuildID[sha1]=730ff70ff6f4cea55b385378cb6f2b99e978f626, not stripped
makerspace@makerspace:~/LightBurn$ arch
i686

Googling around suggests that I need a 32-bit version. Ubuntu System Details does indeed say “32-bit”. Can I get a Linux 32-bit version of Lightburn?
I’ll also look at installing 64-bit Linux, but this is a 2006 Mac Mini, so…


(Lindsay Morris) #5

All the other executables on this Ubuntu install are compiled 32-bit, for example:
makerspace@makerspace:/bin$ file netstat
netstat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib, for GNU/Linux 2.6.24, BuildID[sha1]=9ad13c1be59f31f0dc38963001862b63c1078507, stripped

So I need a 64-bit Linux in order to run Lightburn.
The problem (and solution) for installing 64-bit Linux distros on a 2006 Mac Mini is documented here: https://mattgadient.com/2016/07/11/linux-dvd-images-and-how-to-for-32-bit-efi-macs-late-2006-models/
So I’m trying that next.


(Lindsay Morris) #6

Hey, that worked!
I now have Ubuntu 18.04 running; downloaded and un-archived Lightburn for Linux, clicked Apprun (or Lightburn) and it woke right up!

Minor problem: the lightburn window is a little too tall for my old 768-pixel-high monitor. And I can’t seem to shrink it. I’ll just move to a bigger monitor I guess.


(Isaac Barbary) #7

Ah, wrong bit width. That would do it.


(Oz) #8

You can change the window stacking to make it shorter, but LightBurn wasn’t meant for a display that small I’m afraid. Drag the Laser window off the side bar and then over the middle of the “Cuts” list until it changes color and that should help.