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 remoteprints 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.
Your laptopopens 127.0.0.1:5747
SSH forward
Computer running HallviMac mini, home server or VPS
SSH
Application serverruns your applications
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:
-
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 -
Run this to connect, and leave it running.
ssh -F ~/.ssh/hallvi-mac-mini -N mac-mini 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 for | Same computer | From another computer |
|---|---|---|
| Hallvi | 4747 | 5747 |
| Browser terminal | 4748 | 5748 |
| Private application links | 4757 to 4766 | 5757 to 5766 |
If something goes wrong
| Problem | Fix |
|---|---|
ssh says an address is already in use | On the computer running Hallvi, run ~/.local/bin/hallvi port 6747. All ports move together. Then run both laptop commands again. |
| The connection dropped | Run the second command again. Hallvi and its work keep running on the other computer. |
| A private link stopped answering | Reopen it. |