I am running Mininet as VM and my host machine is Windows 10. I have been successfully able to setup X1 forwarding. The ssh client i am using to login into Mininet VM from host is Mobaxterm.
When i start the mininet topology using sudo mn
, then xterm h1
open a display window. All fine.
But the same is not working when I launch mininet custom topology by running python programs.
mininet@mininet-vm:~/SocketProgrammingMininet/mininetTopologies$ sudo python vlan_ex1.py
mininet> nodes
available nodes are:
h1 h2 h3 h4 r s5
mininet> xterm h1 << No h1 host's display.
mininet@mininet-vm:~/SocketProgrammingMininet/mininetTopologies$ sudo mn
mininet> nodes
available nodes are:
c0 h1 h2 s1
mininet> xterm h1 << Window for H1 host opens up.
Where is the problem here ? Do I need to do some settings in python program or the way i run it ?