This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
other:win7apps [2016/10/07 09:57] jypeter Added more VcXsrv notes |
other:win7apps [2018/03/13 14:18] (current) jypeter Replaced asterix with obelix everywhere |
||
---|---|---|---|
Line 32: | Line 32: | ||
* Select //One large window//, then //Next// | * Select //One large window//, then //Next// | ||
* Select //Open session via XDMCP//, then //Next// | * Select //Open session via XDMCP//, then //Next// | ||
- | * Select //Connect to host **asterix**// and //Terminate on server reset//, then //Next// | + | * Select //Connect to host **obelix**// and //Terminate on server reset//, then //Next// |
* Use the settings specified below, then //Next// | * Use the settings specified below, then //Next// | ||
* Select //Clipboard// | * Select //Clipboard// | ||
* **Unselect** //Native opengl//, unless you know what you are doing! | * **Unselect** //Native opengl//, unless you know what you are doing! | ||
* FIXME We should try to keep it selected and check if ''glxgears'' works correctly, with and without setting the ''LIBGL_ALWAYS_INDIRECT'' environment variable | * FIXME We should try to keep it selected and check if ''glxgears'' works correctly, with and without setting the ''LIBGL_ALWAYS_INDIRECT'' environment variable | ||
- | * Click on //Save configuration// to save the settings on the Windows desktop (e.g //asterix_VcXsrv.xlaunch//), then //Finish//. VcXsrv will automatically start.\\ The next time you want to start VcXsrv, just click on the //asterix_VcXsrv.xlaunch// file that you have saved on your desktop | + | * Click on //Save configuration// to save the settings on the Windows desktop (e.g //obelix_VcXsrv.xlaunch//), then //Finish//. VcXsrv will automatically start.\\ The next time you want to start VcXsrv, just click on the //obelix_VcXsrv.xlaunch// file that you have saved on your desktop |
==== Notes ==== | ==== Notes ==== | ||
- | * Once you have started VcXsrv and logged in with you account on one of the asterix servers, it is highly suggested to **activate the windows wireframe moving mode** by typing:\\ ''gconftool-2 –set /apps/metacity/general/reduced_resources –type bool true'' | + | * Once you have started VcXsrv and logged in with you account on one of the obelix servers, it is highly suggested to **activate the windows wireframe moving mode** by typing:\\ ''gconftool-2 %%--%%set /apps/metacity/general/reduced_resources %%--%%type bool true'' |
* If you just need to run an //X server// (instead of using XDMCP), e.g. when you are outside LSCE, just start //VcXsrv// from the Windows Start Menu | * If you just need to run an //X server// (instead of using XDMCP), e.g. when you are outside LSCE, just start //VcXsrv// from the Windows Start Menu | ||
===== Cygwin-X ===== | ===== Cygwin-X ===== | ||
- | <note warning>Cygwin/X used to be pre-installed on your LSCE machine but the connection with the asterixN servers in XDMCP mode became unreliable\\ The Windows machines now use [[#vcxsrv_windows_x_server|VcXsrv]] but you may still need to install Cygwin-X in some special cases\\ This section covers the reinstallation/update, or installation from scratch</note> | + | <note warning>Cygwin/X used to be pre-installed on your LSCE machine but the connection with the obelixN servers in XDMCP mode became unreliable\\ The Windows machines now use [[#vcxsrv_windows_x_server|VcXsrv]] but you may still need to install Cygwin-X in some special cases\\ This section covers the reinstallation/update, or installation from scratch</note> |
Web & Download: http://x.cygwin.com/ | Web & Download: http://x.cygwin.com/ | ||
Line 87: | Line 87: | ||
* An xterm should appear | * An xterm should appear | ||
- | * Note: this will **NOT** work if you already have a running X server connected to the LSCE asterix servers in XDMCP mode | + | * Note: this will **NOT** work if you already have a running X server connected to the LSCE obelix servers in XDMCP mode |
* Type 'xterm' and check you get a new xterm window | * Type 'xterm' and check you get a new xterm window | ||
* In the notification zone, right-click on the X icon and choose About. You should get Version 1.16.1 (2014-10-17) or higher | * In the notification zone, right-click on the X icon and choose About. You should get Version 1.16.1 (2014-10-17) or higher | ||
* Type 'glxgears' and check that you get a window with rotating gears | * Type 'glxgears' and check that you get a window with rotating gears | ||
* Type 'glxinfo|grep -i opengl' and check the vendor string: it should be the same as your computer's graphics card | * Type 'glxinfo|grep -i opengl' and check the vendor string: it should be the same as your computer's graphics card | ||
- | * Type 'ssh -Y <your_login>@asterix1.saclay.cea.fr' to login to asterix1 | + | * Type 'ssh -Y <your_login>@obelix2.lsce.ipsl.fr' to login to obelix2 |
* do the 'xterm' test | * do the 'xterm' test | ||
* do the 'glxinfo|grep -i opengl' test | * do the 'glxinfo|grep -i opengl' test | ||
- | * exit asterix | + | * exit obelix |
* More tests with x11perf?? | * More tests with x11perf?? | ||
Line 140: | Line 140: | ||
==== Using Cygwin-X at LSCE ==== | ==== Using Cygwin-X at LSCE ==== | ||
- | We use //XDMCP query on asterix// in order to open a full Linux environment running on one of the asterix server, displayed in a full-screen window on the local desktop | + | We use //XDMCP query on obelix// in order to open a full Linux environment running on one of the obelix server, displayed in a full-screen window on the local desktop |
Use the following steps to create a shortcut on your desktop that you can use to start Cygwin-X in XDMCP mode: | Use the following steps to create a shortcut on your desktop that you can use to start Cygwin-X in XDMCP mode: | ||
* Right-click on the desktop and choose //New --> Shortcut// | * Right-click on the desktop and choose //New --> Shortcut// | ||
* Choose the target of the shortcut: //C:\cygwin64\bin\XWin.exe// | * Choose the target of the shortcut: //C:\cygwin64\bin\XWin.exe// | ||
- | * Do not forget to add the extra options to the shortcut, so that it looks like:\\ //C:\cygwin64\bin\XWin.exe -wgl -query asterix -terminate// | + | * Do not forget to add the extra options to the shortcut, so that it looks like:\\ //C:\cygwin64\bin\XWin.exe -wgl -query obelix -terminate// |
* Note: the //-wgl// argument is optional. It may (or not) give you some increased performance | * Note: the //-wgl// argument is optional. It may (or not) give you some increased performance | ||
- | * Select a name for the shorcut: //Asterix64//, //Asterix//, etc... | + | * Select a name for the shorcut: //Obelix64//, //Obelix//, etc... |
- | Once you have started Cygwin and logged in with you account on one of the asterix servers, it is highly suggested to **activate the windows wireframe moving mode by typing**:\\ ''gconftool-2 --set /apps/metacity/general/reduced_resources --type bool true'' | + | Once you have started Cygwin and logged in with you account on one of the obelix servers, it is highly suggested to **activate the windows wireframe moving mode by typing**:\\ ''gconftool-2 %%--%%set /apps/metacity/general/reduced_resources %%--%%type bool true'' |
==== Trying to have Cygwin-X work faster on Win7+Intel HDxxx cards ==== | ==== Trying to have Cygwin-X work faster on Win7+Intel HDxxx cards ==== | ||
- | * Activate wireframe mode\\ ''gconftool-2 --set /apps/metacity/general/reduced_resources --type bool true'' | + | * Activate wireframe mode\\ ''gconftool-2 %%--%%set /apps/metacity/general/reduced_resources %%--%%type bool true'' |
* Check if other metacity parameters should be set? | * Check if other metacity parameters should be set? | ||
* http://www.yolinux.com/TUTORIALS/GNOME.html#GCONF | * http://www.yolinux.com/TUTORIALS/GNOME.html#GCONF | ||
Line 167: | Line 167: | ||
* Enable //MIT-SHM extension// ([[http://en.wikipedia.org/wiki/MIT-SHM|MIT Shared Memory Extension ]])? | * Enable //MIT-SHM extension// ([[http://en.wikipedia.org/wiki/MIT-SHM|MIT Shared Memory Extension ]])? | ||
* http://x.cygwin.com/docs/ug/using-shared-memory.html | * http://x.cygwin.com/docs/ug/using-shared-memory.html | ||
+ | |||
+ | ===== Panoply ==== | ||
+ | |||
+ | You can use Panoply to work with **NetCDF** data (and some other geo-referenced data) if you just need a //quick-look// or you are not familiar with NetCDF | ||
+ | |||
+ | Web & Download: http://www.giss.nasa.gov/tools/panoply/ | ||
+ | |||
+ | {{:pmip3:database:visualizing_netcdf_panoply_seidenglanz.pdf|User manual}} (courtesy of Anne Seidenglanz)\\ [[http://www.geo.uni-bremen.de/Interdynamik/images/stories/pdf/visualizing_netcdf_panoply.pdf|Link to the original version]] | ||
===== GIMP ==== | ===== GIMP ==== | ||
Line 182: | Line 190: | ||
- JYP's .emacs file: {{:other:emacs_win_7_64_140408.zip|for Windows}} - {{:other:emacs_linux_150806.tar|for Linux}} | - JYP's .emacs file: {{:other:emacs_win_7_64_140408.zip|for Windows}} - {{:other:emacs_linux_150806.tar|for Linux}} | ||
- Annotated reference card of the emacs text editor: {{:other:newppl:emacs_jyp.pdf}} | - Annotated reference card of the emacs text editor: {{:other:newppl:emacs_jyp.pdf}} | ||
+ | |||
==== Configuration ==== | ==== Configuration ==== | ||
Line 197: | Line 206: | ||
==== Testing the tramp mode ==== | ==== Testing the tramp mode ==== | ||
- | Try to open a remote file, in order to check if tramp works correctly\\ e.g. /<your_login>@idefix1.saclay.cea.fr:.emacs | + | Try to open a remote file, in order to check if tramp works correctly\\ e.g. /<your_login>@ssh1.lsce.ipsl.fr:.emacs |
You will probably get the following error: Couldn't find a proper `ls' command | You will probably get the following error: Couldn't find a proper `ls' command |