Red Hat Bugzilla – Bug 827176
Current nxagent version 3.5 not supported by FreeNX (Fix included)
Last modified: 2012-06-25 20:46:36 EDT
The nx / freenx-server combination included in Fedora 17 isn't working initially:
Starting /usr/libexec/nx/nxsetup gives the error:
Error: Could not find 1.5.0 or 2..0 or 3..0 version string in nxagent. NX 1.5.0 or 2..0 or 3..0 backend is needed for this version of FreeNX.
By fixing the version check in file /usr/libexec/nx/nxloadconfig in lines 675 and 676 by appending "45" three times made freenx-server working again.
These are the fixed lines:
[ -z "$(strings $COMMAND_NXAGENT | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2..0|NXAGENT - Version 3..0')" ] && \
WARNING="yes" && echo "Error: Could not find 1.5.0 or 2..0 or 3..0 version string in nxagent. NX 1.5.0 or 2..0 or 3..0 backend is needed for this version of FreeNX."
Please note that the "Error: Could not find ..." message from nxloadconfig is just a warning (even though it says "Error"), and silencing it should not have any other effects nor anything to do with whether nx/freenx-server actually works. Are you sure that silencing them actually fixes something in your setup besides just getting rid of the messages?
I'm running the versions shipped with F-17/rawhide on F-16 myself and they work fine for me. I'm not against silencing the warnings per se, but it's been like this at least since 2010 when we updated to 3.4.0 and nobody has reported a problem with them.
Today I can't remember if I even tried to use nx regardless of that Error message. I'm used to see Errors as "Stop" and Warnings as "Continue".
The system in question is located in company - so I'll retry and check that on Monday and let you know the results then.
In any case, I don't think the message does any good so hushed in 0.7.3-26 (Rawhide only, not planning to push to other distros just because of this).
I checked the system again now.
You are right. It is only an error message, not a real failure.
I should have looked more closely before reporting a "bug".
Next time I will!
freenx-server-0.7.3-27.fc17 has been submitted as an update for Fedora 17.
freenx-server-0.7.3-27.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.