[FreeNX-kNX] Client IP Lookup

Fabian Franz FabianFranz at gmx.de
Mon Mar 31 20:33:01 UTC 2008


> 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



More information about the FreeNX-kNX mailing list