User Tools

Site Tools


other:x_conf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
other:x_conf [2022/08/08 14:57]
jypeter [On a Windows computer with WSL+Linux and an X server installed] Improved
other:x_conf [2022/08/08 15:41]
jypeter [Nothing works!] Added error messages examples
Line 198: Line 198:
   * Have you configured [[other:​putty_conf|PuTTY]] and/or other required applications correctly ?   * Have you configured [[other:​putty_conf|PuTTY]] and/or other required applications correctly ?
   * Is the ''​DISPLAY''​ variable defined correctly on the local and remote computer?   * Is the ''​DISPLAY''​ variable defined correctly on the local and remote computer?
 +
 +=== When DISPLAY is not defined correctly ===
 +
 +If the ''​DISPLAY''​ **variable is not defined (correctly)**,​ you will get a ''​Can'​t open display: //[NO VALUE DISPLAYED HERE]//''​ error
 +
 +<​code>​$ xterm &
 +$ xterm: Xt error: Can't open display:
 +xterm: DISPLAY is not set
 +$ echo $DISPLAY
 +
 +</​code>​
 +
 +=== When there is no X server running ===
 +
 +If the ''​DISPLAY''​ variable is defined, but there is **no X server**, you will get a ''​Can'​t open display: localhost://​[SOME VALUE]//''​ error\\ <​code>​$ xterm &
 +$ connect localhost port 6000: Connection refused
 +xterm: Xt error: Can't open display: localhost:​12.0</​code>​
 ==== OpenGL related settings ==== ==== OpenGL related settings ====
  
other/x_conf.txt · Last modified: 2023/06/30 08:20 by jypeter