8. How Do I Start LBX?
OK, here it is... after all that it's actually quite simple. Replace LOCAL and REMOTE below with the hostnames of your local workstation and remote system, respectively (don't get them mixed up!)
On LOCAL:
- Start your X server.
- Tell your X server that the remote system is allowed access.
Using the host-list method, type
xhost +REMOTE. If you usexauthyou may need to do more than this; see the xauth(1) man page for more information. You should consult the Remote X Apps Mini-HOWTO if you're not familiar with remote X access permission setup.
On REMOTE:
- Start
lbxproxyand tell it to forward to the LOCAL X server, like this:
This tells$ lbxproxy -display LOCAL:0 :1 &
lbxproxyto use display:1on the REMOTE system; if that system has >1 display already you can use:2or whatever instead. - Set your DISPLAY environment variable to point to the display
that
lbxproxyis providing, instead of the normal display:
Or, if you use csh or clones:$ DISPLAY=:1 $ export DISPLAY
% setenv DISPLAY :1
- If you're using
xauthyou will need to ensure that your cookie is available locally. See the Remote X Apps Mini-HOWTO for more information on this. - Start your X applications!
That's it; all X apps that are started up pointing to :1 will use
LBX. Of course, there's no reason you couldn't also start X apps
pointing to LOCAL:0 and have both running at the same time.
Next Previous Contents