I am using mininet on a virtual machin. I use jetbrain gateway as a remote developement tool to connect to server via SSH and write my codes on pycharm.
The problem is that the Mininet codes should be run as root and it seems that pycharm tries to run them as non-root user so I get this massage:
/usr/bin/python3.6 /home/mininet/mininet/examples/sshd.py
*** Mininet must run as root.
Process finished with exit code 1
Can anyone helps me with that?