<div dir="ltr">Dan,<br><br>appmon uses graphics, which need X. In Windows, graphics are built in so you need nothing special. I assume you are not logged in as superuser.<br><br>Try the following:<br><br>$ xterm<br><br>If you see an xterm, your appmon should have worked. If you get an error message, there are two things I can think of off the top of my head that might not be set up correctly.<br>
<br>Is your DISPLAY variable set correctly? I am assuming that this is a local Linux box and that you are not using ssh or telnet to a remote box. If you are, that's another story.<br><br>Try setting DISPLAY as follows:<br>
<br>$ export DISPLAY=:0.0<br><br>Then try the xterm again. If it STILL doesn't work, there may be X authority problems. Try this:<br><br>$ xhost +<br><br>Warning: this is a security risk, allowing any X system access to your box. But we'll only be doing this for a moment and I assume you are behind a firewall.<br>
<br>Now try xterm again. If it works, appmon should work too.<br><br>To make this work without having to open up using xhost +, Google xauth and Xauthority and ensure you have a ~/.Xauthority file set up correctly.<br><br>
Hope this helps. If you are still stuck, please post what happened above with xterm when you try it.<br><br><div class="gmail_quote">On Sat, Sep 27, 2008 at 6:18 AM, Dan Rubino <span dir="ltr"><<a href="mailto:webaccounts@rubino.co.uk">webaccounts@rubino.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
I normally develop my Erlang apps under windows but this weekend am<br>
having a go under Linux.<br>
<br>
My apps compile and start fine however when I try and run appmon i.e.<br>
appmon:start().<br>
<br>
The console just hangs and doesnt open the appmon interface.<br>
<br>
I am running 5.5.5 - anyone come across this before?<br>
<br>
Thanks,<br>
Dan<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br></div>