PxPlus User Forum

Main Board => Knowledge Base / Training => FAQs => Topic started by: PxPlus on July 12, 2018, 10:14:05 AM

Title: How can I spawn a process when using WindX and SSH
Post by: PxPlus on July 12, 2018, 10:14:05 AM
Because SSH effectively requires a user to log on to the Unix/Linux system, spawning a session when you are connected using SSH requires some special settings.
This would also be required when using the report viewer *viewer* as it spawns a process.

Basically you have two choices -- both of which are controlled by setting the global variable %PXPLUS_HOST$ prior calling *windx.utl;spawn.

The challenge is to make sure the host address you use is the host address as seen by the workstation.  For example if your host server is connected to the internet using a router and the workstation will be coming in from outside, then the IP address will need to be the external address and not internal address.

Note: In both cases you will need to make sure whatever port you use is accessible from the workstation and not blocked by a firewall.