[FreeNX-kNX] Client IP Lookup
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.
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.
More information about the FreeNX-kNX