Skip to content

fix(nessus): prefer chromium over chromium-browser for UI launch - #165

Open
rwh85 wants to merge 1 commit into
kasmtech:developfrom
rwh85:fix/nessus-chromium-binary
Open

rwh85 wants to merge 1 commit into
kasmtech:developfrom
rwh85:fix/nessus-chromium-binary

Conversation

@rwh85

@rwh85 rwh85 commented Nov 5, 2026

Copy link
Copy Markdown

Summary

On kasmweb/nessus (Ubuntu Jammy), install_chromium.sh installs /usr/bin/chromium.
src/ubuntu/install/nessus/custom_startup.sh still launched chromium-browser, so the
Nessus UI at https://localhost:8834 never opened after session start.

Fix

Resolve the browser with command -v chromium || command -v chromium-browser, keep the
same URL and --start-maximized flags, and log if neither binary exists.

Test plan

  • bash -n on the patched script
  • Verified on a running kasmweb/nessus:1.19.0-rolling-weekly session: chromium
    present, chromium-browser absent; selection logic picks /usr/bin/chromium
  • Rebuild/retag the Nessus image and confirm Chromium opens https://localhost:8834
    on a fresh workspace launch

The Nessus workspace installs Chromium via install_chromium.sh, which
ships /usr/bin/chromium on Ubuntu Jammy. custom_startup.sh still called
chromium-browser, so the Nessus UI at https://localhost:8834 never opened.

Prefer `chromium`, fall back to `chromium-browser`, and log if neither
binary is present. Same URL and --start-maximized flags as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant