User Tools

Site Tools


other:win10_wsl_1

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
other:win10_wsl_1 [2022/08/09 13:50]
jypeter [Configuration (in your local Linux account)] Improved
other:win10_wsl_1 [2022/08/09 14:00]
jypeter [Configuration (in your local Linux account)] Improved
Line 309: Line 309:
 ==== Configuration (in your local Linux account) ==== ==== Configuration (in your local Linux account) ====
  
-  * Set the ''​DISPLAY''​ variable in the shell (by hand, or in the bash shell init file): +  * Set the ''​DISPLAY''​ variable in the shell by hand, or automatically ​in the shell configuration ​file(s): 
-    * //bash// shell: ''​export DISPLAY=localhost:​0.0''​ +    * //bash// shell: ''​export DISPLAY=localhost:​0.0''​\\ Can be defined in the ''​~/​.bashrc''​ file 
-    * //tcsh// shell: ''​setenv DISPLAY localhost:​0.0''​+    * //tcsh// shell: ''​setenv DISPLAY localhost:​0.0''​\\ Can be defined in the ''​~/​.login'',​ or the ''​~/​.cshrc''​ file  ​
  
   * <wrap em>​Warning!</​wrap>​ ''​export DISPLAY=:​0.0''​ will also work for using graphics locally, but **will fail when trying to use graphics on a remote computer**, with a ''​connect /​tmp/​.X11-unix/​X0:​ No such file or directory''​ error message ([[https://​unix.stackexchange.com/​questions/​57138/​why-does-my-x11-forwarding-attempt-fail-with-connect-tmp-x11-unix-x0-no-such/​|source]])   * <wrap em>​Warning!</​wrap>​ ''​export DISPLAY=:​0.0''​ will also work for using graphics locally, but **will fail when trying to use graphics on a remote computer**, with a ''​connect /​tmp/​.X11-unix/​X0:​ No such file or directory''​ error message ([[https://​unix.stackexchange.com/​questions/​57138/​why-does-my-x11-forwarding-attempt-fail-with-connect-tmp-x11-unix-x0-no-such/​|source]])
other/win10_wsl_1.txt · Last modified: 2022/08/12 12:25 by jypeter