You can create a virtual X server using Xvfb to stop python complaining. I haven't tried it out myself but it should work. Maybe someone else can suggest a better solution.
http://en.wikipedia.org/wiki/Xvfb Sameer On 18 August 2014 22:43, Mark S. Bentley <[email protected]> wrote: > Dear all, > > I have some pygwy scripts for that work very well on my desktop (mainly > creating gwy files). I want to move this operation to a headless linux > server, but python crashes on import with the error: > > Gtk-WARNING **: cannot open display: > > Does anyone know if I can force Gwyddion to work in this environment? At > the moment I'm only creating files, but later I would also like to > perform some batch operations on the images (plane level etc.). Can I > use off-screen rendering? > > Any hints gratefully accepted! > > Thanks, Mark > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gwyddion-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gwyddion-users >
------------------------------------------------------------------------------
_______________________________________________ Gwyddion-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gwyddion-users
