Traintastic AppImages

Hi all,

I have built AppImages for Traintastic. It is sufficient to download the appropriate AppImage and run it. Three different AppImages are available:

  • traintastic-client
    Contains only the client

  • traintastic-server
    Contains only the server

  • traintastic
    Contains both server and client

It is recommended to use the combined server and client version. The AppImage only needs to be saved in any directory and then executed. You may also have to set the executable flag, chmod u+x <appimage>

When started, the server is launched first, followed shortly by the client. If configuration data for the model railway already exists, it will be used. The AppImage accesses the directory

$HOME/.config/traintastic-server

and loads the data from there. If the directory does not yet exist, it will be created automatically.

Versions are available for two architectures:

  • x86_64 for Linux PCs
  • arm64 for Raspberry Pi 4 or 5 running 64-bit Raspberry Pi OS

The x86_64 version is built on MX Linux (based on Debian 12 “Bookworm”).
The arm64 version is built on Raspberry Pi OS (based on Debian 13 “Trixie”).

The AppImage contains the current Traintastic 0.4.0 developer version (build #2014):
https://traintastic.org/en/download/develop

AppImages have the advantage of including all required dependencies, meaning no installation is necessary. This allows Traintastic to be tested or used directly without modifying the system. Currently it’s available from my site.

Greetings, Tom

Hi Tom,

i could not get to run the appimage on my linux pc on debian trixie.

~/Applications$ chmod u+x traintastic-0.4.0-2014-x86_64-dev.AppImage
~/Applications$ ./traintastic-0.4.0-2014-x86_64-dev.AppImage
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimal.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvnc.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-egl.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqlinuxfb.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqeglfs.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvkkhrdisplay.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimalegl.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-generic.so:
Plugin uses incompatible Qt library (6.8.0) [release]
qt.qpa.plugin: Could not find the Qt platform plugin “xcb” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

/tmp/.mount_traintpdBOce/AppRun: Zeile 13: 18072 Abgebrochen “$HERE/usr/bin/traintastic-client” “$@”

You may have a hint for me to get it run?

I want to test traintastic

Hi!

please try iit with the build number 2015 from the Traintastic site. As I wrote is my AppImage build on Bookworm, I have to test if the errors could be resolved with a env parh for the QT Libs.

Greetings, Tom

Hi @netphoner,

Welcome to the forum!

You can find the automaticly build AppImage’s at Traintastic development builds

We’re still working on finetuning the AppImage’s, so thank you for testing and helping!

Greetings,
Reinder

Moin Reinder,

I suspect the Qt libraries are being loaded from the system instead of the AppImage, and that the Qt path needs to be set using an environment variable. I’ll try that later. I just need to install a VM with Trixie first. Another test must be done, if Trixie installs with Wayland instead X11. The KiCad AppImage, as example, required X11.

Greetings, Tom

Hi Reinder, hi Tom,

thank you for the welcome in your Forum.

On this day I hat try to test all the Appimages you have recommended on 3 different linux PC. 2 are with Debian Trixie and X11 and one with Debian Sid also X11 .

All tests are with the same result. No Image is running.

The I setup a fresh Ubuntu VM.

~/traintastic$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 26.04 LTS
Release: 26.04
Codename: resolute

also the same:

./traintastic-0.4.0-2015-x86_64.AppImage
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqeglfs.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvnc.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvkkhrdisplay.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqlinuxfb.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimal.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.core.plugin.loader: In /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimalegl.so:
  Plugin uses incompatible Qt library (6.10.0) [release]
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

/tmp/.mount_traintFHCAMK/AppRun: Zeile 13: 12175 Abgebrochen                (Speicherabzug geschrieben) "$HERE/usr/bin/traintastic-client" "$@"

other Appimages running without problems, only traintastic not ;(

but I donÂŽt give up:

Then i tried to INSTALL Traintastic but it also donÂŽt work:

sudo apt install ./traintastic-client_0.3.1~ubuntu~noble_amd64.deb
Hinweis: »traintastic-client« wird an Stelle von »./traintastic-client_0.3.1~ubuntu~noble_amd64.deb« gewÀhlt.
Auflösen von AbhĂ€ngigkeiten
 Fehler!
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

NichterfĂŒllte AbhĂ€ngigkeiten:
 traintastic-client : HĂ€ngt ab von: libqt6gui6t64 (>= 6.1.2) ist aber nicht installierbar
                      HĂ€ngt ab von: libqt6network6t64 (>= 6.4.0) ist aber nicht installierbar
                      HĂ€ngt ab von: libqt6svgwidgets6 (>= 6.2.0) soll aber nicht installiert werden
                      HĂ€ngt ab von: libqt6websockets6 (>= 6.2.1) soll aber nicht installiert werden
                      HĂ€ngt ab von: libqt6widgets6t64 (>= 6.3.0) ist aber nicht installierbar
                      HĂ€ngt ab von: libqt6xml6t64 (>= 6.1.2) ist aber nicht installierbar
                      HĂ€ngt ab von: qt6-websockets-abi (= 6.4.2) ist aber nicht installierbar
Fehler: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. traintastic-client:amd64=0.3.1~ubuntu~noble is selected for install
   2. traintastic-client:amd64 HĂ€ngt ab von libqt6gui6t64 (>= 6.1.2)
      but none of the choices are installable:
      [no choices]

I am confused and hope you can find the problem


If I can help, let me know


Greetings, Hardi

Hi Hardi,

@DL7BJ is working on it, got a message from him yesterday evening/night, he found the issue, in the current AppImage building process the Qt libs are missing, that causes the issue. I think it will be ready within a few days.

In the meantime you’re best bet is Ubuntu 24.04 LTS, then you can use the AppImage or DEB packages from the Traintastic development builds page.

We’re working on it, it takes a bit more time, sorry for that.

Just curious: Which command station/digital system are you using?

Greetings,
Reinder

1 Like

Hi Hardi,

If you like, you could test the new builds.

I test them with Ubuntu 24.04.4, MX-Linux 25.1 (Trixie) and Raspian OS (Trixie) and on my machine with MX-Linux 23.6 (Bookworm).

The problem was, that the Qt Libs were not in the AppImages and if these Libs don’t available in the system, it crashed. The AppImages requires a glibc >= 2.36, that’s ok with Ubuntu 24.04 but not with 22.04. Debian Bookworm and Debian Trixie are also good.

Reinder will add the changes to the automatic build system. My versions are a quick build for testing.

Greetings, Tom

Hi Hardi,

The AppImage’s built by the automatic build system are also ready, build #2020 or newer have Tom’s fixes.

Greetings,
Reinder

Hi Tom, hi Reinder,

Thank you for the fast Solution and the very fast response! Now i can test it.

Just curious: Which command station/digital system are you using?

I use a Z21pg and DIY Loconet Modules with Arduinos and Rocrail for my “Minimax Module” and i’ m interested in new Technologie for Modelrailroading , reading Toms threat in “H0 Modellbahnforum” (I’m no Forum Member there). Thinking outside the box


1 Like

Hi,

just for info:

It seems a friend of mine has a (broken) installation of a AppLauncher within MX-Linux Libretto (Bookworm). The AppLauncher creates a copy of the original appimage, note the non-original filename.

$ ./traintastic-0.4.0-2023-x86_64-dev_321ce3249a6d68a06473d74ff142aa9a.AppImage
Gtk-Message: 17:33:42.621: Failed to load module “canberra-gtk3-module”
Failed to start appimagelauncherd.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and ‘systemctl --user status appimagelauncherd.service’ for details.
fuse: memory allocation failed

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See FUSE · AppImage/AppImageKit Wiki · GitHub
for more information
execv error: No such file or directory

The original appimage don’t needs FUSE, it extracts the files in i.e. /tmp/.mount_traintIFNafk and calls /tmp/.mount_traintIFNafk/AppRun - the application root is then /tmp/.mount_traintIFNafk

The AppImageLauncher is for Desktop Integration, but it turns a “portable file” into a “pseudo-package within the system” - precisely what our AppImage actually aims to avoid.

Greetings, Tom

Moin Tom,

The first error is about appimagelauncherd.service, not Traintastic, so that might be something with his system indeed.

On my system (Ubuntu 24.04 LTS) FUSE is used, if I start the AppImage and then check the mounts:

$ mount | grep traintastic
/home/reinder/Downloads/traintastic-0.4.0-2026-x86_64.AppImage on /tmp/.mount_traintDIHGCo type fuse.traintastic-0.4.0-2026-x86_64.AppImage (ro,nosuid,nodev,relatime,user_id=1001,group_id=1001)

Some users might like that, it feels like “installation”. I wonder what happens if you download a newer version and install that, will it replace or install it side-by-side.

Currently our AppImage doesn’t have a manifact, I wonder if that is a reuirement for the AppImageLauncher.

Greetings,
Reinder

Moin Reinder,

on my Raspberry the same:

traintastic-0.4.0-2025-arm64.AppImage on /tmp/.mount_traintIFNafk type fuse.traintastic-0.4.0-2025-arm64.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)

I think I expressed myself unclearly. This is the standard kernel fuse support.

failed to start appimagelauncherd.service: Process org.freedesktop.systemd1 exited with status 1

The error Cannot mount AppImage, please check your FUSE setup. results of the broken AppImageLauncher service. I meant to say that no extra FUSE program or setup is required. Only the kernel module must exists.

The AppImage has an Icon, a .desktop file and the AppRun, that should be enough for a desktop integration with the AppImageLauncher.

The AppLauncher would create a menu entry for every AppImage, if the filename was different. I asked ChatGPT, so that must not be correct :wink:

Greetings, Tom