PxPlus User Forum

Main Board => Discussions => Thin Client/WindX => Topic started by: dlocke on July 15, 2024, 09:08:58 AM

Title: Computer using two user slots.
Post by: dlocke on July 15, 2024, 09:08:58 AM
I'm having an issue where a user is using two licenses when connecting to a SimpleCS server  from the one PC.  The first connection uses one user slot and the next one uses a new user slot, every connection after this uses the same slot as the second connection. This results in the same user using 2 licenses on the same PC.

I'm using TCB(27) to check the user slot, this the correct way to check this ?  Also TCB(24) is showing two licenses used. 

 
Title: Re: Computer using two user slots.
Post by: EVa on July 16, 2024, 08:05:12 AM
When you connect to the server and click the icon in the upper left corner of the window and select 'About PxPlus' in the menu that appears, does it show serial number 799995 or something else ?
Title: Re: Computer using two user slots.
Post by: dlocke on July 16, 2024, 08:55:28 AM
Hi EVa

It shows 0799995 Pro. 
Title: Re: Computer using two user slots.
Post by: EVa on July 17, 2024, 05:12:42 AM
This only happens to me when I use different WindX versions (say v12 and v16) on the client PC to connect to the host.  So if the first connection uses WindX v12 and the second (and all following) one(s) use v16, it will consume 2 licenses.
Title: Re: Computer using two user slots.
Post by: dlocke on July 17, 2024, 08:53:31 AM
I'm only using one version 20.10 on the pc and the server.   I have also tried NTHost and it has the same problem. 
Title: Re: Computer using two user slots.
Post by: EVa on July 18, 2024, 03:50:41 AM
Are you starting the same shortcut on the client PC multiple times, or are these different shortcuts ?  If these are different, can you show us the target commands ?
Title: Re: Computer using two user slots.
Post by: dlocke on July 18, 2024, 08:21:29 AM
I'm using the same shortcut and running it multiple time.

Here is my WindX shortcut.
C:\Event\pxp_2023\pxplus.exe *plus\cs\client -arg **.**.**.** ""

Title: Re: Computer using two user slots.
Post by: Mike King on July 18, 2024, 12:30:48 PM
You should install and use the WindX plugin to connect and not the installed PxPlus as that will cause double user counts.
Title: Re: Computer using two user slots.
Post by: dlocke on July 18, 2024, 12:52:46 PM
I'm running the SimpleCS host on a Ubuntu server and I'm using the WindX plugin.   
Title: Re: Computer using two user slots.
Post by: Mike King on July 22, 2024, 11:27:52 AM
Is it possible you did not router STDIN and STDOUT to /dev/null for the SimpleCS server process?
Alternately are you runnin any other PxPlus processes on the server?
Title: Re: Computer using two user slots.
Post by: dlocke on July 22, 2024, 12:45:15 PM
Here is the little script used to start the CS Host.

#!/bin/bash
 PORT="4093"
 RECON="300"
 cd /pxp
 /pxp/pxplus "*plus/cs/host" -arg "$PORT;recon=$RECON" >/dev/null </dev/null &
 echo $!

I'm killing all pxplus processes before starting the CS host.  I start a WindX connection, I see 1 license being used and the two pxplus processes on the the server.  I start a second WindX connection , I see 2 licenses being used and 3 pxplus processes.  I think this should rule out the background process using a license.