\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{The LBX Mini-HOWTO}
\author{Paul D. Smith, {\ttfamily \onlynameurl{psmith@baynetworks.com}}}
\date{v1.04, 11 December 1997}
\abstract{LBX (Low Bandwidth X) �O�@�ئb X Protocol �W�i�����Y�� X Server �����C�L���ηN�b��ﵽ�C�t�����s���ɡAX �{���P X Server ��ܤΦ^�����ɶ��C}


\begin{document}
\maketitle
\tableofcontents

\section{���e}

X protocol �i��s�y�����W���ö�A
�ר�O�@�Ǭݦ�²�檺�Ʊ��A�Ҧp�}�s�������C
����H���յۦb 28.8 �άO��֪����������W�ϥ� X
�}�Ҥ@�� X ��������y�����h�W�����ݡC

LBX �򥻤W�O���F��֨�Өt�Ϊ� X �T���洫���Y���֨����M�סC






\section{LBX �ثe�����p�H}

LBX ���������b 1996�Q�G��� X ���s���X X11R6.3 �� X Protocol �C
�H XFree86 �a�ڦӨ��A�o��O XFree86 3.3.x �t�C���@���l�C




\section{�֯�A LBX �W��o�Q�q�H}

�p�G�A�Q�μ����ϥΪA�ȡALBX �N�i�H�[�t X
�{���󻷺ݰ���A�Ӧb DISPLAY �����ܼƳ]�w�����ݪ�
�s���C���~�p�G DISPLAY �]�w��V WAN (�Ҧp��ꪺ)
�άO��L���C�t�s���A LBX �����ҧU�q�C






\section{�֤��ݭn LBX�H}

�p�G�A���R��ݭn�b���ݨϥ�X
�άO�A�ڥ����ϥ� X�A���M�A LBX ���|������U�q�C

�p�G�A�b���t�� LAN �W�A LBX �]���|���Ӥj�U�q�C  
���ǤH�]�\�|��"�p�G LBX ���C������q�A���򬰤��|�b
���t�� LAN �W�S�����U�H"  �p�G�A���ت��O�b���ֺ����y�q
���򥦪��T�i�঳�����U�C ���O�A���ت��O��� X ���^���ɶ��A
LBX �i�ण�O�A�һݭn���C  ���M���ϥΧ֨��H��
���Y�A���O�L�̤]�y���@�Ǫ�O ( �֨��ݭn�O����
���Y�ݭn CPU �ɶ� )�C  �p�G�A���s�u�w�g�ܧֳt�F
LBX �Ϧӥi�୰�C�t�סC






\section{�p���� LBX �u�@�H}

LBX �Q�Φb X client �ݪ��@�ӳB�z�֨��M���Y��{\itshape �N�z���A��\/}�u�@�C 
X ���A�����D���ݨϥγo�@�ӥN�z�˸m�A�è̾ڥL�Ӷi������Y�C

�H�U�O X clients���@��]�w�C�b�ڭ̪��Q�פ����� (LOCAL)
�����O�b�A���e���u�@���A�A�ਣ�쥦���ù��C�ӻ��� (REMOTE) 
�����O�A���ݶ]�{�����u�@���C

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
     REMOTE                               LOCAL
 +-----+                                             +-----+
 | APP |-\          Network            +----------+  |     |\
 +-----+  \--------------------------->| X SERVER |=>|     ||
 +-----+  /       (X Protocol)         +----------+  +-----+\
 | APP |-/                                          /_____//
 +-----+
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}


���ϥ� LBX �A�@�ӥN�z���A�� ( {\ttfamily lbxproxy} ) �b���ݳQ�B�z
�A�{�b���ݥ��M�N�z���A�����q�A�Ӥ��O�����M�{�����q�C
���۳o�{�ǳB�z�֨��H�����Y X ���n�D�öǻ��L�̡C
�L�̬ݰ_�ӹ��O�J

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
     REMOTE                                         LOCAL
                                                               +-----+
 +-----+  +-------+           Network            +----------+  |     |\
 | APP |->| PROXY |----------------------------->| X SERVER |=>|     ||
 +-----+  +-------+       (LBX/X Protocol)       +----------+  +-----+\
 +-----+   /                                                  /_____//
 | APP |--/
 +-----+
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}


�ܩ�쩳�O����F��Q���Y�H�γQ�֨��h���O�o����Q�ת��d��C




\section{�ڻݷǳƭn����h�ϥ� LBX�H}

�A�ݭn�@�Ӥw�g�N LBX �sĶ��X�b���ݪ� X Server�C
���D�A�b�sĶ���ɭԫ��w���N LBX ��X��䤤�A
�_�h X11R6.3 �|�۰ʪ��ϥ� LBX ���S�ʡC
�Ҧ��� XFree86 3.3 server �w�]���|�� LBX ��X��䤤�C

�A�i�H�ϥ� {\ttfamily xdpyinfo} �o�өR�O�ˬO�A�� server �O�_���}�F LBX ���\��C
���� {\ttfamily xdpyinfo} �Y�i�b number of extensions ���C���U���A���� LBX �C�b�䤤�C

�U�@���A�ݭn�@�Ӧb���ݤw�g�N {\ttfamily lbxproxy} �o�{���sĶ�b�����t�ΡC
�o�䦳�ӳ����C  �p�G���ݪ��t�ΩM�A���ݤ��P�A����b���ݪ� {\ttfamily lbxproxy} �N���|�@�ΡC

�ܤ������A�S�ҩҿפ����}�� {\ttfamily lbxproxy} �A�ҥH
�A���� (a) �Ҧ������ݨt�γ��ϥ�X11R6.3�A�άO (b) ��@�Ӱw��A�����ݨt�ιw���sĶ�n�� {\ttfamily lbxproxy}�C
���M��̬O�����K���C

{\ttfamily lbxproxy} �ȶȬO�@�ӳ�@�����ɡC
���S�����󪺳]�w�ɩάO�귽�ɡA�νѦp�������ɮסC




\section{�ڤ��ݭn�ǳƤ���h�ϥ� LBX�H}

���ݨt��{\bfseries ���ݭn}�@�ӷs�� X server (�p�P�@�몺���p�A���ݨt�Ψä��ݭn{\itshape ����\/}�@�� X Server).

�A�һݪ��{����{\bfseries ���ݭn}���w�S�O������ X �άO�S�O���禡�w�C
�ڭɥ� LBX �ϥ� X11R5 ���{���A�]�S�I�줰����D�C

�A{\bfseries ���ݭn}�ϥ� root �άO�S�O���v���s����ݨt�ΡC
�A�u�ݭn�@�몺�v������ {\ttfamily lbxproxy}�C
�t�~�A�u�ݭn�b�A�ۤv���a�ؿ��U����Y�i�Albxproxy �ä��ݭn�w�˦b�S�w���ؿ��C




\section{�p��� LBX �}�l�u�@�H}

OK�A���U�Ӫ��B�J����²��C
�N�U�C LOCAL �H�� REMOTE �ΧA���ݥH�λ��ݪ��D���W�٨��N�C
( �d�U���n�d�V�F )On LOCAL:

\begin{enumerate}
\item  �ҰʧA�� X server�C
\item  �i�D�A�� X server ���ǻ��ݨt�άO�Q���\�s�����C
�ϥ� host-list ����k�A��J {\ttfamily xhost + REMOTE}�C�p�G�A�n�ϥ� {\ttfamily xauth} 
�A�ݭn�@��h�Ʊ��F�аѾ\ man {\itshape xauth(1)\/} �H��o��h����T�C

�p�G�A�����x X ���ݪ��s���A����A�ݭn�Ѿ\
\nameurl{http://www.xs4all.nl/~zweije/xauth.html}{Remote X Apps Mini-HOWTO} �C
\end{enumerate}


On REMOTE:

\begin{enumerate}
\item  �_�l {\ttfamily lbxproxy} �çi�D���ǰe�T���쥻�ݪ� X server�A�p�U�J

\begin{tscreen}
\begin{verbatim}
  $ lbxproxy -display LOCAL:0 :1 &
\end{verbatim}
\end{tscreen}


�o�i�D {\ttfamily lbxproxy} �b���ݨt�Ψϥ� display {\ttfamily :1} �F�p�G�t�Τj��
1 �� display �w�g�b�ϥΡC�A�i�H�ϥ� {\ttfamily :2} �������]�w���N�C
\item  �]�w�A�� DISPLAY �����ܼơA�Ϧ������ܼƩM�A
{\ttfamily lbxproxy} �ҳ]�w���ۦP�C���N���`�� DISPLAY �]�w

\begin{tscreen}
\begin{verbatim}
  $ DISPLAY=:1
  $ export DISPLAY
\end{verbatim}
\end{tscreen}


�p�G�A�ϥ� csh �������A�H�U�i��O�A�һݭn���J

\begin{tscreen}
\begin{verbatim}
  % setenv DISPLAY :1
\end{verbatim}
\end{tscreen}

\item  �p�G�A�ϥ� {\ttfamily xauth} �A�ݭn�T�w�A�� cookie ���T���B�@�C�A�i�H�q \nameurl{http://www.xs4all.nl/~zweije/xauth.html}{Remote X Apps Mini-HOWTO}
�򪺧�h����T�C

\item  ����A�� X �{���I
\end{enumerate}


���U�ӴN�����F�F�Ҧ��b Display �����ܼƬ�{\ttfamily :1} �� X �{�����|�b���|�ϥ�
LBX�C���M�A�A�S����k�_�l�@�� X �{���A�� Display �������ܼƬO���V
{\ttfamily LOCAL:0} �H�Φb�P�@�Ӯɶ��U����C






\section{���D}

�o�䦳�@�Ǳ`�������D�J

\begin{description}
\item[Q)] \mbox{}

{\ttfamily lbxproxy} �H access denied �����~�����{���C



\item[A)] \mbox{}

�o�O�N���A�i�ݪ��t�Τ�������ݨt�Ϊ��s���Ӳ��ͪ����~�C
�аѾ\ \nameurl{http://www.xs4all.nl/~zweije/xauth.html}{Remote X Apps Mini-HOWTO} ����Ժɪ������C

�I��o���D�ɡA���@��²�檺����覡�C�иյۦb���ݤ��n�z�L
{\ttfamily lbxproxy} ����@��²�檺 X �{���A
��p�� {\ttfamily xclock} �J



\begin{tscreen}
\begin{verbatim}
  $ xclock -display LOCAL:0
\end{verbatim}
\end{tscreen}


�p�G�����ॿ�`���u�@�A����N���ܬO{\ttfamily xhost}�άO
��L�@�ǰ򥻪� X ���D�Ӥ��O LBX�C

\end{description}





\section{Documentation}

�b�зǪ� X ��󤤡A�ߤ@�i�H�Ѿ\��������ӬO man {\itshape lbxproxy(1)\/}�C

�p�G�A���� X ����l�ɡA����U�C���Ǧ��쪺��T���� LBX �J

\begin{itemize}
\item {\ttfamily xc/doc/specs/Xext/lbx.mif} (Framemaker MIF)
\item {\ttfamily xc/doc/hardcopy/Xext/lbx.PS.Z} (Compressed Postscript)
\item {\ttfamily xc/doc/hardcopy/Xext/lbxTOC.html} (HTML)
\end{itemize}


LBX ��`�J���t��k�b�U�C���a��J

\begin{itemize}
\item {\ttfamily xc/doc/specs/Xext/lbxalg.mif} (Framemaker MIF)
\item {\ttfamily xc/doc/specs/Xext/lbxalg.PS.Z} (Compressed Postscript)
\end{itemize}


�p�G�A�S�� X ����l�ɡA�A�i�H�� \nameurl{ftp://ftp.x.org/pub/R6.3/xc/doc/}{X ��´�� FTP �����o}�C






\section{Alternatives}

�p�G�A���Y�ǭ�]�����w {\ttfamily lbxproxy} �C�Ҧp�A�����w�L������Ĳv�A
�������A�u�@�A �A���Q�·Ъ������ݫإ� lbxproxy �εۧA�u�O�Q�O�O��L����ܡA
�o�䦳�@�Ǩ�L�� X protocol ���Y�覡�C (���S���H����L����סH)




\subsection{dxpc - �@�ӷ����@�˪� X Protocol ���Y�{��}

\begin{itemize}
\item �쥻���@�̡J \onlynameurl{Brian Pane $<$brianp@cnet.com$>$}
\item �{�U�����@�̡J \onlynameurl{Zachary Vonler $<$lightborn@mail.utexas.edu$>$}
\end{itemize}


{\ttfamily \nameurl{http://ccwf.cc.utexas.edu/~zvonler/dxpc/}{dxpc}} �M LBX �H�ۦP���覡�B�@�C�M�Ӭ��F�קK�ק� X Server����l�X
�H�ι�@�@�� X Server ���X�R{\ttfamily dxpc} �ϥ� {\bfseries ���} �N�z���A���J 
�@�ӹ��O {\ttfamily lbxproxy} �]�b���ݪ��t�ΡA�t�@�ӫh�b���ݰ���C

�b���ݪ��N�z���A���t�d���q X Client �H�Υ��ݪ��N�z���A���A
�ӥ��ݪ��N�z���A���t�d���q X Server �H�λ��ݪ��N�z���A���C

�ҥH�A��� X clients �H�� X server  {\itshape ��y\/}�A�L�̳��H���`���B�z�覡�B�z X Protocol




\subsubsection{�u�I}

\begin{itemize}
\item  �J�M���O�������W�ߵ{���Ӥ��ݭn�ʨ� X �������A
���@�w{\itshape �D�`��\/} �e���sĶ�H�Φw�ˡC
\item  ���O�W�ߪ��Q���@�ۡA�ҥH�A���ݭn
OSF ���X�s�� X �A�Y�i�L���į઺�W�i�H�ο��~���ץ��C
\item  �����ѤF�� {\ttfamily lbxproxy} ��h�����Y��T�H�βέp��T�C
\end{itemize}





\subsubsection{���I}

\begin{itemize}
\item  �����O X ���зǮM��A�A�����ۤv���o�H�νsĶ�w�ˡC
\item  ���b�w�ˤW�ܪ���������A�]�����n�D�b���ݤ]�n���@�ӹ��O���ݪ��N�z���A���C
\end{itemize}





\subsubsection{�ڦb���̥i�H�o�� dxpc�H}

dxpc ����l�ɥi�H��\nameurl{ftp://ftp.x.org/contrib/utilities/}{ftp.x.org}���o�C

�o�̦��@�Ӻ���\nameurl{http://ccwf.cc.utexas.edu/~zvonler/dxpc/}{}�� dxpc �ܦh��������T�C�]�t�F dxpc �� mailing list�A��l�ɡA�H��
���h�إ��x�w���sĶ�n�������ɡC




\subsection{Ssh (Secure Shell)}

\onlynameurl{Ken Chase $<$lbxhowto@sizone.org$>$}
notes that {\ttfamily \nameurl{http://www.cs.hut.fi/ssh/}{ssh}} 
��Q�Ω����Y�C���M���u�n���ت��O���F�O�K�A���O���]���Y���ǰe����ơC

�ҥH�p�G�A�ۤ@�� {\ttfamily ssh} �s������ X �A�A�b�ϥζ��۵M�|���Y��ơC


\subsection{�֤���n�H}

�ڤ����D�C LBX �H�� {\ttfamily dxpc} �b�����Y�W�� {\ttfamily ssh} �n�C���M�A {\ttfamily ssh} ���ѤF�b�w���W�����[�\��C
���L�A�]�S������z�ѸT��A�ϥ� {\ttfamily ssh} �[�W�t�~��ؤ��@�����Y�覡�A�H��o�}�n�����Y�H�Φw���ʡC

�b�o�ǿ�ܤW�]�@�ǵ��q�H����έp��T�A���Ӥ��O�������ơC
���O�ڨS�����L�o��ơA�]�S��ť���L����H���L�C

\end{document}
