Networking 在以root用户身份执行python脚本后,如何在mininet中打开xterm?
我正在运行一个python脚本,当我像普通用户mininet所说的那样执行它时Networking 在以root用户身份执行python脚本后,如何在mininet中打开xterm?,networking,xterm,mininet,sdn,Networking,Xterm,Mininet,Sdn,我正在运行一个python脚本,当我像普通用户mininet所说的那样执行它时 must run as root 当我以root用户的身份执行它时,它工作得很好,但是在脚本之后,我必须打开xtermh1,如果您是root用户,它就不允许 如何以root用户身份打开xterm?尝试以下操作: sudo -E python <name of the custom topo file> 这将允许您以脚本的形式运行自定义拓扑脚本。那么您应该能够使用xtrem
must run as root
当我以root用户的身份执行它时,它工作得很好,但是在脚本之后,我必须打开xtermh1,如果您是root用户,它就不允许
如何以root用户身份打开xterm?尝试以下操作:
sudo -E python <name of the custom topo file>
这将允许您以脚本的形式运行自定义拓扑脚本。那么您应该能够使用xtrem