-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX 12.3.1 not OK remotely #1395
Comments
@alaingdl the gdl build on OSX using build_gdl.sh creates a full-featured desktop-only user gdl with wxwidgets interface, as reported in the startup screen: |
To be clear again : |
Using latest GDL on a Catalina running in a VM, remotely:
Of course the plot is on the mac display, not on my linux display. Because cocoa does not know about X11 at all. Now, after installing XQuartz, enable X11 frowarding, reboot, compiling gdl with -DX11:
and calling remotely gdl using the x11 driver:
Not so bad since I do not know how to convince the mac to authenticate with my linux. |
This is quite simple despite the fact it is erased by updates ... You should change few lines in /etc/ssh/sshd_config
then after you can restart the service without rebooting (I used that) :
(killing sshd is also documented ...) |
thanks.
probably easy to solve -- after all the initialization function for driver wxwidgets is found. |
Formula code: plplot.rb on GitHub does not create the x11 driver (even if XQuartz is present) ---> no chance to get a X11 output using homebrew's plplot. |
OK succeded. Now it is time to get this working automatically. Here a list of the point to take into account:
This creates the same gdl as on linux platform, that uses wxWidgets by default and X11 if gdl is called with option Provided the script build_gdl.sh does all theses things, we can probably use X11 in parallell of wxWidgets for unix and osx for future releases. |
I note that not having wxWidgets (-DWXWIDGETS=OFF) (or worse no wxWidgets and no X11 ) is not an option anymore and will crash the compilation. This must be corrected, not in build_gdl.sh which is for interactive uses, but in cmake for manual installation. |
@alaingdl please test this PR |
😄 searching my notes how to test a given PR ! one problem is the 16-core Mac I am using for such tests has lost the way to use Git, |
Concerning issue with Git after system update : I found a solution here
|
OK, the current version (after PR #1407) can again been compiled with and without Wxwidgets. Remotely I do have windows when starting gdl with --no-use-wx the quality of the plot is problematic but it will be in another issue then I think we can close this issue since we are back to normal behavior |
Accessing to this
After updating Brew and compiling twice (don't ask me why the first compilation was not OK !), I succeed to compile current Git today (not last week, and not tuesday ) with the script on a recent version of OSX : 12.3.1. Great.
But I was not able to open window through the network. (before 1.0.1 it was working well). xclock appears fine, and previously GDL plots too.
(exactly the same message when calling
plot, findgen(10)
)I like to compile and make tests on this hardware !
The text was updated successfully, but these errors were encountered: