Web Printing Expert · System Environment Guide

On Linux, the app checks the runtime environment at startup. If required items are missing, the matching section opens in your browser. Use the Environment Help icon anytime to read this guide.

What is checked
· After app start: glibc version, PDF engine, system libraries (ldd), CUPS commands (lp/lpstat), print service (lpstat -r)
· Before dev start / packaging (yarn start / build): glibc, PDF engine, libraries, CUPS commands (print service status is not checked)
· Does not block startup: CJK fonts (optional; see end of guide)
· Install commands below match this system (deb / rpm)

Package manager on this system

This guide shows install commands for your detected package family only.

deb-based (Debian family)

  • Package format .deb; use apt-get / apt on this system.
  • Examples: Debian, Ubuntu, Deepin; Kylin and UOS deb editions.
command -v apt-get && echo "deb-based → use apt-get"

rpm-based (Red Hat family)

  • Package format .rpm; use dnf / yum on this system.
  • Examples: RHEL, CentOS, Fedora, openEuler; Kylin and UOS rpm editions.
command -v dnf && echo "rpm-based → use dnf"
Prefer package names shown in the app prompt when available.
Button labels use three verbs: Install (packages / services), Check (read-only verification), Execute (maintenance commands). Purpose is shown in parentheses.
“Install / Execute” uses the system authorization dialog (pkexec) and requires an administrator password. “Check” usually needs no admin rights. Use “Copy command” if elevation is unavailable.

Required glibc too old

Symptoms

  • Startup blocked with “glibc below 2.31”, or the desktop icon does nothing on very old systems (launcher may exit early).
  • getconf GNU_LIBC_VERSION reports a value below 2.31.

Requirement

This client uses Electron 36 and requires glibc ≥ 2.31 (Ubuntu 20.04 / Debian 11 level).

Fix

  1. Upgrade the OS to a newer release (e.g. recent Kylin V10 SP, UOS 20+, Ubuntu 20.04+).
  2. If upgrade is impossible, contact support for a legacy build for older glibc.
getconf GNU_LIBC_VERSION
ldd --version | head -1
Do not replace system libc manually; glibc cannot be fixed by installing a single app package.

Required PDF engine missing

Symptoms

  • “PDF engine not ready” or “Built-in PDF engine is missing”.
  • HTML-to-PDF unavailable; “Built-in PDF engine failed to start” should also be handled here first.

Fix

  1. Install the package matching your architecture (x64 / arm64).
  2. Reinstall the app; do not delete appAsarUnpack/chrome-linux manually.
  3. Contact support if the issue persists.
Cannot be fixed with apt/dnf packages; restore the full application bundle.

Required System libraries missing

Symptoms

“Built-in PDF engine is missing system libraries” with names like libnss3.so, libgbm.so.1, etc. If lp/lpstat are also missing, include cups-client in the commands below.

Fix

sudo apt-get update
sudo apt-get install -y libnss3 libgbm1 libgtk-3-0 libasound2 libx11-6 libxcb1 libdrm2 libglib2.0-0 fontconfig cups-client
sudo dnf install -y nss mesa-libgbm gtk3 alsa-lib libX11 libxcb libdrm glib2 fontconfig cups-client

Prefer package names from the app prompt. “Install” uses detected missing items when available.

Verify

ldd /path/to/headless_shell | grep "not found"

Required CUPS commands missing

Symptoms

“Missing commands: lp, lpstat”.

Fix

sudo apt-get install -y cups-client
sudo dnf install -y cups-client

Verify

command -v lp && command -v lpstat

If print service is still unavailable afterward, see Print service not ready.

Required Print service not ready

Symptoms

“Print service unavailable”; lpstat -r fails or scheduler not running. Ensure lp/lpstat exist first (previous section).

Fix

sudo apt-get install -y cups
sudo systemctl enable --now cups
lpstat -r
sudo dnf install -y cups
sudo systemctl enable --now cups
lpstat -r
The app retries automatically once CUPS is healthy; no reinstall needed.

Required Unmapped libraries

Symptoms

A .so is missing and the message says there is no package mapping.

Fix

  1. Give the library names to your administrator; find matching DEB/RPM on the same distribution.
  2. Run sudo ldconfig after install, then restart the app.
sudo ldconfig
ldd /path/to/headless_shell | grep "not found"

Required ldd check failed

Symptoms

“Failed to check PDF engine dependencies (ldd failed)”, often Permission denied or noexec mount.

Fix

chmod +x /path/to/headless_shell
ldd /path/to/headless_shell

If the partition is noexec, install on an executable partition or reinstall to restore permissions.

Optional CJK fonts

Missing CJK fonts do not block startup, but Chinese text in HTML-to-PDF may appear as boxes. When opened from the app, this page shows your system and the full package list. “Install” tries common CJK font packages in order until one succeeds.

(Full install command appears when opened from the app)