Author Topic: Running "Blockland.exe -dedicated" in tmux on remote Linux server?  (Read 1973 times)

I've done this before without using xvfb. That was a long time ago though.

I know it's possible without opening an X window, I just forgot how to do it.

I'd rather not install xvfb if it's not completely necessary.

Then try without the xvfb-run wrapper (generally improves compatibility with TGE on Linux). The main difference is `wineconsole --backend=curses ...` instead of `wine ...`.

It gave me this repeated like three times.
Code: [Select]
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.

Before v21, there used to be something you could add to the Blockland desktop shortcut to enable the mission editor, i can't remember what it is, but i think it was something like adding -mod editor after the path to the exe file

Before v21, there used to be something you could add to the Blockland desktop shortcut to enable the mission editor, i can't remember what it is, but i think it was something like adding -mod editor after the path to the exe file

Yes - Blockland shipped with an archive named "editor.zip" in the root directory. -mod <name> (since then removed IIRC) executes <name>/main.cs as a part of startup, which ends up with the editor being loaded.

wineconsole --backend=curses tries to open a window.

Anything I can do about this?


That uses xvfb, and I want to use tmux, not screen.

Alright, I gave up and ran it with xvfb-run. Same outcome. It tried to open a window, but it couldn't.

Alright, I gave up and ran it with xvfb-run. Same outcome. It tried to open a window, but it couldn't.
If you're giving up on tmux, then try my script. It should work.

If you're giving up on tmux, then try my script. It should work.
Alright, It works. Locking.