Re: TSE licenses - continuously asking for new one?

Henrik Andersson <[email protected]> Tue, 7 Jan 2014 09:03:03 +0100
Newsgroups gmane.network.rdesktop.devel
Organization Cendio AB
Message-ID <[email protected]>
On Mon, 06 Jan 2014 17:04:45 +0100
Florent Peterschmitt <[email protected]> wrote:
Hi Florent,

> What we see here is:
> 
> 1. search for 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal file
> 2. fail to open it (it doesn't exists)
> 3. write to another file something (a new TSE license?)
> 4. close this new file
> 
> If I re-launch rdesktop, then the same file (09...) is asked, not
> found and another _new_ CAL file is created. At this point, I have 2
> CAL files.
> 
> If I mv the latest CAL to the wanted CAL (09...), here is what I have:
> 
> [admin@S777TXDTTEST ~]$ cd .local/share/rdesktop/licenses/
> [admin@S777TXDTTEST licenses]$ ls
> 0f6f3932c9ecff5b253edabc71d017de013a1778.cal
> ebbcc14692930d5d3f71925f6cc657ec02fa02cf.cal
> [admin@S777TXDTTEST licenses]$ mv
> 0f6f3932c9ecff5b253edabc71d017de013a1778.cal
> 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal
> [admin@S777TXDTTEST licenses]$ strace -o rdesktop.trace
> /usr/bin/rdesktop -x 0x86 -N -a 16 -P -z -k en-us S777SQ01 -u ''
> Failed to negotiate protocol, retrying with plain RDP.
> [admin@S777TXDTTEST licenses]$ cat rdesktop.trace |grep lice
> open("/home/admin/.local/share/rdesktop/licenses/09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal",
> O_RDONLY|O_LARGEFILE) = 5
> [admin@S777TXDTTEST licenses]$ ls
> 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal
> ebbcc14692930d5d3f71925f6cc657ec02fa02cf.cal  rdesktop.trace
> 
> Then it's ok, the 09... CAL is reused (we see a read() and close() of
> this file) and no extra CAL created.
> 
> 
> 
> Then, two questions :
> 
> * is this behaviour the expected one?

No, this is not an expected behavior.

> * does this behaviour can be responsible about an over consumption of
> TSE licenses?
> 

I'm unsure, i need to investigate the issue first before having a
straight up answer, I will take a look at this issue this week and get
back to you.


Kind Regards,

Henrik Andersson (Cendio AB)

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk