Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Smartcard on Linux clients: firefox does not start

$
0
0

Hello,

 

I cannot start thunderbird, firefox every morning, when I start my work day.The problem is smartcard related and only occurs on a Linux client.

I have this behaviour usually when I go home in the evening and reconnect to a locked session in the morning

 

What happens:

 

Firefox and thunderbird do not start anymore, "sudo -s" or "pkcs11-tool -L"  command hangs.

 

The VM, on which this happens, is a RedHat 7.8 with the necessary smartcard fixes see [1], otherwise SCard does not work at all.

 

What needs to be done, for working SCard, is explained here:

 

[1] https://communities.vmware.com/thread/613996

 

But SCard,firefox,thunderbird,... works fine, when connected to the VM from Windows clients!

 

My VM runs: RHEL 7.8 with Horizon 7.9 or 7.10 ,windows clients works, no problem.

 

What happens on the Linux Thinclient?

 

pcscd is complaining:

 

pcscdaemoni.c 137 SVServicerunLoop : Problem during the context thread creation

winscard_svc.184 CreateContextThread Too many contex running 200

pcscdaeon.c 137:SVServicerunLoop Problem during the context thread creation

 

When I look a the source:

 

listSize = list_size(&contextsList);

if (listSize >= contextMaxThreadCounter)

{

        Log2(PCSC_LOG_CRITICAL, "Too many context running: %d", listSize);

        goto out;

}

 

So, after some time (evening to morning), something is using all context threads and this is the reason why firefox,thunderbird, pkcs11-tool -L ,etc.. hangs.

Rebooting the Thinclient works, and moving the session to another hosts works too to let firefox,thunbird etc. run.

Up to now, I cannot reproduce the bug, I must wait for it, for ~12 hours.


Viewing all articles
Browse latest Browse all 175326

Trending Articles