Skip to content
Snippets Groups Projects
Commit 477e84ad authored by Bob Lantz's avatar Bob Lantz
Browse files

More code check nits.

parent 3482d941
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,9 @@ def tunnelX11( node, display=None):
return display, None
else:
# Create a tunnel for the TCP connection
port = 6000 + int( float ( screen ) )
port = 6000 + int( float( screen ) )
connection = r'TCP\:%s\:%s' % ( host, port )
cmd = [ "socat", "TCP-LISTEN:%d,fork,reuseaddr" % port,
cmd = [ "socat", "TCP-LISTEN:%d,fork,reuseaddr" % port,
"EXEC:'mnexec -a 1 socat STDIO %s'" % connection ]
return 'localhost:' + screen, node.popen( cmd )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment