WARNING WARNING DANGER DANGER
If you use this program, use xauth to provide SECURITY, since host-based security will be BYPASSED. See README.xauth. (If somebody knows you are running sxpc they will be able to connect to your server and watch what you type, what shows up on your screen, or type for you... A BAD THING :-()
On the X clients' host:
For csh based shells:
setenv DISPLAY `sxpc remote $DISPLAY `
For sh based shells:
DISPLAY=`sxpc remote $DISPLAY`
export DISPLAY
(where $DISPLAY is the display setting you
would normally use to connect to the X server from the clients' host.)
On the X server host: sxpc local $DISPLAY
Killing SXPC To kill sxpc in your .logout. (or any other time.)
kill `cat /tmp/sxpc.THEDISPLAYARG`
(where THEDISPLAYARG is the value of $DISPLAY used in the sxpc line, NOT the value DISPLAY setting sxpc outputs. ie if you run sxpc remote foo:0.0 it would be /tmp/sxpc.foo:0.0.)
XCLIENTGATEPORT
Sets the base port on which clients will connect to the X server. This will be added to the display number to get the final port number. The default is 6008 so that by default the DISPLAY setting to connect to sxpc will be localhost:DisplayNumber+8:0.0
XCOMPGATEPORT
Sets the base port on which the sxpc running on the X server host will listen for connections. This will be added to the display number to get the final port number. The default is 4000 so that the sxpc on the X server host will listen on port 4000 (if it is directed to display on display 0.)