Hello, reza!
There is one problem with NoMachine SmartCard sharing:
I don’t understand how to find smart card reader on server side after redirection: 🙂
a) I installed pcscd, opensc and libasedrive-usb package to Ubuntu 12.04 client and server sides
b) on client: # opensc-tool -l
# Detected readers (pcsc)
Nr. Card Features Name
0 Yes AseIIIeUSB 00 00
and
# pkcs11-tool –module /usr/lib/opensc-pkcs11.so -L
Available slots:
Slot 0 (0xffffffff): Virtual hotplug slot
(empty)
Slot 1 (0x1): AseIIIeUSB 00 00
(empty)
c) I launched Nxplayer and said him to use /usr/lib/opensc-pkcs11.so security module, after that nxplayer redirected smart card to server
d) on server after redirection:
# opensc-tool -l
No smart card readers found.
and
# pkcs11-tool –module /usr/lib/opensc-pkcs11.so -L
Available slots:
Slot 0 (0xffffffffffffffff): Virtual hotplug slot
(empty)
and
# pkcs11-tool –module /usr/NX/lib/libpkcs11.so -L
error: PKCS11 function C_Initialize failed: rv = CKR_FUNCTION_FAILED (0x6)
Aborting.
Am I doing it wrong? 🙂