View Single Post
Old 10-26-2015, 12:58 PM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,306
Hi All,

If anyone is interested, it is possible to configure SecureCRT to run a logon script which could get at a display environment variable and set the port.

You can configure a Logon script: in the Connection / Logon Actions category of the Session Options dialog.

The script which could be a logon script is attached.
Attached Files
File Type: txt SetXServerFromDISPLAYEnvVar.vbs.txt (3.3 KB, 375 views)

VanDyke Software
Technical Support
Reply With Quote