zoukankan      html  css  js  c++  java
  • mininet + xterm

    mininet> r1 xterm
    Warning: This program is an suid-root program or is being run by the root user.
    The full text of the error or warning message cannot be safely formatted
    in this environment. You may get a more descriptive message by running the
    program as a non-root user or by removing the suid bit on the executable.
    xterm: Xt error: Can't open display: %s
    xterm: DISPLAY is not set
    mininet> h1 echo $DISPLAY
    
    mininet> xterm h1
    Error: Cannot connect to display
    mininet> h1 xterm &
    mininet> 
    root@ubuntu:/data1/root/ryu/SDN-IP-Ryu# whereis xterm
    xterm: /usr/bin/xterm /usr/share/man/man1/xterm.1.gz
    root@ubuntu:/data1/root/ryu/SDN-IP-Ryu# 
    # xterm
    Warning: This program is an suid-root program or is being run by the root user.
    The full text of the error or warning message cannot be safely formatted
    in this environment. You may get a more descriptive message by running the
    program as a non-root user or by removing the suid bit on the executable.
    xterm: Xt error: Can't open display: %s
    xterm: DISPLAY is not set
    root@ubuntu:/data1/root/ryu/SDN-IP-Ryu# mn -x
    *** No default OpenFlow controller found for default switch!
    *** Falling back to OVS Bridge
    *** Creating network
    *** Adding controller
    *** Adding hosts:
    h1 h2 
    *** Adding switches:
    s1 
    *** Adding links:
    (h1, s1) (h2, s1) 
    *** Configuring hosts
    h1 h2 
    Error starting terms: Cannot connect to display
    *** Starting controller
    
    *** Starting 1 switches
    s1 
    *** Starting CLI:
    mininet> quit
    *** Stopping 0 controllers
    
    *** Stopping 1 switches
    s1 ..
    *** Stopping 2 links
    
    *** Stopping 2 hosts
    h1 h2 
    *** Done
    completed in 21.936 seconds
  • 相关阅读:
    【[SDOI2016]排列计数】
    newcoder NOIP提高组模拟赛C题——保护
    【[JLOI2014]松鼠的新家】
    【[USACO08NOV]奶牛混合起来Mixed Up Cows】
    【[USACO13NOV]没有找零No Change】
    【[SHOI2009]会场预约】
    【[USACO12FEB]附近的牛Nearby Cows】
    UVA11987 【Almost Union-Find】
    基于递归的BFS(Level-order)
    遍历二叉树
  • 原文地址:https://www.cnblogs.com/dream397/p/13307091.html
Copyright © 2011-2022 走看看