I have been developing a system using Vagrant. I can ssh to the machine and interact with the system through the iex
in the console. However I would like to be able to use tools with a GUI.
I was hoping it would just be a case of enabling X-forwarding but I have not been able to make it work. These are the two reference sources I have started from. One ssh generic and one vagrant specific.
The example project I am trying to run this is here.
I have tried adding this line to my Vagrantfile
config.ssh.forward_x11 = true
Bash commands to get to error.
vagrant up
vagrant ssh
# In guest box
iex
iex(1)> :observer.start
[error] WX ERROR: SMP emulator required (start with erl -smp)
{:error,
{:not_smp,
[{:wxe_server, :start, 1, [file: 'wxe_server.erl', line: 65]},
{:wx, :new, 1, [file: 'wx.erl', line: 115]},
{:observer_wx, :init, 1, [file: 'observer_wx.erl', line: 104]},
{:wx_object, :init_it, 6, [file: 'wx_object.erl', line: 355]},
{:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}