Lagging and weird keyboard strokes

Forum / NoMachine for Linux / Lagging and weird keyboard strokes

Tagged: ,

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2190
    hchan
    Participant

    Hi,

    I was using 3.x version of NoMachine for years, and I don’t experience any issue.

    Recently, I switched to 4.0, and I see couple issues:

    1. It is not so responsive.  I tried to run another 3.5 client to connect back to my old 3.5 server, and it is very responsive…so it is unlikely a network issue.  Any setting in 4.0 to optimize the connectivity for latency so that it will be more responsive?

    2. Sometimes, when I pressed ctrl+c or ctrl+x, they got translated into 10+ ‘c’ or 10+ ‘x’. I never have such problem with 3.5.

    Anyone experience the same issues above? Any workaround?

    Thanks in advance.

    #2217
    Dan25
    Participant

    1. It is not so responsive.  I tried to run another 3.5 client to connect back to my old 3.5 server, and it is very responsive…so it is unlikely a network issue.  Any setting in 4.0 to optimize the connectivity for latency so that it will be more responsive?

    Have you tried tweaking the display settings (menu -> display -> display settings). In version 4 the new protocol is much better at handling modern applications which are considered more “graphic-intensive” (more details about the new protocol are here: https://www.nomachine.com/AR11K00745).

    In 4.1 we have implemented a new optional “lightweight mode” for thin-clients and for client and server machines with lower HW characteristics.

    2. Sometimes, when I pressed ctrl+c or ctrl+x, they got translated into 10+ ‘c’ or 10+ ‘x’. I never have such problem with 3.5.

    We will investigate this.

    #2234
    hchan
    Participant

    In “display settings”, I have disabled “network-adaptive display quality” (this might cause the lag?), “multi-pass display encoding” and “client side image post processing”.

    Not sure whether they are what you refer to.

    #2305
    hchan
    Participant

    FYI, I upgraded my server and client to 4.1 but I don’t see much latency improvement.

    I don’t do any graphic intensive things…just running IDEs (e.g. Eclipse).

    My server is on CentOS 6.5, and clients are on Windows 7 and CentOS 6.4 if it matters…

    #2329
    titan
    Participant

    Lagging compared to what? Lagging compared to some other remote desktop system? Because if you can show me a remote desktop system that is faster and less laggy than NX 4 I’ll be glad to spend some time learning how they did it.

    Or do you mean lagging compared to NX 3? If it is lagging compared to NX 3 when running lightweight X applications like a terminal or an IDE, then I’d say that it’s rather normal. You can’t compare NX 3 to NX 4 in this respect. NX 3 is simply unbeatable at running such X11 applications. On the other hand, as a system designed to transport applications built on top of X11, NX 3 shares with X11 most of its limits and most of its technical deficiencies. At least all the technical deficiencies that we couldn’t work around because we had to respect the X11 protocol semantic and follow the way X11 applications throw the X11 protocol at us. So we started afresh and designed NX 4 to be a remote display system with none of these limits and technical deficiencies. We did a good job, I think, if our only competitor seems to be our own “old version”.

    We tried to keep a single code base and move ALL users to the new system because keeping 2 completely different display systems in place is expensive, but since NX 3 was so good, we couldn’t make everybody happy. Some noticed a small performance decrease when running the same applications (and this was an outstanding achievement), some were extremely happy to see that now they could do things that they were never able to do with NX 3, and finally some others found the new system inferior to the old for the use cases they were interested in, that’s all that counts for them (then there were those who didn’t like the fact some things that were free went into a pay-for version, but that’s a different story). I believe in a couple of years nobody will look back to NX 3 with nostalgia, but when you have a system that works well and make people happy, why throwing the baby out with the bathwater? So we introduced this “lightweight” mode. The lightweight mode is available in the Linux Workstation and all products providing Linux virtual desktops (so no lightweight mode for the free Linux version that doesn’t have virtual desktops). It works in the same way as NX 3, that is by using the glorious X11 protocol. Fonts will never be blurry and the responsiveness will be the same as you were accustomed before, but probably you won’t be able to watch Netflix or YouTube, do videoconferencing, play a game or connect 10 users at the same desktop. But if you don’t care watching Netflix, doing videoconferencing or play a game on the machine you use at work, lightweight NX 4 sessions are what you are looking for.

    #2332
    hchan
    Participant

    Hi Titan,

    Yes, I was comparing NX 4.x to NX 3.5 (sorry that I didn’t copy my original post to my reply so that you won’t miss it).

    Yes, I use NX to remotely connect back to my desktop for development purpose only, and so I don’t care about watching Netflix, doing videoconferencing and videogaming.

    When I upgraded to NX 4.x from 3.5 I didn’t know such a big revamp in NX, otherwise, I would just stick with NX 3.5 (though it is no longer available)….

    I will see whether I can somehow get LXDE on CentOS 6 (currently not available in its official repository)….

    Thanks for your suggestion 🙂

    #2347
    titan
    Participant

    You posted to say NX 4 is lagging. I don’t think it’s lagging in any way. I challenge you to show me a remote desktop system that is less “laggy” than NX 4. I think that, for other people reading this forum and that may have the experience of other remote desktop systems that, compared to NX 4, are WAY MORE lagging in every respect it was important to put your statement in the right context.

    When I upgraded to NX 4.x from 3.5 I didn’t know such a big revamp in NX, otherwise, I would just stick with NX 3.5 (though it is no longer available)….

    NX 3.5 is available, now, in the form of lightweight mode for version 4. From our benchmarks the lightweight mode is even faster than 3.5, at the protocol level, since it benefits from many additional X protocol optimizations that never went into 3, plus all the goodies and the rewritten core that went into 4.

    I will see whether I can somehow get LXDE on CentOS 6 (currently not available in its official repository)….

    Well, it seems the the world is moving forward. People willing to run a terminal or an IDE in Linux are becoming a shrinking minority. Probably they are insufficient, numerically and financially, to keep a company or even a small development team afloat.

    #2374
    hchan
    Participant

    I think I am the minority (though I am surprised that majority needs to remote back to watch netflix and play video games).

    Anyway, since CentOS doesn’t have to LXDE package, so I have to build from sources.

    LXDE has many components: http://sourceforge.net/projects/lxde/files/

    Do you know which LXDE components NX 4 requires to launch IDEs on top of LXDE?

    Thanks!

    #2389
    titan
    Participant

    I think I am the minority (though I am surprised that majority needs to remote back to watch netflix and play video games).

    There is a minority of the total computing population that needs or likes remote desktops. In that minority there is a majority that would like to do with a remote desktop the same things it does with a real computer. So, no pun intended, we can say that you are in the minority of the minority.

    The success of AirPlay or the buzz created by OnLive or Sony Remote Play demonstrate that there is a significant interest in a big part of the computing population for “remoting” things. Speaking for myself, I already narrated in another post that I have a couple of iMacs I use as TV sets. I find it very handy to be able to watch the MotoGP on the laptop when I’m dining, since in the dining room there is no iMac.  For me the ability to use NoMachine this way is a killer feature. I use the same iMacs with various virtual machines for development. All my development activity takes place from remote, on the command line, where a terminal and ssh serve me well. If the purpose of remoting was to help this my development activity, I would not need NoMachine or a remote desktop and even less I would be willing to pay for it.

    #2424
    hchan
    Participant

    Anyway, since CentOS doesn’t have to LXDE package, so I have to build from sources.

    LXDE has many components: http://sourceforge.net/projects/lxde/files/

    Do you know which LXDE components NX 4 requires to launch IDEs on top of LXDE?

    Thanks!

    #2426
    drichard
    Participant

    @hchan, Did you test the last release, 4.1.29 vs the previous 4.1 release.  It just came out in the last few days.  We’re seeing NX 3.5 performance on this latest set of patches, even on older hardware.  Make sure that both client and server pieces are patched to this release as there were issues in both.

    #2488
    hchan
    Participant

    @drichard, thanks for the tips.

    I just upgraded both client and server to 4.1.29 but I don’t see much improvement…

    Are you running LXDE?

    #2505
    fra81
    Moderator

    Did you enable the lightweight mode as explained here?

    https://www.nomachine.com/AR02L00779

    #2507
    hchan
    Participant

    @fra81, thanks for the tip.

    Unfortunately, that lightweight mode mentioned in your link is not for free version of NX 4. I am using the free version…

Viewing 14 posts - 1 through 14 (of 14 total)

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