Client-server bad design

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'Twas brillig, and Lukas Polacek at 27/03/09 08:51 did gyre and gimble:
> This may seem like a stupid play with the words, but this design flaw causes,
> that you can't use PA over NAT without workarounds.

PA works pretty much the same way that X works. X clients (applications) 
connect to a server. Pulse clients (apps) connect to a server.

If I SSH from machine A to machine B and run an application, machine B 
is the client and connects to machine A. There is no need for a server 
to be running on B as it is just a client.

The same is true of pulse apps. The only reason X works over NAT, is 
that ssh is X aware and forwards the connections and sets the DISPLAY 
variable correctly on your destination machine.

If you want to make pulse work over NAT, you just have to make SSH
pulse aware too, and make it set the PULSE_SERVER variable on the 
destination machine.

But your bandwidth will suffer.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux