Drag & drop issues after update to 6.9.2

Forum / NoMachine for Linux / Drag & drop issues after update to 6.9.2

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #25680
    timjim
    Participant

    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

    #25685
    Tor
    Participant

    Hi. 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’.

    #25687
    timjim
    Participant

    Hi, 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.

    #25688
    timjim
    Participant

    Ok, 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:
    #25695
    Tor
    Participant

    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?

    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.

    #25796
    timjim
    Participant

    Thanks for the update, Tor. I look forward to hearing about it.

    #25826
    Tor
    Participant

    Hi 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

    #25851
    timjim
    Participant

    Hi 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

    #25864
    Tor
    Participant

    If 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 command sudo rm -rf F-*
    3. Go back to the directory /usr/NX/var/log
    4. Store old server logs by running the command sudo /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 command sudo /usr/NX/bin/nxserver --debug --collect. Verify if the resulting archive is smaller than the previous one.
    6. Execute the command tar 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]com

    #25870
    timjim
    Participant

    Hi, 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

    #25872
    Britgirl
    Keymaster

    I confirm we received the logs 🙂

    #25875
    timjim
    Participant

    Thanks! Kind regards,

    Tim

    #25883
    timjim
    Participant

    Hi,

    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

    #25893
    Tor
    Participant

    Hi 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:

    1. sudo /usr/NX/bin/nxserver --debug --disable all
    2. sudo /usr/NX/bin/nxserver --logrotate
    3. Delete files in the directory reported by the output of the command above
Viewing 14 posts - 1 through 14 (of 14 total)

This topic was marked as closed, you can't post.