However, I would like to just be able to double click on a desktop icon to get everything up and running. So, now I can start Octave with the GUI from Cygwin, simply by running startxwin The same page also mentioned that the X Server can be started directly from Cygwin with the command startxwin. startxwinrc file, to prevent the xtrem terminal from starting by default, which worked. That worked, but since I don't want the xterm terminal to start since it is not needed, I found this page which told me to run touch ~/.startxwinrcįrom Cygwin to create an empty. The same page also said that you have to run the X Server by going to Start -> Cygwin-X -> XWin Server. However, then I instead got this error message: octave: unable to open X11 DISPLAY So I found this page, which told me to run echo "export DISPLAY=:0.0" >~/.bash_profileįrom Cygwin, to permanently get rid of the error message, which worked. Then, when trying to start Octave with the GUI from Cygwin with octave -force-gui, I initially got the error message octave: X11 DISPLAY environment variable not setĪnd Octave would start in console mode. So since I run Windows and could only find Octave 3.8 for Cygwin, I installed Cygwin and the packages octave, xinit, xlaunch and gnuplot (according to this page, but I don't know if all those packages are needed). ![]() ![]() Since GNU Octave comes wit a GUI since versions 3.8.0, I thought I should check it out.
0 Comments
Leave a Reply. |