External Email - Use Caution        


With regards to WSL, there is probably something preventing the X-server from correctly displaying graphics.  Instead of running freeview you could try a simpler command to test X-window graphics.  One command is “xeyes” which you can look for and try running in the Ubuntu terminal window by typing,

$ which xeyes
/usr/bin/xeyes
$ xeyes

If a window does not open displaying something like a pair of eyes then the X-windows server is not working correctly.

There are 2 different versions of WSL, i.e. version 1 and 2.  The setup for the X-server can be different depending upon which version you are running.  You can try to find the version by typing the following command at the Windows command prompt.  The number under VERSION should be the version of WSL you are running.

C:\Users\sam>  wsl -l -v
   NAME     STATE     VERSION
* Ubuntu   Running  2   <— means you are running WSL version 2

Down the bottom of this page are some instructions for setting up the Ubuntu shell environment for WSL, https://surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl_ubuntu

If you have not already run these 2 commands, then I would do so, 

echo "export XDG_RUNTIME_DIR=$HOME/.xdg" >> $HOME/.bashrc
echo "export DISPLAY=:0" >> $HOME/.bashrc

Then exit your Ubuntu terminal window and start a new one so those settings take effect.  Then try running the “xeyes” command again to see if it works.  If it does work, then try running freeview again.

With regards to trying to use the VM, if uncompressing the image is crashing then you may be running out of disk space.  You should check there is at least 40 Gig of free disk space in the location where you are trying to open the zip file.

- R.

On Oct 4, 2022, at 03:11, Justina Lee <justinalee56@gmail.com> wrote:

        External Email - Use Caution        


Hello R,

Sorry I wasn’t so clear on my part. I am using ubuntu linux on the windows subsystem linux (WSL). I followed these instructions at

 Is it still possible to fix the problem here internally or should I follow the instructions sent from the link previously to download Virtual Box and run freesurfer in this way? I have been trying to open the zip file Ubuntu compressed image but it seems to keep crashing as I load it. I will keep trying if the first way aforementioned is not possible. 

Thank you and hope this has become alittle clearer. 

Sincerely,
Justina 


On Mon, Oct 3, 2022 at 8:35 PM fsbuild <fsbuild@contbay.com> wrote:

        External Email - Use Caution        



Hello Justina,

We need to know what your setup is on Windows for running Linux in order to help with running freeview.  It reads like you are not using VirtualBox to run the Linux Ubuntu OS,

 I do not have VirtualBox installed ....

So it’s not clear to me how you are currently running Ubuntu Linux on your Windows machine in order to run freeview or other freesurfer commands.  Are you running Ubuntu linux with the Windows Subsystem for Linux (WSL)?  Maybe you are connecting remotely to a linux machine via VNC or the like from your Windows machine ? 

If you don’t mind running freesurfer 7..2.0 (instead of the newest 7.3.2 release), there is a smaller version of the VM to download from MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://surfer.nmr.mgh.harvard.edu/fswiki/VM_67  with setup instructions under that link.   But you would still need to download and install VirtualBox on your Windows machine and then download and install the Freesurfer Software.

- R.

On Oct 3, 2022, at 09:35, Justina Lee <justinalee56@gmail.com> wrote:

        External Email - Use Caution        


To whom that can provide any insight,

I am currently using Ubuntu on windows to open freeview to show some data. My issue at hand is that freeview does not show any images, despite changing the window levels (contrast and brightness). Using the command freeview -v works, and I am able to run it smoothly. When I try to open an mgz file, it runs fine, but I am unable to see anything. 

 I do not have VirtualBox installed and tried to take this advice from previous but I ran across the problem of downloading the course Virtual Machine. I do think that I do not need to download the VirtualBox and can continue using Ubuntu on Windows.

What could be the issue with this? Should I be downloading the Virtual machine to run Freeview?

Thank you so much for your time and I hope that my issue is not too big of a problem to solve.

Sincerely,
Justina


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to behttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline> .
-- 
Sent from Gmail Mobile
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer