Comment by wdavidw

2 days ago

A few years back, I was deploying, operating and debugging a Hadoop cluster with Kerberos enabled behind a firewall with only the SSH port being opened. Without a web browser would have been a much more complicated task. I ended up installing the X11 client on my local macOS and the all Gnome + Firefox on one of the cluster's node. Something that is not doable with Wayland. This project work like a charm, here is a quick example on how to test it inside an Incus container (I had to install 2 additional dependencies).

  # Work with Gnome terminal but resolution is much better in something supporting images
  apt install -y kitty
  kitty
  # Create an incus container
  incus --project default launch images:ubuntu/24.04 term
  incus --project default shell term
  # Install dependencies
  apt install -y curl firefox libharfbuzz0b libfontconfig1
  curl -L -o term https://github.com/mmulet/term.everything/releases/download/0.5.1/term.everything.mmulet.com-dont_forget_to_chmod_+x_this_file
  mv term.everything.mmulet.com-dont_forget_to_chmod_+x_this_file term
  chmod u+x term
  echo '<h1>Hello</h1>' > test.html
  # Start firefox, wait for a few seconds
  ./term firefox test.html