You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I frequently use GLFS as part of GLMakie from within a remote tmux ssh session via x-forwarding. That generally works quite well; however, it does not survive re-attaching. Indeed, the issue can be reproduced with a plain GLFW window (via GLFW.jl, which is just a Julia wrapper around the C library)
Steps to reproduce:
Connect to a ssh remote, e.g., ssh <user@hostname>
run tmux on the remote
Start a Julia REPL on the remote, run using GLFW; GLFW.Window()
Detach from the tmux session using CTRL+b, d
Disconnect from ssh client using exit
Re-connect to ssh client ssh <user@hostname>
Re-attach to tmux session tmux -u attach-session
Open another window GLFW.Window().
Step 8 here fails reliably with
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 212 requests (212 known processed) with 1111 events remaining.
I verified that the DISPLAY variable is set correctly upon re-attaching. I suspect, however, that maybe some socket is moved/re-created upon re-attaching which invalidates some GLFW internal state? In fact, if I start a fresh Julia session and load GLFW after re-attaching, things work as expected.
The text was updated successfully, but these errors were encountered:
Migrating from JuliaGL/GLFW.jl#230
I frequently use GLFS as part of GLMakie from within a remote tmux ssh session via x-forwarding. That generally works quite well; however, it does not survive re-attaching. Indeed, the issue can be reproduced with a plain GLFW window (via GLFW.jl, which is just a Julia wrapper around the C library)
Steps to reproduce:
ssh <user@hostname>
tmux
on the remoteusing GLFW; GLFW.Window()
CTRL+b, d
exit
ssh <user@hostname>
tmux -u attach-session
GLFW.Window()
.Step 8 here fails reliably with
I verified that the
DISPLAY
variable is set correctly upon re-attaching. I suspect, however, that maybe some socket is moved/re-created upon re-attaching which invalidates some GLFW internal state? In fact, if I start a fresh Julia session and load GLFW after re-attaching, things work as expected.The text was updated successfully, but these errors were encountered: