Forum / NoMachine for Linux / Drag & drop issues after update to 6.9.2
- This topic has 13 replies, 3 voices, and was last updated 4 years, 8 months ago by Tor.
-
AuthorPosts
-
February 19, 2020 at 15:44 #25680timjimParticipant
Hi,
I think that after I updated my NoMachine to 6.9.2, it seems to have broken drag and drop transfers of files. Now when I drag to the NoMachine window (CentOS 7 Linux server, GNOME) from my Windows 10 client or from the NoMachine window to my client, the popup for the transfer no longer appears.
The Windows client is also running 6.9.2
Many thanks and kind regards,
Tim
February 19, 2020 at 18:20 #25685TorParticipantHi. Is the file transfer working if you use the NoMachine tray menu on the server, or the Whiteboard window? Please try ‘Download a file from the server’ and ‘Send a file from the client’.
February 20, 2020 at 09:20 #25687timjimParticipantHi, thanks for your reply! I think I’ve found the issue for the drag and drop. Under:
Settings –> Server Preferences –> Transfers
The ‘Automatically save files in’ checkbox was not ticked (though I do not remember this begin required before) – checking this box bizarrely fixes the broken ‘Download a file from the sever’ and ‘Send a file from the client’ issue too.
February 20, 2020 at 09:41 #25688timjimParticipantOk, on closer inspection, I spoke too soon. Drag and drop fails, as does ‘Download a file from the server’. However, I may have identified why this happens.
I am working from a public connection that times out periodically, so I have to reconnect to the server when I lose my connection. I think that it is not correctly identifying that the previous connection has dropped and should be ended. When I look at the ‘Send a file from the client’ in the tray after I reconnect, I can see myself connected twice (I’ve attached a screenshot). Clicking send to the earlier session connection does not result in a transfer box, but clicking on the later session connection does. I assume that the drag and drop automation and the ‘Download a file from the server’ code is selecting the earlier/first session? This might make sense why I thought it had worked previously, as I had just restarted my server.
Let me know if I can gather any more information.
Incidentally, this wouldn’t be such an issue if the ‘Send a file from the client’/’Download a file from the server’ buttons could send multiple files! Is drag and drop the only way to send several files at once, currently?
Many thanks and regards,
Tim
Attachments:
February 20, 2020 at 10:53 #25695TorParticipantIncidentally, this wouldn’t be such an issue if the ‘Send a file from the client’/’Download a file from the server’ buttons could send multiple files! Is drag and drop the only way to send several files at once, currently?
Right now only the drag&drop supports sending multiple files. We’re working on this FR to improve the file transfer from menu, you could subscribe to know when it’ll be released:
https://www.nomachine.com/FR03N03065
We’re investigating the issue you’ve reported, I’ll tell you more later.
February 28, 2020 at 10:35 #25796timjimParticipantThanks for the update, Tor. I look forward to hearing about it.
March 2, 2020 at 16:14 #25826TorParticipantHi Tim. Would you kindly help us with the debugging by sending your logs? If you can do it, reproduce the issue then while the client is still connected to the remote desktop:
1. Execute the following commands in a terminal on the Linux server:
sudo tar czvf NoMachine-log.tar.gz /usr/NX/var/log
tar czvf NoMachine-user.tar.gz $HOME/.nx/M-*
2. Open the file browsing on Windows, enter
%USERPROFILE%\.nx
in the address bar, in the opening folder right click the latest directory with prefix “R-“, select “Send to” then select item “Compressed (zipped) folder”.3. Send all created archives to forum[at]nomachine[dot]com by using the name of this post as subject
March 4, 2020 at 11:20 #25851timjimParticipantHi Tor, just to let you know, the Linux log is more than a GB in size! Should I refresh my session or get a more specific log for you?
Kind regards,
Tim
March 4, 2020 at 16:32 #25864TorParticipantIf you’ve never enabled server debug logs (for an old troubleshooting request, for example), the big size could depend from multiple factors. Let’s go through this procedure so you’ll both clean up the space and retrieve all logs for the debugging.
1. Enter the directory
/usr/NX/var/log/node
2. Remove old debug logs with the commandsudo rm -rf F-*
3. Go back to the directory/usr/NX/var/log
4. Store old server logs by running the commandsudo /usr/NX/bin/nxserver --logrotate
. You can delete the rotated logs reported in the output if you don’t need them for other reasons.
5. Reproduce the issue with file transfer, and while the client is still connected to the desktop, run the commandsudo /usr/NX/bin/nxserver --debug --collect
. Verify if the resulting archive is smaller than the previous one.
6. Execute the commandtar czvf NoMachine-user.tar.gz $HOME/.nx/M-*
to store user’s server side logs.
7. Open the file browsing on Windows, enter%USERPROFILE%\.nx
in the address bar, in the opening folder right click the latest directory with prefix “R-“, select “Send to” then select item “Compressed (zipped) folder”.
8. Send all created archives to forum[at]nomachine[dot]comMarch 5, 2020 at 10:20 #25870timjimParticipantHi, I ended up sending the whole thing, did you receive it? I reproduced the error at the very end, so it should be one of the most recent actions.
Kind regards,
Tim
March 5, 2020 at 10:29 #25872BritgirlKeymasterI confirm we received the logs 🙂
March 6, 2020 at 12:41 #25875timjimParticipantThanks! Kind regards,
Tim
March 9, 2020 at 12:57 #25883timjimParticipantHi,
Just to put this up as a workaround – I noticed that when I get the multiple user issue after reconnecting, it is possible to reset the situation by manually disconnecting from the NoMachine top-right options/splash window and then reconnecting again. This seems to reset/clear up the multiple accounts so that it appears that I am a single user again, and drag & drop works.
Hopefully, that also gives a hint in your debugging!
Thanks again,
Tim
March 10, 2020 at 14:09 #25893TorParticipantHi Tim! We’ve found what is causing your issue and we’re working on a solution. You can track the report here and subscribe it to be alerted when we’ll release the fix (most likely in the next maintainance):
https://www.nomachine.com/TR03R09565
Your workaround is currently the only way to restore the file transfer. Thank you very much for your help.
An additional note. I’ve noticed that the size of your logs is caused by the server running in debug mode. You can execute the following commands to clean them up and save some disk space:
sudo /usr/NX/bin/nxserver --debug --disable all
sudo /usr/NX/bin/nxserver --logrotate
- Delete files in the directory reported by the output of the command above
-
AuthorPosts
This topic was marked as closed, you can't post.