NeoGeographyToolkit / StereoPipeline

The NASA Ames Stereo Pipeline is a suite of automated geodesy & stereogrammetry tools designed for processing planetary imagery captured from orbiting and landed robotic explorers on other planets.
Apache License 2.0
478 stars 168 forks source link

stereo_gui not working with port forwarding #410

Closed ShashankBice closed 9 months ago

ShashankBice commented 9 months ago

Describe the bug Latest version of stereo_gui does not work on remote x11 forwarding setup, old version from 2022 does.

To Reproduce Steps to reproduce the behavior:

  1. Run stereo_gui as: stereo_gui img.tif --delete-temporary-files on pfe, with ssh from a local linux machine using ssh -Y pfe
  2. Program starts, builds overviews (*sub_x.tif files), but fails at display step saying the x11 connection broke, full error log pasted below. I am not very familiar with the software involved behind the scenes, so pardon me for the limited info I am able to provide.

Expected behavior The images would have loaded up on my local machine

Error Logs, Terminal Captures, Screenshots

Reading: img.tif
Detected large image: img.tif. Will construct an image pyramid on disk.
Using existing subsampled image:img_sub2.tif
Using existing subsampled image: img_sub4.tif
Using existing subsampled image: img_sub8.tif
Using existing subsampled image: img_sub16.tif
Using existing subsampled image: img_sub32.tif
The X11 connection broke: No error (code 0)
XIO:  fatal IO error 2 (No such file or directory) on X server "localhost:25.0"
      after 333 requests (333 known processed) with 0 events remaining.

Your Environment (please complete the following information):

Please let me know how to proceed, Thanks, Shashank

oleg-alexandrov commented 9 months ago

I tried connecting to Pleiades with ssh -Y and it worked. I got a gui window. My own build is 3.4.0-alpha-2023-09-17, but I don't think it matters.

Are you able to start any other gui program, such as xterm? This is an error in setting up an X connection and should apply to any GUI programs.

See if things work with ssh -Y to pfe26. I did not try other nodes.

I usually use vncserver on Pleiades, as then the gui loads faster, but I heard they are going to deprecate this.

On Thu, Sep 21, 2023 at 6:09 PM Shashank Bhushan @.***> wrote:

Describe the bug Latest version of stereo_gui does not work on remote x11 forwarding setup, old version from 2022 does.

To Reproduce Steps to reproduce the behavior:

  1. Run stereo_gui as: stereo_gui img.tif --delete-temporary-files on pfe, with ssh from a local linux machine using ssh -Y pfe
  2. Program starts, builds overviews (*sub_x.tif files), but fails at display step saying the x11 connection broke, full error log pasted below. I am not very familiar with the software involved behind the scenes, so pardon me for the limited info I am able to provide.

Expected behavior The images would have loaded up on my local machine

Error Logs, Terminal Captures, Screenshots

Reading: img.tif Detected large image: img.tif. Will construct an image pyramid on disk. Using existing subsampled image:img_sub2.tif Using existing subsampled image: img_sub4.tif Using existing subsampled image: img_sub8.tif Using existing subsampled image: img_sub16.tif Using existing subsampled image: img_sub32.tif The X11 connection broke: No error (code 0) XIO: fatal IO error 2 (No such file or directory) on X server "localhost:25.0" after 333 requests (333 known processed) with 0 events remaining.

Your Environment (please complete the following information):

  • OS: [Remote OS: Pleiades, 4.18.0-477.21.1.1toss.t4.x86_64, Local OS: Ubuntu VERSION="20.04.4 LTS (Focal Fossa)"
  • ASP Version: [3.4.0-alpha, build date: 2023-08-23]. It works on ASP version [3.0.0, build date: 2022-01-26]

Please let me know how to proceed, Thanks, Shashank

— Reply to this email directly, view it on GitHub https://github.com/NeoGeographyToolkit/StereoPipeline/issues/410, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKDU3AL3HRXOLMWC42F5N3X3TQMNANCNFSM6AAAAAA5CLOGAQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ShashankBice commented 9 months ago

Hi Oleg, Thanks for the guidance, latest version works using a vnc setup!