xterm job returns warning: "_IceTransSocketUNIXConnect: Cannot connect to non-local.."
Technote (troubleshooting)
Problem(Abstract)
xterm job returns warning: "_IceTransSocketUNIXConnect: Cannot connect to non-local.."
Resolving the problem
You run "bsub -Ip -q test xterm" and the following message appears:
< >
_IceTransSocketUNIXConnect: Cannot connect to non-local host server2
Warning: Tried to connect to session manager, Could not open network socket server2 = lsf client server1 = lsf host
The warnning message occurs because the SESSION_MANAGER variable is passed from the submission host to the execution host
To prevent this issue, use LSF JOB_STARTER feature to prevent the environment variable from passing.