Yanni Chiu wrote
If you run them through ssh then you only need the ssh port (22) open.>
> On 26/04/12 10:45 PM, Paul DeBruicker wrote:
>> You could also consider using 'xrpa' which is like screen but for X
>> applications. �See Bernat Romagosa description here:
>>
>> http://www.asmalltalkbytheseaside.com/#remotedevelopmentonpharowithoutvnc
>
> In that article, the steps are:
>
> % xpra attach :5
> % DISPLAY=:5 ./pharo.sh
>
> which seems to imply that the 5-th DISPLAY port is occupied by the image.
>
> When I have several images running, using VNC, I can start/stop the VNC
> display in each image (and specify the portno) using a Seaside interface.
>
> So, I only have to open one firewall port for the X Display port (I'm
> probably doing something wrong here; maybe I should be using ssh), and I
> can operate each image GUI as necessary, as long as I only operate on
> one image at a time.
>
> Can a similar thing be done using xpra?
>
Multiple Pharo apps can run at the same time by starting xpra on multiple
displays then starting your Pharo instances on those displays e.g.:
xpra attach :5
DISPLAY=:5 ~/pharoApp1/pharo.sh
xpra attach :6
DISPLAY=:6 ~/pharoApp2/pharo.sh
Then they just run and you can attach to and detach from (from the same or
different clients) �them without affecting the Pharo process. �I don't think
you can put a currently running Pharo process inside the xpra process. �The
'DISPLAY=:5' bit just tells the X11 app you're starting which display to
use.
https://help.ubuntu.com/community/Xpra
--
View this message in context: http://forum.world.st/VNC-for-pharo-1-3-or-1-4-tp4590152p4593664.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.