If after configuring the Xserver you receive the “Can't open display” error when you start the program, usually the Xserver has not been configured properly.
To correct this problem, check to be certain that the PC has an active TCP/IP connection and that the Xserver is running.