This is an old revision of the document!
An X server is not a server for distributing your perfect models output!
An X server is basically a program running on your local computer that understands the X Windows System protocol used by remote Linux servers to generate graphics, and that can render (i.e. display) the graphics generated remotely on your local computer.
Linux computers come pre-configured with a running X server (because they need it for displaying local graphics) that will display the graphics generated locally and on remote Linux servers. You don't need to do anything special!
There are several options available
VcXsrv
is pre-installed on the LSCE Windows computers!
Type: free
Download the installer from VcXrsv and install VcXsrv.
You need to configure VcXsrv
to work in multiple windows mode. The following steps will show you how to create a shortcut on your desktop to start VcXsrv in this appropriate mode
Start
⇒ VcXsrv
⇒ Xlaunch
Multiple windows
, then Next
Start no client
, then Next
Clipboard
settings, uncheck Native opengl
, then Next
Save configuration
and save an X_Server.xlaunch
configuration file on your Desktop, then Terminate
.X_Server
icon/shortcut on your DesktopX_Server
iconX
icon and select Exit…
if you need to quit the X serverType: commercial
x410 is a low cost commercial X server that can be directly installed from the Microsoft store. Once installed, it will be automatically updated by the Microsoft Store application.
Starting, configuring and exiting X410: you can start X410 by clicking on it in the Windows Start Menu, or choose to Automatically Start X410 on Login
Type: commercial
Available at MobaXterm, not tested. This seems to be more than just an X server, and may be an overkill if you just need an X server
Nothing special to do!
If you have installed WSL+Ubuntu on your local machine, and you need your X server to display graphics generated in WSL, you need to define the DISPLAY variable: export DISPLAY=localhost:0.0
DISPLAY
variable is definedssh -X
or ssh -Y
$ hostname ciclad-ng.private.ipsl.fr $ echo $DISPLAY localhost:68.0
$ echo $DISPLAY SOMETHING
export DISPLAY=localhost:0.0
xterm
and check that a new xterm terminal appears (it may appear iconified)It's hard to know what the best OpenGL settings for your X server are: it depends on your local computer, the remote computer, the network speed, the application generating the graphics, the libraries' versions…
Native opengl
is activated in VcXsrv, you may have to also use the following environment variable on the remote computer: export LIBGL_ALWAYS_INDIRECT=1
VcXsrv
and the content of some displayed X windows appear blurry, see if you can fix the compatibility settings, or try to use x410.
[ PMIP3 Wiki Home ] - [ Help! ] - [ Wiki syntax ]