gablab / mindhive

scripts, wiki and issues related to mindhive
mindhive.mit.edu
7 stars 77 forks source link

Cannot open windows when using a node #66

Open xaviergp opened 7 years ago

xaviergp commented 7 years ago

Hi! I have an issue: When I try to open a node the systems asks for a password. It does not accept my password, but if I simply press return 3 times it looks like it gives me access to the node. However, an error message says that x11 could not connect to the node:

[17:51][1.85][-102%]xaviergp@openmind7:~$ srun --x11 --pty --mem=1G bash
The authenticity of host 'node012 (172.16.20.12)' can't be established.
ECDSA key fingerprint is b8:77:68:03:fc:8d:a4:5a:64:87:7a:9a:10:10:9a:90.
Are you sure you want to continue connecting (yes/no)? 
xaviergp@node012's password: 
xaviergp@node012's password: 
xaviergp@node012's password: 
srun: error: x11: unable to connect node node012
[17:52][14.31][-88%]xaviergp@node012:~$

Once I am in the node I cannot open windows such as Matlab. It seems like the reason is that x11 is not working well in the node:

[17:52][14.31][-88%]xaviergp@node012:~$ module add mit/matlab/2016b
[17:52][14.52][-88%]xaviergp@node012:~$ matlab
MATLAB is selecting SOFTWARE OPENGL rendering.

                                       < M A T L A B (R) >
                             Copyright 1984-2016 The MathWorks, Inc.
                              R2016b (9.1.0.441655) 64-bit (glnxa64)
                                        September 7, 2016

 
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

Is there any solution? Thank you! Xavier.