[ase-users] ASE GUI problem

Hasan Al-Mahayni hasanalmahayni at gmail.com
Fri May 15 19:50:27 CEST 2020


Hello,

I have been trying to run this code using ASE:

import numpy as np

from ase import *

import os, sys

from ase import io

from ase.io import read

from ase.io import write

from ase.visualize import view

atoms = io.read('POSCAR')

view(atoms)



I get the following error message:


ase: error: TclError: no display name and no $DISPLAY environment variable

To get a full traceback, use: ase -T gui ...


And when i do "ase -T gui" I get:


*"_tkinter.TclError: no display name and no $DISPLAY environment variable"*


 Also, I do log in using "ssh -X ..."


Any ideas?


Thank you,


Hasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200515/074abfb3/attachment-0001.html>


More information about the ase-users mailing list