Forum Replies Created
-
AuthorPosts
-
Giorgi-G.Contributor
Hi,
There are 3 possible reasons why it doesn’t work.
1. USB forwarding kernel object is not compiled. Take a look here https://www.nomachine.com/AR12J00658
2. Your Linux is running in Secure Boot mode, take a look here https://www.nomachine.com/AR05O00929
3. On the remote Unix machine, the administrator has disabled USB forwarding/connecting to it and that’s why you can’t forward anything to Unix machine.
Giorgi-G.ContributorHi,
Here is a way that should fit it.
1. Check whether this file exists on your disk — C:\WINDOWS\system32\drivers\asmthub3.sys
If yes – USB forwarding will remain disabled.
2. Check whether this file exists on your disk– C:\Program Files (x86)\NoMachine\etc\node.cfg
If yes – please attach that file to your forum reply.
Also check whether you have rights to open and read that file. If you don’t, it will also not work.
3. Send us output file PC1.txt generated after running this command in command prompt.
driverquery /V > PC1.txt
3. Uninstall NoMachine -> Restart machine -> Install NoMachine -> Restart machine again.
It should work well. If not, please send us new logs.
Giorgi-G.ContributorFirst of all you need to restart nxserver after uninstallation of ASMedia USB Drivers. It can be done manually or you can restart whole machine.
It also matters how you deleted ASMedia USB Drivers. It should be deleted using the original uninstall tool by ASMedia from Programs and Features.
And can you send us logs from your Windows machine and I will check whether there might be any conflicting drivers that are stopping the nxusb module from working?
Giorgi-G.ContributorHi,
Can you please send us logs from Windows machine (see https://www.nomachine.com/AR10K00697″) and screenshot of Devices -> Connect USB Device panel?
And also try to forward another USB device, i.e. Flash Drive from your Windows to Ubuntu. Just do that after restart of both machines.
Giorgi-G.ContributorHi,
The thing that you can’t forward even USB flash drive indicates that the issue is not in the smart card reader, it’s probably in the USB forwarding module.
That’s why we weren’t able to reproduce it because of we were testing Omnikey 3021 USB Smart Card Reader.
For now we suggest to update NM to the latest version and try to make the following test.
Connect in NM to remote host. Go to USB forwarding tab, list devices.
Do you see here local and remote devices listed?
After close devices tab and type following command in remote Linux terminal:
lsmod | grep nxusb
If result is empty – try to type next one command:
sudo insmod /usr/NX/bin/drivers/nxusb.ko
And after repeat first command and send us terminal output.
Also check out this article: https://www.nomachine.com/AR05O00929
Giorgi-G.ContributorHi,
NoMachine supports USB devices forwarding and may allow to forward your USB game controller from your Windows machine to the remote Ubuntu. To do that you need to click on top right corner of screen, after NoMachine session menu will appear click to
Devices -> Connect USB Device -> Find your game controller in list of Local Devices -> Click on it -> Click Connect.
After device will be forwarded to remote machine you will see green dot near your device.
Please have in mind that if you want game controller to work on remote Ubuntu you need to have installed drivers for it on Ubuntu.
Additionally, if you will not see any devices in Devices -> Connect USB Device panel, it may sign that you have not builded nxusb.ko module n Ubuntu. To build it please follow this article AR12J00658
Giorgi-G.ContributorHi,
First of all here are instructions on how to recover corrupted installation:
For that you need to move:
C:\Program Files (x86)\NoMachine\etc\server.lic.sample
toC:\Program Files (x86)\NoMachine\etc\server.lic
and also move:
C:\Program Files (x86)\NoMachine\etc\node.lic.sample
toC:\Program Files (x86)\NoMachine\etc\node.lic
After that you need to run installation file of the NoMachine Free installer with disabled USB forwarding module and update NoMachine installation.
We will pass a link to the free NoMachine version with disabled USB forwarding module.
After updating you will be able to use all functionalities of the NoMachine Free version expect USB devices forwarding.
Also it would be very helpful for us if you could send your Memory Dump File for us to check. Usually it’s located here: %SystemRoot%memory.dmp.
Giorgi-G.ContributorHi,
NoMachine USB forwarding module uses specific methods and drivers that may not be compatible on some OSes with third party drivers with the same functionality. We recommend to disable it in the other program for a correct functioning of USB in NoMachine.
Giorgi-G.ContributorHi,
We are still unable to reproduce this despite several attempts.
@frank, can you please tell us what versions of OS you use and your smart card reader version?And also, have you tried to forward some another USB device, not SM reader ?
Regards.
Giorgi-G.ContributorHi,
first try uninstalling NoMachine from your Mac and restart the machine. After that, install the latest version from our website. Then check in System Preferences… -> Security & Privacy that there is nothing that needs to be accepted manually for ‘Apps downloaded from App store and identified developers’.
You should see something like I have attached, so then try forwarding USB device once again.
Attachments:
Giorgi-G.ContributorHi,
Can you please send us logs collected from this folder: %PROGRAMDATA%/NoMachine/var/log
Attach them here or send directly to forum[at]nomachine[dot]com making sure you tell us which topic you are submitting them for.
Giorgi-G.ContributorHi,
Thanks for provided info and logs.
We’re investigating and will try to reproduce in our lab. We will come back to you as soon as possible.
Giorgi-G.ContributorHi,
To investigate your issue we need to have logs from both machines.
1. Please send us logs from this folder /usr/NX/var/log from client machine and also from server. Please collect them when the session is connected. You can attach them here or send them directly to forum[at]nomachine[dot]com.
2. Are you entering Devices -> Connect USB device menu on the client?
3. What version of NoMachine do you have installed on your machines?
4. Does that file /usr/NX/bin/drivers/nxusb.ko exists on both machines?
5. After closing the session, please run this commandsudo /etc/NX/nxserver –restart
Does it help? Logs after running that command also might be helpful.
Giorgi-G.ContributorHi,
First of all it’s important to mention that the options “Connect a USB device” and “Smart Card Readers” uses different mechanisms for forwarding devices.
“Connect a USB device” is a common mechanism that typically works with most USB devices. The simplest way to check whether the problem is in your smartcard or in USB devices forwarding mechanism is to try to forward another USB device such as Flash Drive.
The logs from the Windows side, where hardware is connected may be helpful.
September 24, 2018 at 14:12 in reply to: Windows to Linux USB pass through not working correctly #19710Giorgi-G.ContributorCan you please send us compressed logs from Windows:
%PROGRAMDATA%/NoMachine/var/log
And also logs from Linux:
/usr/NX/var/log
Instructions on how to get logs are here: https://www.nomachine.com/AR10K00697
You can send them directly to forum[at]nomachine[dot]com or attach them here if they are not too big.
-
AuthorPosts