This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:x_conf [2022/08/08 14:44] jypeter [If you are using WSL] |
other:x_conf [2022/08/08 14:57] jypeter [On a Windows computer with WSL+Linux and an X server installed] Improved |
||
---|---|---|---|
Line 171: | Line 171: | ||
==== On a Windows computer with WSL+Linux and an X server installed ==== | ==== On a Windows computer with WSL+Linux and an X server installed ==== | ||
+ | We assume that [[other:win10wsl|WSL+Ubuntu]] is installed and that the ''DISPLAY'' variable is [[other:x_conf#if_you_are_using_wsl|configured correctly]] | ||
- | * FIXME ''export DISPLAY=localhost:0.0'' | + | Open a WSL terminal (you should know how, if you have installed WSL) and type some basic commands |
+ | <code>[Local WSL] $ hostname | ||
+ | name_of_your_local_machine | ||
+ | [Local WSL] $ echo $DISPLAY | ||
+ | localhost:0.0 | ||
+ | [Local WSL] $ xterm | ||
+ | [Local WSL] $ ssh -X some_login@some_remote_server | ||
+ | [some connection information skipped here] | ||
+ | |||
+ | [Remote] $ echo $DISPLAY | ||
+ | localhost:22.0 | ||
+ | [Remote] $ xterm</code> | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||