# Running notebook without browser on a remote virtual machine

**URL:** <https://discuss.hail.is/t/running-notebook-without-browser-on-a-remote-virtual-machine/1218>\
**Category:** Hail Query & hailctl\
**Created:** [December 12, 2019, 6:36pm UTC](https://discuss.hail.is/t/running-notebook-without-browser-on-a-remote-virtual-machine/1218 "2019-12-12T18:36:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rancui](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rancui](https://discuss.hail.is/u/rancui)\
**Post date:** [December 12, 2019, 6:36pm UTC](https://discuss.hail.is/t/running-notebook-without-browser-on-a-remote-virtual-machine/1218/1 "2019-12-12T18:36:11Z")

</div>

I’m wondering if I can run notebook on a machine I ssh into. Right now if I type in

```
hailctl dataproc connect test notebook

```

I get

```
OSError: cannot find 'chromium' or 'chromium-browser' on path

```

Is there a `--no-browser` option?

---

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [December 12, 2019, 6:39pm UTC](https://discuss.hail.is/t/running-notebook-without-browser-on-a-remote-virtual-machine/1218/2 "2019-12-12T18:39:00Z")

</div>

“Running a notebook” means connecting to the Dataproc driver VM through an ssh tunnel so that you can open jupyter from a browser on your machine. This means that you need to be running this from a machine with a browser – a remote VM doesn’t have one.

Your options are (as I see them) aren’t great:

1. Don’t use jupyter, use python script submission, which doesn’t require a browser.
2. run the `hailctl dataproc connect` from your laptop.

---

<div class="post-metadata">

**Author:** ![gosborcz](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@gosborcz](https://discuss.hail.is/u/gosborcz)\
**Post date:** [November 27, 2020, 4:00pm UTC](https://discuss.hail.is/t/running-notebook-without-browser-on-a-remote-virtual-machine/1218/3 "2020-11-27T16:00:50Z")

</div>

Hi, I am now in similar situation, looking for a `--no-browser` way. I would really like to connect via a machine I ssh into. I was wondering if anyone has a workaround for this? I was thinking a tunnel from GC to remote and then remote to local, but failed and I am not sure tunneling can be done this way.
