PxPlus User Forum

Main Board => Discussions => Thin Client/WindX => Topic started by: JimGwynn on February 09, 2020, 01:01:33 PM

Title: The WindX utility program, *WindX.utl vis SSH
Post by: JimGwynn on February 09, 2020, 01:01:33 PM
We are attempting to spawn a new wdx session using
CALL "*WindX.utl;Spawn","/pxplus/STARTUP"

This works without error when client is connected via telnet
But when connecting using SSH we get the following error

1}CALL "*WindX.utl;Spawn","/pxplus/STARTUP"
Error #13: File access mode invalid
Current program is /pxplus/lib/_windx.utl, line 5150

Any ideas what we are doing wrong?



Title: Re: The WindX utility program, *WindX.utl vis SSH
Post by: Mike King on February 10, 2020, 08:20:14 AM
Generally the spawn requires setting %pxplus_host so the system knows how to spawn the new process since it cannot directly sign the spawn user process onto the system.

What is your setting for %pxplus_host$?
Title: Re: The WindX utility program, *WindX.utl vis SSH
Post by: JimGwynn on February 10, 2020, 12:25:18 PM
It is not set
Title: Re: The WindX utility program, *WindX.utl vis SSH
Post by: Mike King on February 10, 2020, 01:27:08 PM
You need to set it.

To issue a spawn the system needs to have an open port that can be used to connect and start the process.

When using SSH you would set %pxplus_host$ to something like:

*servername;port

Where


See https://manual.pvxplus.com/page/windx/windxutl.htm for additional details.