NC A&T State University


North Carolina A&T State University

High Performance Computing Center





Unix HowTo/FAQ Page






Shells/Startup scripts:

Environment Variables:

Setting your DISPLAY variable:

    In order to use X-window based applications such as ANSYS, Abaqus, Tecplot, and Fluent you will need to tell the application where to display the GUI (Graphical User Interface). This is done by setting the DISPLAY environment variable. Please follow the steps below to set your DISPLAY:

  1. Get the IP address for the client computer (your laptop/desktop). If you are using Windows you can get the IP address by typing 'ipconfig' from a command window. If you are using a Unix-like OS type 'ifconfig <network_card>' (i.e. ifconfig eth0 on Red Hat).
  2. Next, you will need to add the remote host (the server, i.e. noah.ncat.edu where the application actually lives) to the list of hosts allowed to connect to the (local) machine's X server. Do this with the following: xhost +server.ncat.edu (i.e. xhost +noah.ncat.edu). This step is unnecessary if you are running an X client from Windows such as Reflection X.
  3. Set the display variable: 'export DISPLAY=IP_from_step_1:0.0'.
  4. Start the application. See our software page for instructions on starting specific applications.

Basic Unix commands: