[FreeNX-kNX] Free-nx 0.5.x for RHEL 4?

David Parish dparish at gmail.com
Wed Aug 30 12:54:01 UTC 2006


Thanks. I'll give that a shot. I was able to get the 2.0 client and
the .4 backend working by making both of the changes suggested in the
troubleshooting guide:

http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ/Problem_Solving


Solutions for NX Clients versions 2.0.0 and FreeNX 0.4.x and 0.5.0.
If you have problem connecting with new NX Client ver. 2.0.0, there
are 2 patch, which working for me with NX Client ver. 2.0.0-93:

'fake cookie authentication problem':

Some new clients uses 1.4.0 as proto version. You have to make sure
that 'fake cookie authentication' is working on the server. Look at
nxnode and search for that string in 'node_startsession()' function
and edit it.

For freenx 0.4.x nxnode in function 'node_startsession()'

 if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ] || [
"$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" ]
    then
       # enable fake cookie authentication
       cookie=$proxy_cookie
 fi
For freenx 0.5.0 nxnode in function 'node_startsession()'

 if [ "$clientproto" = "1.5.0" ] || [ "$clientproto" = "1.4.0" ]
    then
       # enable fake cookie authentication
       cookie=$proxy_cookie
 fi
Pre 1.5 clients will face trouble in this case, though - but works for
me (no users with old clients). As I see in comunnication with client
ver. 2.0.0-93, it use 1.5.0 proto version, so this is for older 2.0.0
clients.

'Backingstore problem':

Thorsten Sandfuchs found some issues concerning backingstore. Problem
arouse as you try to connect to a 0.5.0 installation with no 2.0.0
backend support and a 2.0.0-client. As Nomachine changed the behaviour
of the backingstore-option. In 1.5.0-clients the client sends "always,
when_requested" et all and freenx just passed this string to the
nxagent-call. The new client now sends "backingstore=1" and the
1.5.0-nxagent issues a warning and an error with "no argument
requiered for -bs" or with "Error: NX Agent exited with exit status
1.". You can read all his message here: Backingstore or 2.0.0-client
and 1.5.0 backend and freenx-0.5

Look at nxnode and in function 'node_start_agent()' after this line

 [ -n "$backingstore" ] && B="-bs $backingstore"
add this lines:

 # backingstore = { "when_requested", "always", ... }
 [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a
"$backingstore" != "1" ] && B="-bs $backingstore"
 # backingstore = 1 (new nxclient 2.0.0 doesn't send any strings in
the option-string for backingstore anymore)
 [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a
"$backingstore" = "1" ] && B="+bs"
 # backingstore = 1 and 2.0.0-Backend EXPERIMENTAL
 [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" = "1" ] && B="-bs
$backingstore"




On 8/29/06, Gavin Carr <gavin.carr at zomojo.com> wrote:
> On Tue, Aug 29, 2006 at 10:23:18AM -0500, David Parish wrote:
> > I've been using the free-nx versions provided by Rick Stout at:
> >
> > http://fedoranews.org/contributors/rick_stout/freenx/
> >
> > with great success.  My problem is that I have to use the 2.0 nxclient
> > to get around a defect with Dell dual core laptops.  I've found that
> > the 2.0.x client won't connect to a freenx 0.4 backend.  I found some
> > rpm's for the .5 version of freenx but none of them work with the
> > xfree86 version of xwindows that comes with RedHat Enterprise Linux 4.
> >
> > Anyone know of the RPM's I need to get the .5x version of freenx
> > working on RHEL4?
>
> Try nx and freenx from here:
>
>   http://mirror.centos.org/centos-4/4/extras/i386/RPMS/
>
> Cheers,
> Gavin
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>



More information about the FreeNX-kNX mailing list