# Problems with Remote Julia Process

**URL:** <https://discourse.julialang.org/t/problems-with-remote-julia-process/32187>\
**Category:** Juno\
**Created:** [December 12, 2019, 10:30am UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187 "2019-12-12T10:30:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MLackner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mlackner/32/2789_2.png) [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Post date:** [December 12, 2019, 10:30am UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187/1 "2019-12-12T10:30:24Z")

</div>

Hi! I’ve got some problems getting a remote Julia process to run via Juno. What I’m doing is:

- Start Atom
- Click on “Start Remote Julia Process” in toolbar
- Click on “Toggle Remote Tree View”
- Enter the password that I set earlier
- I see the server can can browse the folders (So I guess my server config is correct?)
- With server selected in remote tree view I click on “Start Remote Julia Process” again
- Window pops up:

```julia
Juno requests access to your server configuration to open a terminal.
-------------------------------
Decline this message if you did not initiate a request to share your server configuration with a pacakge!

```

- Click on “Accept”
- Nothing happens

The REPL pane stays blank. Not even a “Press enter to start a new Julia process”. If I open a file on the server and try to execute code nothing happens either.

What I can do though:

- Start Atom
- Click on “Start Remote Julia Process” → “Toggle Remote Tree View” (I have no idea how to toggle it without doing this)
- Enter Password
- Open a “New Remote Terminal”
- Click on “Accept” when the message pops up  
(At this point the REPL pane shows

```julia
Press Enter to start Julia. 

Julia has exited.
Press Enter to start a new session.

Julia has exited.
Press Enter to start a new session.

```

… don’t know if this matters)

In the remote terminal I can do

```julia
tmux new -t test

```

and start a julia process by running

```julia
julia

```

Plotting doesn’t work (I’m not sure if it supposed to work other than with `UnicodePlots`) and throws this error:

```julia
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:                                                              
ERROR: IOError: connect: connection refused (ECONNREFUSED) 

```

Would there be benefits by getting the remote Julia process to run? Would I maybe be able run code from a file that I opened like with a local Julia process?

---

<div class="post-metadata">

**Author:** ![bunzeyda](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bunzeyda](https://discourse.julialang.org/u/bunzeyda)\
**Post date:** [January 28, 2020, 4:56am UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187/2 "2020-01-28T04:56:53Z")

</div>

I’m trying to do the same thing, using the same process as you did, and have the same results. Trying to connect with the remote server just results in the pop up asking for server info and, if accept, nothing happens.

Any help with this would be great.

---

<div class="post-metadata">

**Author:** ![Shu-Lea-Lai](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Shu-Lea-Lai](https://discourse.julialang.org/u/Shu-Lea-Lai)\
**Post date:** [May 24, 2020, 8:56pm UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187/3 "2020-05-24T20:56:38Z")

</div>

HI, I found out the following works:

- Start Atom
- Click on “Start Remote Julia Process” in toolbar
- Click on “Toggle Remote Tree View”
- Enter the password that set up earlier
- Click “Juno - New Remote Terminal”, insead of click on “start Remote Julia Pocess” again in toolbar
- The same request window will pop up, and click allowed/yes
- A new teminal open in the session
- move working dictionary to ex: “home/shulai/julia/JuliaPro-1.4.1-1/Julia/bin”
- launch julia by “./julia”

---

<div class="post-metadata">

**Author:** ![Shu-Lea-Lai](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Shu-Lea-Lai](https://discourse.julialang.org/u/Shu-Lea-Lai)\
**Post date:** [June 1, 2020, 3:32pm UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187/4 "2020-06-01T15:32:47Z")

</div>

Sorry, I was wrong. The step above was just to open a new terminal but not remote using julia.  
To use julia remotely, you need to create soft link with julia, and if it’s other method saved in system, it may not work. create soft link as instructed here [bash - Adding 'soft link' to julia - Ask Ubuntu](https://askubuntu.com/questions/421150/adding-soft-link-to-julia)

---

<div class="post-metadata">

**Author:** ![freeman](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@freeman](https://discourse.julialang.org/u/freeman)\
**Post date:** [September 12, 2020, 11:19am UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187/5 "2020-09-12T11:19:14Z")

</div>

Have you found a solution to this? I’m doing exactly what you described (which is the same as [Connecting to a Julia session on a remote machine · Juno Documentation](http://docs.junolab.org/stable/man/remote/)) and I get exactly the same result (which is nothing happens).

Additionally I’ve also tried toggling the use of tmux by julia-client; that didn’t help.
