[PD] Patch on one display, Gem (and audio) on another.

IOhannes m zmölnig zmoelnig at iem.at
Mon Jun 20 13:14:46 CEST 2016


On 06/20/2016 12:51 PM, Martin Dupras wrote:
> In other words: the Pi is on my Wi-FI network with its own IP address. I
> ssh into it (with a graphical window) from a macbook. There, if I launch
> PD, I can't create a gem window on the PI's primary display. Is that
> possible?

yes, easy.

login to your remote machine with X-forwarding enabled:
$ ssh -X rpi2 pd -lib Gem
OR
$ ssh -Y rpi2 pd -lib Gem


you can tell [gemwin] where to create the window using an X-window
specification):
[create :0(
|
[gemwin]


you might need to actively allow the latter (via `xhost`).

> 
> Or would it be possible to launch PD from the command line such that the
> PD-gui client runs on my remote connection display, but the server runs
> "locally" on the pi?

yes, this is also possible, but usually much more complicated.


> Incidentally, when a [gemwin] gets created, is it "owned" by the pd server
> process or the client process?

the Pd-gui has nothing to do with Gem, which is running solely in the
pd-core.
in this context, "client" vs "server" is bad nomenclature, as it is both
confusing (X-server (see my actual answer above) uses client/server) and
(sometimes) untrue (both pd and pd-gui can act as server (resp. client)
with respect to each other)

fgmars
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160620/bb205d81/attachment.sig>


More information about the Pd-list mailing list