# Trouble lanching mne\_browse\_raw, mne\_analyze

**URL:** https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543
**Category:** Mailing List Archive (read-only)
**Tags:** list-archive
**Created:** [February 7, 2013, 10:10am UTC](https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543 "2013-02-07T10:10:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [February 7, 2013, 10:10am UTC](https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543/1 "2013-02-07T10:10:44Z")

</div>

Dear MNE experts,

I just installed MNE suite on linux PC and works well with command.  
But when I launch GUI software such as mne\_browse\_raw and mne\_analyse,  
the windows look weired. I took screen shots of the windows, the link  
of which is as follows:

[https://picasaweb.google.com/118381394925289099963/MneWindowTrouble?authuser=0&feat=directlink](https://picasaweb.google.com/118381394925289099963/MneWindowTrouble?authuser=0&feat=directlink)

OS: Scientific linux 6.3(x86\_64)  
MNE v2.7.2(x86\_64)  
video card: nVidia GeForce 8600GTS

I have installed it on another linux, but I've got the same problem.  
OS: Fedora 14(x86\_64)  
MNE v2.7.3(x86\_64)  
video card:nVidia

For another linux PC(Fedora 11 x86\_64), I could get a normal gui  
window as in manual.

I suppose some libraries are missing, but it does not give me warning  
or error messages. So I don't have a clue.

mne\_opengl\_test worked well. So I don't think it is a problem of  
OpenGL libraries.

Many thanks for any advice or suggestions.

Best,

K Ogata

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [February 7, 2013, 10:19am UTC](https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543/2 "2013-02-07T10:19:59Z")

</div>

Hi,

You have not set up the MNE user environment correctly and as a result the GUI settings files are not found. Please consult the MNE Manual section 2.4.

Best,  
Matti

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [February 7, 2013, 5:19pm UTC](https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543/3 "2013-02-07T17:19:51Z")

</div>

Hey K,

Yes, I just helped a coworker with this same issue two days ago. Turned out  
in their .bashrc they were just running '$MNE\_ROOT/bin/mne\_setup\_sh'  
instead of 'source $MNE\_ROOT/bin/mne\_setup\_sh' -- the "source"ing of this  
setup script is critical, as it maintains the environment variables set by  
'mne\_setup\_sh' across the terminal session, instead of just having them  
during the execution of .bashrc.

Cheers,  
Eric

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [February 8, 2013, 1:25am UTC](https://mne.discourse.group/t/trouble-lanching-mne-browse-raw-mne-analyze/543/4 "2013-02-08T01:25:04Z")

</div>

Hi Eric,

Thank you for additional advice. When adding to .bashrc, I get  
messages from the script every time I open a terminal. So I added the  
sentence '. $MNE\_ROOT/bin/mne\_setup\_sh' to .bash\_profile, not .bashrc.  
I have no problem as for now. I'll try your suggestion when in  
trouble.

Thank you again.

Best,  
K Ogata
