<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Rob,<div><br></div><div>You are absolutely right in pointing out that the WSL hints are not up to date. I also agree that running the built-in WSL X server is much better! :-)</div><div><br></div><div>Thanks for reporting the hints to mcstas-users!</div><div><br></div><div>(And lovely to still have a day with a bit of mailinglist traffic ~ 25 years after McStas 1.0 was released. :-) )</div><div><br></div><div>Cheers</div><div>Peter<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 24 Oct 2023, at 15.43, Robert Dalgliesh - STFC UKRI <robert.dalgliesh@stfc.ac.uk> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Hi Peter,<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">I’ve just been trying mcstas 3.4 on windows 10 using the WSL and found some things that could do with being updated in the documentation.<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">I found that if you make sure that you are running wsl 2 instead of wsl 1 you can run the x-windows apps ‘natively’.<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">i.e. you don’t need to run Xming which is, to be honest, pretty awful. I found that x-windows disappear when the machine switches of screens etc.<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">The steps I used were.<span class="Apple-converted-space"> </span><o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Enable these 2 windows features from control panel<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Virtual Machine Platform (this may require VM activity to be enabled in the BIOS)<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Windows subsystem for linux<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Open an administrator level command prompt/power shell<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Force the update to wsl 2 by default<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9pt; font-family: Consolas; color: rgb(31, 35, 40); border: 1pt windowtext; padding: 0cm;">wsl --set-default-version 2</span><span style="font-size: 9pt; font-family: Consolas; color: rgb(31, 35, 40);"><o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Install Ubuntu from the windows store.<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">If you have already installed a distro. Update to wsl 2 using something like<o:p></o:p></div><pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: "Courier New";"><code style="font-family: "Courier New";"><span style="font-size: 9pt; font-family: Consolas; color: rgb(31, 35, 40); border: 1pt windowtext; padding: 0cm;">wsl --set-version Ubuntu-22.04 2</span></code><span style="font-size: 9pt; font-family: Consolas; color: rgb(31, 35, 40);"><o:p></o:p></span></pre><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Fire up an Ubuntu terminal, install mcstas as described and run mcgui.<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">All the best<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Rob<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif;">=======================================<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif;">Dr. Robert Dalgliesh<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif;">Small Angle Scattering Group Leader<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">ISIS Neutron and Muon Source</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51);"><br><span style="background: white;">Science and Technology Facilities Council</span><br><span style="background: white;">Building R3 1.29,<span class="Apple-converted-space"> </span><o:p></o:p></span></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">Rutherford Appleton Laboratory​​</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51);">,<br><span style="background: white;">​Harwell Campus,<span class="Apple-converted-space"> </span><o:p></o:p></span></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">Didcot</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51);"><br><span style="background: white;">​Oxfordshire,<span class="Apple-converted-space"> </span><o:p></o:p></span></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">OX11 0QX.  <o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">UK</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51);"><o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">Tel: +44(0)1235-445687<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); background: white;">Email:<span class="Apple-converted-space"> </span><a href="mailto:Robert.dalgliesh@stfc.ac.uk">Robert.dalgliesh@stfc.ac.uk</a></span><span style="font-size: 8pt; font-family: Arial, sans-serif;"><o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">mcstas-users mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="mailto:mcstas-users@mcstas.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">mcstas-users@mcstas.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="https://mailman2.mcstas.org/mailman/listinfo/mcstas-users" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://mailman2.mcstas.org/mailman/listinfo/mcstas-users</a></div></blockquote></div><br></div></body></html>