Hi - I’m also attempting to run Defold from an HP Chromebook. (Previous thread on this subject: Can you dev with Defold on a Chromebook? - #48 by britzl has not been updated in a while, so I’m starting anew.)
The Chromebook is an amd64. The CPU on my unit has four cores, each a Pentium Silver N5030, with about 3.88 GB of memory. The developer area is 10 GB Debian:penguin linux. The Chromebook as a whole has about 75 GB.
I’ve expanded the Defold download zip into a folder ~/Defold, and am able to run the editor. There are a few warnings that crop up when I run ./Defold:
2025-05-17 05:39:50.272 WARN default javafx - Unsupported JavaFX configuration: classes were loaded from 'unnamed module @559ca876'
Also, when checking for updates and a couple other actions, I get the following message:
XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
I went ahead and loaded the Side Scroller Tutorial - Defold 1.10.1 and as far as I can tell, all the assets and code seem to be there. But there were a couple error messages in the console pertaining to programs that could not be run:
java.io.IOException: Cannot run program "git" (in directory "/usr/bin"): error=13, Permission denied
java.io.IOException: Cannot run program "/home/philfrei/.local/state/Defold/unpack/d8e6e73a8efac6b9a72783027867e547b6a363e4/x86_64-linux/bin/lsp/lua/bin/lua-language-server" (in directory "/home/philfrei/Side scroller tutorial"): error=13, Permission denied
The attempt to compile and run the tutorial elicits the following error (followed by many other errors):
/_defold/debugger/start.lua Cannot run program "/home/philfrei/.local/state/Defold/unpack/d8e6e73a8efac6b9a72783027867e547b6a363e4/x86_64-linux/bin/luajit-64": error=13, Permission denied
The git-related files in /usr/bin have the following ownership and functionality:
philfrei@penguin:~/Defold$ ls -l /usr/bin/git*
-rwxr-xr-x 1 root root 3713416 Jan 11 11:46 /usr/bin/git
lrwxrwxrwx 1 root root 3 Jan 11 11:46 /usr/bin/git-receive-pack -> git
-rwxr-xr-x 1 root root 2141792 Jan 11 11:46 /usr/bin/git-shell
lrwxrwxrwx 1 root root 3 Jan 11 11:46 /usr/bin/git-upload-archive -> git
lrwxrwxrwx 1 root root 3 Jan 11 11:46 /usr/bin/git-upload-pack -> git
For the start.lua error, the permissions on luajit-64 are the following:
philfrei@penguin:~/.local/state/Defold/unpack/d8e6e73a8efac6b9a72783027867e547b6a363e4/x86_64-linux/bin$ ls -l
total 24128
-rwxr--r-- 1 philfrei philfrei 24071064 May 15 11:14 dmengine
drwxr-xr-x 1 philfrei philfrei 6 May 15 11:14 lsp
-rwxr--r-- 1 philfrei philfrei 633840 May 15 11:14 luajit-64
I don’t understand why these programs are not permitted to run. Any thoughts on what to try?
I’m happy to provide more info from the cli if requested.
FWIW, the GUI is quite responsive, as far as inspecting the items, or displaying the tutorial text. I’ve also had success doing some Java/OpenJFX programming with this setup. Mostly, this is for my commutes (which take a little over an hour each way on public transit).
Thanks!