Windows X Server and display
Posted: 2007-10-25T23:50:23-07:00
Successfully built version 6.3.6 on my Windows XP laptop using VisualStudio 8. Everything works fine except for image.display() when I get the dreaded
"unable to open X server `(null)' [no such file or directory]" error.
I have read suggestions to set the environment variable DISPLAY to :0 or localhost:0.0 but I have had no success (I typed "set DISPLAY= ..." at the command prompt.) I have tried this while running cygwin/x and also xming and get the same results. I also get the same result when I try to pass in -display at the command line for commands such as animate, but I get the same message. I'd rather not admit how long I've been banging my head on this, so I'm open to any and all suggestions! Thanks very much.
Chris Groer
University of Maryland
"unable to open X server `(null)' [no such file or directory]" error.
I have read suggestions to set the environment variable DISPLAY to :0 or localhost:0.0 but I have had no success (I typed "set DISPLAY= ..." at the command prompt.) I have tried this while running cygwin/x and also xming and get the same results. I also get the same result when I try to pass in -display at the command line for commands such as animate, but I get the same message. I'd rather not admit how long I've been banging my head on this, so I'm open to any and all suggestions! Thanks very much.
Chris Groer
University of Maryland