Skip to content

Ubuntu 24 04 LabVIEW 2026 Installation Part 1

github-actions[bot] edited this page Nov 20, 2026 · 2 revisions

Ubuntu 24.04 + LabVIEW 2026 Installation Reference (part 1 of 2)

This is the canonical installation reference for the tested Ubuntu variant used by users, agents, and operators of labview-benchmark-actor.

Tested variant

Item Tested value
Guest OS Ubuntu 24.04.4 LTS desktop, 64-bit
Hypervisor Oracle VirtualBox 7.2.8
VM allocation 12,288MB RAM, 6 vCPUs
LabVIEW 2026 Q1 Community Edition, 64-bit (26.1.1.49170-0+f18)
LabVIEWCLI 26.1.0.49328-0+f176
VIPM 26.3.1-4017
Automation display active graphical seat; Xvfb remains a fallback
VI Server TCP 3363

The measurements below are observations from one disposable linked clone. They are not performance guarantees for other hosts.

1. Create a disposable VM

Keep the retained source VM powered off. Clone a proven snapshot rather than modifying the source.

The measured baseline:

  • source VM: lba-ubuntu2404-labview2026-scratch;
  • source UUID: 6680988b-5eb3-434d-96c6-8cf22f3055b9;
  • snapshot: mass-compile-baseline-20260809-094107;
  • snapshot UUID: 73913831-d37c-48ca-81a9-d9cf585e9767.

The snapshot booted to the graphical login screen:

Ubuntu graphical login

First-clone timing was unusually slow:

Milestone Elapsed from VirtualBox running state
Login screen captured 15m 17.868s
Desktop / first-login wizard visible 17m 17.085s
Terminal available 19m 58.478s
OpenSSH installation complete 22m 27.047s
SSH functional probe passed 22m 57.767s

The first-login wizard was the visible boundary between successful desktop login and terminal setup:

Ubuntu first-login wizard

These timings include manual login, Ubuntu's first-login wizard, and installing OpenSSH. They are not warm-boot metrics.

2. Establish remote automation during unattended installation

New cleanroom bases use VirtualBox 7.2.8's unattended post-install template before the first reboot. No graphical login is required. Keep the disposable password in a mode-0600 file and select an operator-owned, collision-free host-loopback port:

chmod 600 /safe/local/path/actor-password
ISO=/path/to/ubuntu-24.04.4-desktop-amd64.iso \
VM_NAME=lba-ubuntu2404-base-proof-YYYYMMDDTHHMMSSZ \
GUEST_PASSWORD_FILE=/safe/local/path/actor-password \
SSH_HOST_PORT=2222 \
cleanroom/ubuntu-labview/build-virtualbox.sh --run

The builder passes the maintained base-bootstrap.sh through --post-install-template. Before first login it:

  • installs openssh-server, Git, and virtualbox-guest-utils;
  • enables SSH and guest utilities;
  • enables a first-boot validator;
  • writes /var/lib/lba-cleanroom/base-bootstrap-receipt.json.

The receipt fails closed unless SSH, Git, and the supported VirtualBox guest service are present and active. It contains OS/version, exact VM name/UUID, absolute tool paths and versions, service states, wall-clock and monotonic timings, failures, and outcome, with no credential fields. The builder also fails before installation if its bootstrap template is missing or the installed VBoxManage lacks the supported post-install hook.

SSH forwarding is never implicit:

  • set SSH_HOST_PORT to create a 127.0.0.1-only VirtualBox NAT forward to guest port 22;
  • do not expose SSH to a LAN;
  • never record the disposable password in logs, commands, screenshots, or receipts;
  • confirm SSH with a concrete command such as id -u, hostname, and systemctl is-active ssh.

The screenshots terminal-ready.png and ssh-install.png document the historical manual bootstrap measured in section 1. That path required a graphical login and is retained as baseline evidence, not as the maintained build procedure:

Historical terminal-ready baseline

Historical manual OpenSSH installation

3. Run the maintained provisioner

Upload these repository files to the clone:

cleanroom/ubuntu-labview/provision-guest.sh
cleanroom/ubuntu-labview/ni-labview-2026-noble-community.asc

Run:

sudo env PRIMARY_USER=actor PROVISION_REBOOT=0 \
  bash <guest-home>/lba-provision/provision-guest.sh

The measured provisioner run:

Metric Measured value
Monotonic duration 164.532s
Exit code 0
LabVIEW package ni-labview-2026-community 26.1.1.49170-0+f18
LabVIEWCLI package ni-labview-command-line-interface 26.1.0.49328-0+f176
VIPM package 26.3.1-4017

The provisioner installs Xvfb and required libraries, configures VI Server TCP 3363 for both LabVIEW executable basenames, installs VIPM, and deliberately stops before NI-account activation.

4. Reboot and verify prerequisites

A post-install reboot is required. Measure reboot completion by:

  1. recording /proc/sys/kernel/random/boot_id;
  2. requesting reboot;
  3. reconnecting through SSH;
  4. requiring a changed boot ID and systemctl is-active ssh.

Measured reboot request to verified SSH-ready:

18.829s

The first connection failure occurred 0.110s after the request.

Post-reset login

The later provisioner-required reboot reached the same credential-safe graphical login boundary:

Post-install reboot ready

Run the maintained readiness check:

bash cleanroom/ubuntu-labview/activation-ready.sh --check

All prerequisite checks must pass:

  • LabVIEWCLI and LabVIEW binary;
  • NI AddTwoNumbers probe VI;
  • Python, Xvfb, and xdpyinfo;
  • VIPM package and command;
  • graphical target, display manager, and graphical console seat;
  • labview.conf and labviewcommunity.conf;
  • VI Server TCP 3363 and quoted wildcard access lists;
  • passwordless sudo for the disposable actor account.

5. Complete human NI activation

Launch LabVIEW interactively:

/usr/local/natinst/LabVIEW-2026-64/labview

The human operator signs into their NI account. Agents must not request, type, store, screenshot, or transmit NI credentials.

Use the native VirtualBox console for this handoff. On the validated Ubuntu 26.04 host, enabling the VBoxVNC VRDE extension caused a host-side VBoxHeadless SIGSEGV; the guest disks remained intact, but VRDE is not part of the validated activation path.

The activation dialog can remain stale after the browser sign-in completes. If its activate button no longer advances, close LabVIEW and launch it once more in the same graphical seat. Continue only when the functional probe in the next section passes; the reopened window alone is not activation evidence.

After activation, LabVIEW opens normally:

Activated LabVIEW 2026 Community

The observed interval between the activation-boundary screenshot and activated-window screenshot was at most 224.723s. This includes human interaction and is not an automated performance metric.

6. Prove activation functionally

A screenshot is not activation proof. Run the known-answer probe:

bash experiments/activation/probe-activation.sh 20 22 /tmp/lba-activation-capture.json

Expected:

  • exit code 0;
  • VI Server connection on port 3363;
  • operation output 42;
  • RunVI operation succeeded;
  • a fresh 32-hex activation challenge;
  • display mode recorded.

Measured activation probe:

Metric Measured value
CLI wall time 1,584ms
Expected/actual 42 / 42
Display mode active-graphical-seat

On this Ubuntu build, Xvfb execution segfaulted. The maintained probe therefore reuses a valid active graphical LabVIEW seat first and retains Xvfb only as a fallback for previously validated hosts.

7. Example performance proof: Mass Compile

The measured workload used:

  • repository ni/labview-icon-editor;
  • commit 9545c483f2b947c71de68c7f70aedefaedadabf7;
  • directory resource;
  • 307 VIs/CTLs;
  • zero bad VIs.

Source preparation required Git 2.43.0:

Phase Duration
Install Git 6.906s
Clone and detach pinned source 10.375s

Run:

LabVIEWCLI \
  -LabVIEWPath /usr/local/natinst/LabVIEW-2026-64/labview \
  -PortNumber 3363 \
  -OperationName MassCompile \
  -DirectoryToCompile <guest-home>/labview-icon-editor/resource \
  -MassCompileLogFile <guest-home>/lba-provision/mass-compile.log \
  -AppendToMassCompileLog FALSE

Measured result:

Metric Measured value
LabVIEW report interval 60s
CLI wall time 60.582s
Samples 58 at 500ms
Average LabVIEW process CPU 92.70%
Peak LabVIEW RSS 397.55MB
Minimum available guest memory 10,286.29MB
Disk read delta 1,785,856 bytes
Disk write delta 44,752,896 bytes
Maximum one-minute load 1.20
Result hash bf722123ba07ac4611e41eadf605cf45b20d398d3229b2b837d3f5115d0a7966

The result hash matches the existing host, golden-VM, and Windows measurements. Timing and resource usage are substrate-specific and are intentionally excluded from that identity.

Clock domains

Host screenshot timestamps and guest LabVIEW timestamps are separate clock domains. The first boot accumulated VirtualBox timer catch-up stalls, so do not subtract host and guest wall clocks. Use monotonic durations measured within one domain.


Generated from docs/information-for-users/ubuntu-24.04-labview-2026-installation.md on develop. Edit the source in the repository, not this page.

Clone this wiki locally