0

In mininet after entering sudo dhclient eth1 and ifconfig eth1 I can not access the xterm environment, even when I enter xterm in command line it answers "DISPLAY is not set", when I enter DISPLAY=10.0 xterm it answers that it can not open display 10. what should I do?

I am a beginner in mininet and I want to write python code in a file in mininet and I don't know where to write code because I just see command line and nothing else.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
user3202132
  • 179
  • 1
  • 8

1 Answers1

2

To write python code in mininet you can use the mininet's python API.

I think what you're looking for is in this tutorial Introduction to Mininet

user3771522
  • 331
  • 2
  • 6
  • thank you very much. the problem was with the virtual machine I have downloaded. I just install ubuntu and install mininet through ubuntu terminal. there was no problem after that. – user3202132 Sep 08 '14 at 19:02