xterm not working in mininet
<p>I'm using mininet version 2.1.0. My setup is such that I've to run the mininet
command from a remote machine, e.g., </p>

<blockquote>
  <p>ssh -X user@IP python mininet.py</p>
</blockquote>

<p>X11 forwarding seems to be fine. X forwarding does not work from the mininet shell only, but it works from the SSH shell.</p>

<p>However, I'm unable to run xterm command on mininet. I'm not getting any
output after running the xterm command.</p>

<pre><code>mininet&gt; pingall
*** Ping: testing ping reachability
h1 -&gt; h2 h3
h2 -&gt; h1 h3
h3 -&gt; h1 h2
*** Results: 0% dropped (6/6 received)
mininet&gt; xterm h1
mininet&gt; h1 xterm
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted in
this environment. You may get a more descriptive message by running the 
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
</code></pre>

<p>When I start the mininet from my local machine, xterm works and opens up a
new window.</p>

<p>Where should I look for xterm related logs in such case?</p>

<p>I've already spent over a day on this. I also updated mininet version to the latest 2.2.1, but still no success.</p>

<p>Thanks in advance!</p>