Connecting to headless server in custom session mode causing player to crash?

Forum / NoMachine for Mac / Connecting to headless server in custom session mode causing player to crash?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11789
    csarbora
    Participant

    Client: OSX NoMachine 5.1.26 (running on El Capitan 10.11.5)

    Server: Linux NoMachine Enterprise Server Evaluation 5.1.26 x86_64

    Server is headless and does *not* have a full desktop environment installed. One can be installed, but we would like to avoid it – the ideal use case is tunneling specific windows/applications, not an entire desktop.

    Crash happens using either SSH or (ssh-tunneled) NX protocols. UDP for media is disabled, no HTTP proxy set. I connect successfully, create a new custom session, set the command to “/bin/xterm” (for my CentOS7 server, or “/usr/bin/xterm” for my Ubuntu 14.04LTS server), select floating window, and hit connect. A moment later, nxplayer crashes. The crash is due to EXC_BAD_ACCESS (SIGSEGV) – KERN_INVALID_ADDRESS at 0x0000000000000000 – in inet_pton4, called from SocketValidateIp(char const*) in libnx.dylib.

    Is this a known issue? Are there any workarounds for the time being? I can probably provide the actual crash log but will have to check with the appropriate people. I’m exploring NoMachine 4 as an alternative to the FreeNX/VNC/X11-over-SSH options we already use and am very much hoping that I can show a marked perf and usability increase, but this crash is seriously getting in the way.

    #11799
    fra81
    Moderator

    This is not a known issue. The crash log would really help. Also the the nxplayer’s logs could help (‘/Users/<name>/.nx/R-*’ directory).

    #11800
    fra81
    Moderator

    After further investigations, we spotted a possible problem and are working on a fix. The issue could be possibly triggered by not having XQuartz installed on your Mac. XQuartz is a prerequisite for running custom sessions in floating window mode. Is this your case? And if it is already installed, could you try to start it manually before starting the custom session?

    #11802
    csarbora
    Participant

    Interesting!! Ok. I had actually *uninstalled* XQuartz, because I didn’t want it interfering. I’ll reinstall and try again.

    #11825
    csarbora
    Participant

    Reinstalled XQuartz and it works great. Thanks! Moving forward from that.. are there any tuning options or settings I can tweak to try to optimize responsiveness vs quality? I would ideally like to have optimized profiles for latencies at <1ms, ~10ms, and ~100ms.

    #11832
    fra81
    Moderator

    NoMachine is already designed to optimize the responsiveness while targeting a given quality, so all you have to do is tweaking the Quality slider in order to obtain the desired balance between quality and speed.

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

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