Use Hallvi from another computer

Hallvi only listens on 127.0.0.1. To use it from a laptop, forward its ports over SSH.

In short
  • The installer prints two commands for your laptop, and ~/.local/bin/hallvi remote prints them again.
  • Leave the second command running, then open http://127.0.0.1:5747.
  • Hallvi has no login. Anyone who can sign in to its computer can open it.

Hallvi has no login. Only someone who can sign in to its computer can open it.

Connect

At install, choose From another computer. The installer prints two commands for your laptop, filled in for your computer. ~/.local/bin/hallvi remote prints them again. For a computer named mac-mini:

  1. Run this once. It saves the SSH settings to their own file.

    mkdir -p ~/.ssh && ssh you@mac-mini.local '~/.local/bin/hallvi remote --config you@mac-mini.local' > ~/.ssh/hallvi-mac-mini
  2. Run this to connect, and leave it running.

    ssh -F ~/.ssh/hallvi-mac-mini -N mac-mini
  3. Open http://127.0.0.1:5747. The tab title ends with the computer's name.

A Mac mini must stay awake, with Remote Login turned on.

What the connection forwards

Port forSame computerFrom another computer
Hallvi47475747
Browser terminal47485748
Private application links4757 to 47665757 to 5766

If something goes wrong

ProblemFix
ssh says an address is already in useOn the computer running Hallvi, run ~/.local/bin/hallvi port 6747. All ports move together. Then run both laptop commands again.
The connection droppedRun the second command again. Hallvi and its work keep running on the other computer.
A private link stopped answeringReopen it.