There are a couple of ways to address this.
If you are using the Simple CS program for your connections launch the Simple CS Host program on the desired user. This will result in all the spawned processes using that user id. There is however a slight caveat and that is most Linux distributions will not allow any process other than those running as 'root' to monitor any well-known port number (that is ports under 1024). Now generally this will be fine for the CS host program as its default if 4093 but if you are using a lower port number you may have to change.
If you want different processes to run on different user-ids then in your application, once you know what user-id you want to use you can issue a DEF UID=xxx (and optionally DEF GID=xxx) in order to change the user-id that the processes run on.
Another option is to simply have your users use WindX to directly sign-on to the Linux server and have a .profile (or .bash_profile) in their starting directory that launches PxPlus. This will have the users maintain their user-id and security settings. If your application needs to spawn additional WindX processes, you simply need to set the global variable %PXPLUS_HOST to "*hostaddr
" where hostaddr
is the Host Linux servers address as seen by the workstations, and port
is the port number to use. (See the note at the bottom of https://manual.pvxplus.com/page/windx/windxutl.htm