1

I'm trying to connect the front end on Mac OS (version 13.0) use a remote (also 13.0) kernel running on an Ubuntu machine. I've followed the basic steps here (https://reference.wolfram.com/language/howto/ConnectToARemoteKernel.html), but ended up with a similar issue as described in this post [1]. The error is

The kernel voyager failed to connect to the front end. (Error = MLECONNECT). You should try running the kernel connection outside the front end.

In [1] they mention using this 3rd party wolfram library which seems like not a very elegant solution since Mathematica is apparently designed to be used out of the box for remote dev. Since [1] was written almost 9 years ago I'm wondering if there is a simpler/modern solution for remote dev in WL.

Thanks

Edit:

any ideas how to set up the remote kernel to use the default ssh key instead of asking for authentication every time?

rhermans
  • 36,518
  • 4
  • 57
  • 149
user2757771
  • 829
  • 4
  • 9
  • I would suggest to use some kind of vnc (for example tigerVNC https://tigervnc.org/ ). Then simply run vnc server in ubuntu, connect to it from MAC and feel like working with ubuntu desktop. This model have many benefits. For example, your can disconnect from remote computer at any time and connect again without breaking computations, etc. – Acus Apr 07 '22 at 06:02
  • If you have access to a license for Wolfram Lightweight Grid Manager, that would be an easy to implement and quite a robust solution. – rhermans Apr 07 '22 at 08:09
  • @rhermans I have wolfram desktop on my mac, but am using the free wolfram engine on my server – user2757771 Apr 07 '22 at 14:29
  • Don't do this, instead, launch a remote desktop with VNC – user5601 Apr 19 '22 at 17:03
  • @user5601 any reason why? I don't have root access to my machine so would prefer a simple ssh solution – user2757771 Apr 19 '22 at 18:04
  • @user2757771 they never matured the ssh connection tech, virtually impossible to use – user5601 Apr 19 '22 at 18:05
  • @user5601 Ok I see, my solution for now is to just use the Wolfram Language for the Jupyter plugin since I'm only running the free wolfram engine on the remote. I get that the technology is not mature, but it seems like it should work in theory, I'm sure I had the ssh tunnel working properly but still couldn't get anything to work. Would be nice if WFR fixed this issue. – user2757771 Apr 19 '22 at 18:08
  • @user2757771 please hound WRI tech support about this, maybe they will improve it! – user5601 Apr 19 '22 at 18:10

0 Answers0