[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] Client IP Lookup
From:       "Fabian Franz" <FabianFranz () gmx ! de>
Date:       2008-03-31 20:33:01
Message-ID: 20080331203301.66430 () gmx ! net
[Download RAW message or body]

> Is there a way to have FreeNX pass the IP address of the connecting 
> client to an external script?  I have a complicated setup involving 
> FreeNX, wine, a custom Database ap in an archaic language and some 
> virtual printer routing scripts.

node.conf:

EXPORT_USERIP="1"

exports to $NXUSERIP:

nxnode: [ "$EXPORT_USERIP" = "1" ] && export NXUSERIP="$userip"

For resume session you can combine it with NODE_AUTOSTART and put the ip  to some \
file like .nx/C-$NXSESSIONID/userip.

Best Wishes,

Fabian
________________________________________________________________
     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@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic