Reply To: Segfault in nxupnp

Forum / NoMachine for Linux / Segfault in nxupnp / Reply To: Segfault in nxupnp

#426
titan
Participant

I don’t think the server log is going to tell anything useful. If it’s a nxupnp crash, only a core file with symbols will help. If you get in contact with the support, we’ll provide such binary tomorrow.

In the meanwhile you can just replace the binary with a script doing nothing:

> sudo sh
> /usr/NX/bin/nxserver –shutdown
> cd /usr/NX/bin/
> mv nxupnp nxpupnp.ori
> cat > nxupnp
#!/bin/sh
sleep 1
exit 0
^D <— press CTRL+D here
> chmod a+x nxupnp

Test it:

> ./nxupnp
>

Restart the server:

/usr/NX/bin/nxserver –startup

I tried it and I was still able to connect. UPnP is only used to query and forward ports on the router. You won’t have ports forwarded but, except for that, it should work fine.