X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



5720 Rate this article:
No rating

Slowness opening ENVI interface while connected remotely using SSH

 

Problem:

Customer can encounter a slowness while opening the ENVI interface while working on a remote connection.

Discussion:

After discussing with developers, it seems that performance delays in remotely displaying a GUI via X/ssh is not unexpected, as there are a number of factors that reside on both the remote and local machines that can contribute to this delay. Also, because the ENVI 5 GUI is particularly complex (far more complex than the ENVI Classic menu bar), realization of this GUI seems to be particularly susceptible to this issue.

Other complex GUI and heavy graphical applications from other vendors can also be susceptible to similar performance issues when used over a remote connection.

Proposed solutions and workarounds:

However, there may be ways to improve the startup time for ENVI in this situation. Here are some possibilities:

1.) For ssh X11 forwarding, if permitted, using Trusted X11Forwarding  (using "ssh -Y" rather than "ssh -X") might reduce communication times since it avoids the extra restrictions imposed by the X11 SECURITY extension.

2.) Additionally for ssh, if the network bandwidth between the remote and local machine is particularly narrow or taxed, perhaps compressing the ssh communications (using -C switch) could help. For example:

   ssh -YC ...

3.) Another idea might be to avoid the overhead of X11forwarding (which causes X communication to be redirected to a proxy X forwarding server on the Linux machine, which then communicates with the X server running on the XP machine) altogether, by using direct TCP/IP port communication, such that the DISPLAY environment variable on the Linux machine must be explicitly defined to point to the display system’s X server Display window setting, for example (from a Bash shell):

   export DISPLAY=mywinxp-machinename-or-ip:0.0

and then starting ssh without X11 forwarding:

   ssh -x ...

4.) Another idea might be to use remote desktop utility connection (like RealVNC) instead of a remote X11 display.  In this case, a virtual X server is running on Linux and only images of the Linux desktop are displayed to the XP system(rather than local X server display rendering of widgets, and high volumes of event communications between the local X server system and the remote ENVI/IDL host system).

5.) Lack of OpenGL rendering capability may also affect remote ENVI rendering performance for aspects that may otherwise take advantage of IDL object graphics OpenGL rendering acceleration. Here is a link to another help article that discusses this related topic:

http://harrisgeospatial.com/Support/SelfHelpTools/HelpArticles/HelpArticles-Detail/TabId/2718/ArtMID/10220/ArticleID/18142/5312.aspx

Finally, if it can be helpful, here is a web page on the Lawrence Berkeley National Lab web site that discusses various approaches to accelerating Remote X Performance of GUI applications:

  http://vis.lbl.gov/Events/SC08/RemoteX/index.html

Reviewed on 04/02/2014 by JU

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »