Resolve the error: "Can't open display when trying to display NC jobs on submit host" (NetworkComputer)

To enable NC jobs to display on the submit host's screen, perform the following steps:

  1. Execute xhost + on the submit host. This will permit remote clients to connect.
  2. Use the 'ps' command. The X-windows server on the submit host must accept TCP client connections. It is not started with the -nolisten TCP option. For example:
    % ps auxww | grep 'X'
    This will enable you to see the X-server options.
  3. If the nolisten option is present, use the gdmsetup or equivalent command, so that X-server permits incoming client TCP connections.