External Email - Use Caution
glxgears not displaying anything is usually an indication something is wrong with the X windows connection/setup, i.e., nothing displayed or black screen. WSL and configuring an X-server is a moving target, and MS changed how this works with WSL2 compared to WSL1. We have some notes on the setup with Xming under 'surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl’ which might help if you have not already seen them. I have not run into a case where images work but mouse events do not, however there are postings about this, 'stackoverflow.com/questions/62203272/how-to-fix-nonfunctional-x11-mouse-on-wsl2' As Ruopeng mentioned, you might want to try configuring MobaXterm instead of XMing, 'mobaxterm.mobatek.net/download.html’. Some users avoid the above by using our Ubuntu 18 VM image hosted by Virtualbox on Windows since the OS running in the VM uses its own built-in X-server. The FS 7.2.0 release is already installed and tested in that Ubuntu OS image and it should work to upgrade the OS and/or change the FS release on it as you like, 'surfer.nmr.mgh.harvard.edu/fswiki/VM_67' - R. On Dec 30, 2021, at 11:28, Wang, Ruopeng <RWANG4@mgh.harvard.edu> wrote: External Email - Use Caution Can you try MobaXterm instead of Xming:MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://secure-web.cisco.com/1jxT0_T88bRNfrSo8C6hC6oO7OWFMSDEC_LFDPewMU-noW6... Dec 30, 2021, at 7:51 AM, Carina Forster <carinaforster0611@gmail.com> wrote: External Email - Use Caution Dear Freesurfer community,I am using Windows 11 and Ubuntu on WSL2 to access freesurfer. I installed Xming. Unfortunately I get the following error msg when I try to open freeview:QXcbConnection: Could not connect to display 172.20.16.1Could not connect to any X display.I added my IP adress to the HOST file as suggested but that doesn't help. I also played around with export DISPLAY (setting it to my IP adress, setting it to 0.0 etc). Nothing helped.This is the Xming log (I thought that might help).Xming :0 -multiwindow -clipboard -acXdmcpRegisterConnection: newAddress 172..20.16.1winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixelwinAllocateFBShadowGDI - Creating DIB with width: 1536 height: 864 depth: 32winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32glWinInitVisuals:1596: glWinInitVisualsglWinInitVisualConfigs:1503: glWinInitVisualConfigs glWinSetVisualConfigs:1581: glWinSetVisualConfigsinit_visuals:1055: init_visualsnull screen fn ReparentWindownull screen fn RestackWindowInitQueue - Calling pthread_mutex_initInitQueue - pthread_mutex_init returnedInitQueue - Calling pthread_cond_initInitQueue - pthread_cond_init returnedwinInitMultiWindowWM - HellowinInitMultiWindowWM - Calling pthread_mutex_lock ()winMultiWindowXMsgProc - HellowinMultiWindowXMsgProc - Calling pthread_mutex_lock ()glWinScreenProbe:1390: glWinScreenProbefixup_visuals:1303: fixup_visualsinit_screen_visuals:1336: init_screen_visuals(--) 5 mouse buttons found(--) Setting autorepeat to delay=500, rate=31(--) winConfigKeyboard - Layout: "00000407" (00000407)(--) Using preset keyboard for "German (Germany)" (407), type "4"Could not init font path element C:\Program Files (x86)\Xming/fonts/Type1/, removing from list!Could not init font path element C:\Program Files\Xming\fonts\dejavu, removing from list!Could not init font path element C:\Program Files\Xming\fonts\cyrillic, removing from list!Could not init font path element C:\WINDOWS\Fonts, removing from list!winInitMultiWindowWM - pthread_mutex_lock () returned.winInitMultiWindowWM - pthread_mutex_unlock () returned.winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0winMultiWindowXMsgProc - pthread_mutex_lock () returned.winMultiWindowXMsgProc - pthread_mutex_unlock () returned.winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0winProcEstablishConnection - HellowinInitClipboard ()winProcEstablishConnection - winInitClipboard returned.winClipboardProc - HelloDetectUnicodeSupport - Windows VistawinClipboardProc - DISPLAY=127.0.0.1:0.0winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.winClipboardProc - XOpenDisplay () returned and successfully opened the display.Anyone ideas on what could be the problem?Thank you so much.Best,CarinaVirenfrei. MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://secure-web.cisco.com/1C5jhXE-PbTYYBTaHJWgRDhKIHbs3Qbt83CSGBlzQhxv554h... mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer________________... mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu