0

I am running a python script and when I execute it as normal user mininet says

must run as root

and when I execute it as root user it works fine but after the script I have to open xterm h1 and it doesn't allow if you are a root user.

How to open xterm as a root user?

StackExchange
  • 432
  • 2
  • 8
  • 22
zafar malik
  • 69
  • 1
  • 3
  • 7

1 Answers1

0

Try this:

sudo -E python <name of the custom topo file>

This would let you to run the custom topo script as a script. Then you should be able to use xtrem.

Tutorial link

Ehsan Ab
  • 679
  • 5
  • 16