Trouble lanching mne_browse_raw, mne_analyze

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

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

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

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

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