Revision 4316be95 mininet/net.py

View differences:

mininet/net.py
335 335

  
336 336
    def startTerms( self ):
337 337
        "Start a terminal for each node."
338
        if 'DISPLAY' not in os.environ:
339
            error( "Error starting terms: Cannot connect to display\n" )
340
            return
338 341
        info( "*** Running terms on %s\n" % os.environ[ 'DISPLAY' ] )
339 342
        cleanUpScreens()
340 343
        self.terms += makeTerms( self.controllers, 'controller' )

Also available in: Unified diff