other:x_conf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:x_conf [2022/08/05 10:32] – Moved te Troubleshooting section to the end jypeter | other:x_conf [2022/08/05 15:45] – [Installing VcXsrv] jypeter | ||
---|---|---|---|
Line 40: | Line 40: | ||
* Start the server by double-clicking on the new '' | * Start the server by double-clicking on the new '' | ||
* It will seem that nothing happens, but an '' | * It will seem that nothing happens, but an '' | ||
- | * The X server will stop when you close your Windows session or restart the computer. Do not forget to click on the X_Server icon if you know that you will need an X server later | + | * The X server will stop when you close your Windows session or restart the computer. Do not forget to click on the '' |
+ | * FIXME Document how to automatically start the X server... | ||
* Note: you can right-click on the '' | * Note: you can right-click on the '' | ||
- | * You are now **ready**, if you only need VcXsrv to display graphical windows from remote servers | ||
- | |||
- | * The following steps allow you to test the X server in a **local** WSL+Ubuntu terminal. **Do not set the DISPLAY variable yourself when you are connected to a remote server with '' | ||
- | * Open a **local** terminal (in WSL+Ubuntu) | ||
- | * Type '' | ||
- | * Type '' | ||
Line 67: | Line 62: | ||
===== Using an X server on an Apple computer ===== | ===== Using an X server on an Apple computer ===== | ||
+ | |||
+ | |||
+ | ===== Configuration on the remote machine ===== | ||
+ | |||
+ | ==== If you are connecting with ssh ==== | ||
+ | |||
+ | Nothing special to do! | ||
+ | |||
+ | ==== If you are using WSL ==== | ||
+ | |||
+ | If you have installed [[other: | ||
+ | |||
+ | |||
+ | ===== Testing ===== | ||
+ | |||
+ | The idea is to: | ||
+ | * Open a terminal and check that the '' | ||
+ | * Connect to the remote machine | ||
+ | * Check that a (new) '' | ||
+ | * Check that you can start an application using graphics (e.g. '' | ||
+ | |||
+ | ==== On a Linux computer ==== | ||
+ | |||
+ | Some basic commands in a terminal | ||
+ | |||
+ | < | ||
+ | name_of_your_local_machine | ||
+ | |||
+ | [Local] $ echo $DISPLAY | ||
+ | :0 | ||
+ | |||
+ | [Local] $ ssh -X some_login@some_remote_server | ||
+ | [some connection information skipped here] | ||
+ | |||
+ | [Remote] $ hostname | ||
+ | name_of_the_remote_server | ||
+ | |||
+ | [Remote] $ echo $DISPLAY | ||
+ | localhost: | ||
+ | |||
+ | [Remote] $ xterm</ | ||
+ | |||
+ | ==== On a Windows computer with only an X server installed ==== | ||
+ | |||
+ | We just open a '' | ||
+ | |||
+ | < | ||
+ | name_of_your_local_machine | ||
+ | |||
+ | PS C:\> $env: | ||
+ | PS C:\> $env: | ||
+ | PS C:\> $env: | ||
+ | localhost:0 | ||
+ | |||
+ | PS C:\> ssh -Y some_login@some_remote_server | ||
+ | Warning: No xauth data; using fake authentication data for X11 forwarding. | ||
+ | [some connection information skipped here] | ||
+ | |||
+ | [Remote] $ hostname | ||
+ | name_of_the_remote_server | ||
+ | |||
+ | [Remote] $ echo $DISPLAY | ||
+ | localhost: | ||
+ | |||
+ | [Remote] $ xterm</ | ||
+ | |||
+ | |||
+ | ==== On a Windows computer with PuTTY and an X server installed ==== | ||
+ | |||
+ | We assume here that [[other: | ||
+ | |||
+ | We just have to open a pre-configured //Session// on a remote server | ||
+ | < | ||
+ | name_of_the_remote_server | ||
+ | |||
+ | [Remote] $ echo $DISPLAY | ||
+ | localhost: | ||
+ | |||
+ | [Remote] $ xterm</ | ||
+ | |||
+ | |||
+ | ==== On a Windows computer with WSL+Linux and an X server installed ==== | ||
+ | |||
+ | |||
+ | * FIXME '' | ||
+ | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
+ | ==== Nothing works! ==== | ||
+ | |||
+ | That's unfortunate, | ||
+ | * Have you turned on your computer? | ||
+ | * Do you have network access, and an account on a remote server? | ||
+ | * Have you run the [[other: | ||
+ | * Have you installed and configured the //X server// correctly? Is it really running? | ||
+ | * Have you configured [[other: | ||
+ | * Is the '' | ||
==== OpenGL related settings ==== | ==== OpenGL related settings ==== | ||
other/x_conf.txt · Last modified: 2024/07/10 10:54 by jypeter