Skip to content

OSX + ssh -X + wxwidgets : display on bad screen when session active on the OSX side #2035

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

Open
alaingdl opened this issue May 5, 2025 · 1 comment

Comments

@alaingdl
Copy link
Contributor

alaingdl commented May 5, 2025

Sorry if the descriptions of my bug reports are not always clear enough or accurate, it is not so simple !

The context : working on my laptop running U2204. connecting to OSX using "ssh -X". Openning "xclock"
to check whether the X11 part is fine or not. The "xclock" arrived without trouble.

Using current Git version, compiled with the script :

alain@mac gdl-1.1.2git250426new % ./install/bin/gdl   
GDL - GNU Data Language, Version v1.1.2_testing2-6-g14ef296b
[...]
GDL> plot, findgen(10)

nothing happen on my (linux) screen. In fact the window appeared on the screen on the remote OSX where I do have a open session

BUT

alain@mac gdl-1.1.2git250426new % ./install/bin/gdl  -X
GDL - GNU Data Language, Version v1.1.2_testing2-6-g14ef296b
[...]
GDL> plot, findgen(10)

and the plot is here on the screen on my laptop

and if I switch off the session on the Mac then if I start again GDL I do have the plot
on my laptop. (I don't need to reconnect, nothing)

Another important point : the bug #1915 is ONLY for the X11 version, it is working fine for Wx version, locally and remotely

@GillesDuvert
Copy link
Contributor

@alaingdl indeed to get X11 plots you need the -X option in all cases, on systems supporting X11 (OSX, LINUX). Supporting X11... Until "they" really remove it, as obsoleted, as OSX did. 😦 😩
Why the X11 session is persistent even if you switch off the session on the Mac is indeed mysterious. There is AFAIK no provision for that in GDL. (could be: just checking if $DISPLAY is set and ready). I've no mac access and cannot do a thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants