def runX11(node, cmd):
 (_display, tunnel) = tunnelX11(node)
 if (_display is None):
  return []
 popen = node.popen(cmd)
 return [tunnel, popen]

def runX11 ( node , cmd ) : ( _display , tunnel ) = tunnelX11 ( node ) if ( _display is None ) : return [ ] popen = node . popen ( cmd ) return [ tunnel , popen ]
run an x11 client on a node .