Topic: Pianoteq exits with "No display available" on Linux (NixOS)

Pianoteq version: 7.4.2/20210719 (Trial)
OS: Linux
Distro: NixOS
Desktop Env: GNOME 40 (X, not Wayland)

I'm hoping to purchase a license of Pianoteq for my Linux workstations, and set up a NixOS package for Pianoteq, however on running the binary i'm experiencing an error:

me@me ~/D/P/x86-64bit> ./Pianoteq\ 7
No display available. Use the --headless option in order to run without a GUI.

Note that i did have to `patchelf` a few dyn libs, `libasound` and `libfreetype` specifically. However once i patched those, the binary worked. `--help` works, `--version`, and i can seemingly run the binary in headless mode. However for some reason it cannot find my display.

Any thoughts to what Envs it might be looking for?

*edit*: Think i've mostly solved this, it was needing `xorg.libX11 xorg.libXext stdenv.cc.cc.lib` exposed in the lib path. In doing so it seems to have worked!

Last edited by leekola (16-10-2021 00:19)

Re: Pianoteq exits with "No display available" on Linux (NixOS)

It's great you have got it working.

You might have an easier (no configuring necessary) time using Pianoteq with one of the more common Linux distributions, like Linux Mint, Ubuntu, Kubuntu, Debian, Pop! OS, etc. But the NixOS philosophy, values and its package management system seem interesting.

--
Linux, Pianoteq Pro, Organteq