Skip to content

Fix for ase.visualize.mlab Visualization Issues over SSH with X11 Forwarding

Here: Your concise description of the content of this merge request.

Checklist

Description

Issue

ase.visualize.mlab fails when used from Windows 10/11 to Ubuntu 22.04 over an SSH connection with X11 forwarding. The problem is traced to mayavi.mlab not handling GUI window information correctly in this setup.

Solution

  • Adjusted mayavi.mlab settings for compatibility with SSH-forwarded GUI sessions.
  • Added a check to detect SSH connection to dynamically configure settings.

Unit test

Confirmed functionality in direct Ubuntu 22.04 execution and over SSH with X11 forwarding from Windows to Ubuntu.

Please review and consider merging these changes for enhanced remote visualization support.

Edited by Yohan LEE

Merge request reports