<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Network Transparency</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.61 "><LINK REL="HOME" TITLE="The aRts Handbook" HREF="index.html"><LINK REL="UP" TITLE="Questions and answers" HREF="faq.html"><LINK REL="PREVIOUS" TITLE="Latency" HREF="faq-latency.html"><LINK REL="NEXT" TITLE="Other Issues" HREF="faq-other.html"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="stylesheet" HREF="common/kde-common.css" TYPE="text/css"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META HTTP-EQUIV="Content-Language" CONTENT="en"><LINK REL="stylesheet" HREF="common/kde-localised.css" TYPE="text/css" TITLE="KDE-English"><LINK REL="stylesheet" HREF="common/kde-default.css" TYPE="text/css" TITLE="KDE-Default"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#AA0000" VLINK="#AA0055" ALINK="#AA0000" STYLE="font-family: sans-serif;" ><DIV CLASS="logoheader" ><A HREF="http://www.kde.org/" ><IMG SRC="common/logotp3.png" BORDER="0" ALT="The K Desktop Environment" HEIGHT="62" WIDTH="229"></A ></DIV ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The <SPAN CLASS="APPLICATION" >aRts</SPAN > Handbook</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="faq-latency.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 13. Questions and answers</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="faq-other.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="FAQ-NETWORK" >13.4. Network Transparency</A ></H1 ><DIV CLASS="QANDASET" ><DL ><DT >13.4.1. <A HREF="faq-network.html#AEN2167" >What do I need for network transparency?</A ></DT ><DT >13.4.2. <A HREF="faq-network.html#AEN2209" >How do I debug network transparency if it doesn't work?</A ></DT ></DL ><DIV CLASS="QANDAENTRY" ><DIV CLASS="QUESTION" ><P ><A NAME="AEN2167" ></A ><B >13.4.1. </B >What do I need for network transparency?</P ></DIV ><DIV CLASS="ANSWER" ><P ><B > </B >Enable it in the <SPAN CLASS="APPLICATION" ><SPAN CLASS="ACRONYM" >KDE</SPAN > Control Center</SPAN > <SPAN CLASS="GUILABEL" >Sound Server</SPAN > settings (<SPAN CLASS="GUILABEL" >enable X11 server for security information</SPAN > and <SPAN CLASS="GUILABEL" >network transparency</SPAN >). Then copy your <TT CLASS="FILENAME" >.mcoprc</TT > to all machines you plan to use network transparency from. Log in again. Make sure that the hosts that interact know each other by name (<SPAN CLASS="ABBREV" >i.e.</SPAN > they have resolvable names or are in <TT CLASS="FILENAME" >/etc/hosts</TT >).</P ><P >This should be all you need to do. However, if it still doesn't work here are some additional details. The <SPAN CLASS="APPLICATION" >aRts</SPAN > sound server process, <SPAN CLASS="APPLICATION" >artsd</SPAN >, should only run on one host, the one with the sound card where the sound should be played. It can be started automatically on login by <SPAN CLASS="ACRONYM" >KDE</SPAN > (if you configure that in <SPAN CLASS="APPLICATION" ><SPAN CLASS="ACRONYM" >KDE</SPAN > Control Center</SPAN >), or manually using something like:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" > <TT CLASS="PROMPT" >%</TT > <TT CLASS="USERINPUT" ><B ><B CLASS="COMMAND" >artsd</B > <TT CLASS="OPTION" >-n -F 5 -S 8192</TT ></B ></TT ></PRE ></TD ></TR ></TABLE ><P >The <TT CLASS="OPTION" >-n</TT > parameter is for network transparency, while the others configure latency.</P ><P >Your <TT CLASS="FILENAME" >.mcoprc</TT > file should have this entry:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" > <TT CLASS="USERINPUT" ><B >GlobalComm=Arts::X11GlobalComm</B ></TT ></PRE ></TD ></TR ></TABLE ><P >on all machines involved, in order for network transparency to work, This is what is enabled by the <SPAN CLASS="GUILABEL" >X11 server for security information</SPAN > control panel setting.</P ><P >Finally, in any <SPAN CLASS="ACRONYM" >KDE</SPAN > version in the 2.0.x series, there is a bug which applies if you don't have a domain name set. Clients of <SPAN CLASS="APPLICATION" >artsd</SPAN > try to find where to connect to via the <TT CLASS="REPLACEABLE" ><I >hostname</I ></TT >.<TT CLASS="REPLACEABLE" ><I >domainname</I ></TT > combination. If your domain name is empty, it will try to connect to <TT CLASS="REPLACEABLE" ><I >hostname</I ></TT >. (note the extra dot). Adding an entry like this to <TT CLASS="FILENAME" >/etc/hosts</TT > (<SPAN CLASS="ABBREV" >i.e.</SPAN > <TT CLASS="USERINPUT" ><B >orion.</B ></TT > if your hostname is <SPAN CLASS="SYSTEMITEM" >orion</SPAN >) works around the problem.</P ></DIV ></DIV ><DIV CLASS="QANDAENTRY" ><DIV CLASS="QUESTION" ><P ><A NAME="AEN2209" ></A ><B >13.4.2. </B >How do I debug network transparency if it doesn't work?</P ></DIV ><DIV CLASS="ANSWER" ><P ><B > </B >Assuming you have the <SPAN CLASS="ACRONYM" >KDE</SPAN > source code, go to <TT CLASS="FILENAME" >kdelibs/arts/examples</TT >, and run <TT CLASS="USERINPUT" ><B ><B CLASS="COMMAND" >make</B > <TT CLASS="OPTION" >check</TT ></B ></TT > to compile some programs, including <SPAN CLASS="APPLICATION" >referenceinfo</SPAN >. Then run</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" > <TT CLASS="PROMPT" >%</TT > <TT CLASS="USERINPUT" ><B ><B CLASS="COMMAND" >./referenceinfo</B > <TT CLASS="OPTION" >global:Arts_SimpleSoundServer</TT ></B ></TT ></PRE ></TD ></TR ></TABLE ><P >The output will indicate the host name and port being used by <SPAN CLASS="APPLICATION" >aRts</SPAN >. For example, <TT CLASS="COMPUTEROUTPUT" >tcp:orion:1698</TT > would mean that any client trying to use network transparency should know how to reach host <SPAN CLASS="SYSTEMITEM" >orion</SPAN >.</P ></DIV ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="faq-latency.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="faq-other.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Latency</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="faq.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Other Issues</TD ></TR ></TABLE ></DIV ></BODY ></HTML >