Configure a static network.
prepare_xterm_and_setup_static_network();
Use x11_start_program('xterm') to open a xterm. Then setup a static network by configure_static_network(%args{ip}). %args is a list with possible keys like {message} or {ip}.