X11 Cannot Connect to Display
Conrad McGarry updated July 16, 2014 at 12:38 PM
Questions Addressed
What do I do if X11 can't connect to the display What do I do if X11 can't connect to the display
Determine local display
Open your working X11 window and make sure you are within your local local machine.
Type in the command
ps -ef |grep X11and press return
Look for /usr/X11/bin/X :'number'
The number after the colon is the display.
Set the display
CSH/TCSH
In the window from which you will SSH type
sentenv DISPLAY :'number'
Replace number with the display determined above. Apostrophes are not to be included.
Bash
In the window from which you will SSH type export DISPLAY='number'
Replace number number with the display determined above. Apostrophes are not to be included.
If you need further assistance, please contact IGPP Help Desk.