diff --git a/mininet/xterm.py b/mininet/xterm.py
index 2ae29f9b1d9ece84fcb033fc5cc47a02ab3ec806..e49336630f7c4821b9ffe7b270c9ab855af7c7f5 100644
--- a/mininet/xterm.py
+++ b/mininet/xterm.py
@@ -19,7 +19,7 @@ def makeXterm( node, title ):
         title += ' (root)'
     cmd = [ 'xterm', '-title', title, '-e' ]
     if not node.execed:
-        node.cmdPrint( 'screen -dmS ' + node.name )
+        node.cmd( 'screen -dmS ' + node.name )
         cmd += [ 'screen', '-D', '-RR', '-S', node.name ]
     else:
         cmd += [ 'sh', '-c', 'exec tail -f /tmp/' + node.name + '*.log' ]