Forum / NoMachine Cloud Server Products / UNIX socket redirection
- This topic has 3 replies, 3 voices, and was last updated 9 years, 7 months ago by
frog.
-
AuthorPosts
-
March 9, 2016 at 10:09 #10481
snejokParticipantHello, dear NoMachine!
How can I redirect UNIX domain socket through nxplayer as like tcp port redirection?
I need to redirect pcsc service to server:
http://ludovicrousseau.blogspot.ru/2010/11/pcsc-client-and-server-on-two-different.html
As I understand I can workaround this by choosing ssh protocol and specifying ssh-wrapper script in nxplayer cfg.
March 9, 2016 at 11:50 #10491
rezaParticipantIt’s currently not possible to redirect UNIX domain sockets.
You can workaround this by binding them to TCP ports with help of nc or socat.
And yes, you can also play with ssh to accomplish it.
But what about NoMachine SmartCard sharing?
It may be a option for you.
March 14, 2016 at 08:48 #10533
snejokParticipantHello, 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 sidesb) 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? 🙂
March 14, 2016 at 18:32 #10555
frogParticipantHello,
in order to connect properly the SmartCard device, please follow these steps:
1. Start the NoMachine session.
2. Open the NoMachine menu inside the session (ctrl+alt+0 or click on
the page peel in the upper right corner of the window).
3. In the menu click on Devices -> SmartCards
3. Pick your smardcard and click ‘mount’
4. Inside the NoMachine session open a terminal and paste this command:
pkcs11-tool –module /usr/NX/lib/libpkcs11.so -L
It’s fundamental to run this command inside the session when the smartcard is already connected.
-
AuthorPosts
This topic was marked as solved, you can't post.
