Skip to content

Commit

Permalink
Add doc / xvnc
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 19, 2024
1 parent d49d2fe commit f766220
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions devel_docs/devdoc_parts/xvnc_jarvis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# How to connect to a jarvis server using vnc

## On the jarvis server

```bash
apt update
apt install -y tigervnc-standalone-server tigervnc-common xvfb icewm
vncserver # a select a password
```


## On the mac, run a ssh tunnel

Copy the ssh access command from jarvis, for example:
```
# ssh -o StrictHostKeyChecking=no -p 11214 root@ssha.jarvislabs.ai
```

Modify it and run
```bash
ssh -L 5901:localhost:5901 -o StrictHostKeyChecking=no -p 11214 -N root@ssha.jarvislabs.ai
```

## Launch the vnc client on the mac to localhost:5901

0 comments on commit f766220

Please sign in to comment.