old-www/HOWTO/LBX-8.html

88 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The LBX Mini-HOWTO: How Do I Start LBX?</TITLE>
<LINK HREF="LBX-9.html" REL=next>
<LINK HREF="LBX-7.html" REL=previous>
<LINK HREF="LBX.html#toc8" REL=contents>
</HEAD>
<BODY>
<A HREF="LBX-9.html">Next</A>
<A HREF="LBX-7.html">Previous</A>
<A HREF="LBX.html#toc8">Contents</A>
<HR>
<H2><A NAME="s8">8. How Do I Start LBX?</A></H2>
<P>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!)
<P>On LOCAL:
<P>
<OL>
<LI> Start your X server.
</LI>
<LI> Tell your X server that the remote system is allowed access.
Using the host-list method, type <CODE>xhost +REMOTE</CODE>. If you use
<CODE>xauth</CODE> you may need to do more than this; see the <EM>xauth(1)</EM> man
page for more information.
You should consult the
<A HREF="http://www.xs4all.nl/~zweije/xauth.html">Remote X Apps Mini-HOWTO</A> if you're not familiar with remote X access permission
setup.</LI>
</OL>
<P>On REMOTE:
<P>
<OL>
<LI> Start <CODE>lbxproxy</CODE> and tell it to forward to the LOCAL X server,
like this:
<BLOCKQUOTE><CODE>
<PRE>
$ lbxproxy -display LOCAL:0 :1 &amp;
</PRE>
</CODE></BLOCKQUOTE>
This tells <CODE>lbxproxy</CODE> to use display <CODE>:1</CODE> on
the REMOTE system; if that system has &gt;1 display already you can use
<CODE>:2</CODE> or whatever instead.
</LI>
<LI> Set your DISPLAY environment variable to point to the display
that <CODE>lbxproxy</CODE> is providing, instead of the normal display:
<BLOCKQUOTE><CODE>
<PRE>
$ DISPLAY=:1
$ export DISPLAY
</PRE>
</CODE></BLOCKQUOTE>
Or, if you use csh or clones:
<BLOCKQUOTE><CODE>
<PRE>
% setenv DISPLAY :1
</PRE>
</CODE></BLOCKQUOTE>
</LI>
<LI> If you're using <CODE>xauth</CODE> you will need to ensure that your
cookie is available locally. See the
<A HREF="http://www.xs4all.nl/~zweije/xauth.html">Remote X Apps Mini-HOWTO</A> for more information on this.
</LI>
<LI> Start your X applications!</LI>
</OL>
<P>That's it; all X apps that are started up pointing to <CODE>:1</CODE> will use
LBX. Of course, there's no reason you couldn't also start X apps
pointing to <CODE>LOCAL:0</CODE> and have both running at the same time.
<P>
<P>
<HR>
<A HREF="LBX-9.html">Next</A>
<A HREF="LBX-7.html">Previous</A>
<A HREF="LBX.html#toc8">Contents</A>
</BODY>
</HTML>