[squeak-dev] X Server implementation for Squeak

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Wed Mar 24 18:56:39 UTC 2021


Hi Timothy,


> Do you need to do an 'xhost+"  from the CLI to allow "foreign" windows to display?


<http://www.hpi.de/>
Unfortunately, it did not help. I'm probably making things even more complicated by using WSL (Windows Subsystem for Linux) for my experiments ... However, together with VcXsrv, I am generally able to view WSL application in my Windows 10 desktop manager.

> I would love to have Morphic windows display in my X Window Manager as regular X windows--like XTerm, XEyes..etc. That is independently of the Morphic world.
>
> Do you think this is doable?

You are probably asking the wrong person. :-) But from what I have heard (apparently it has been discussed a number of times on the list), this should be possible using the HostWindowPlugin. But that's exactly the opposite way then I wanted to go here (move windows into, not out of Squeak) and I did not try out this plugin -  not yet! :-)

Best,
Christoph
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von gettimothy via Squeak-dev <squeak-dev at lists.squeakfoundation.org>
Gesendet: Mittwoch, 24. März 2021 19:50:25
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] X Server implementation for Squeak

Do you need to do an 'xhost+"  from the CLI to allow "foreign" windows to display?

just grasping here...



---- On Wed, 24 Mar 2021 14:48:52 -0400 Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote ----


Hi,


sounds interesting. Does it still work for anyone in Trunk? I tried

RFBServer start: 1

and then in a terminal

$ DISPLAY=:1.0 xmessage foo

but it said

Error: Can't open display: :1.0

<http://www.hpi.de/>
However, I got a Windows firewall warning so the image does indeed open a connection (and also starts a background process in the image).
Did I miss anything?

Apart from that, here are some more conceptual questions: How different are VNC and X11 actually? Afaik VNC is only used to stream entire screens while X11 is more fine-granular and allows to stream single windows. For what I proposed to do (use Morphic as a window manager), VNC would not suffice, would it? And how important is that difference from the implementational PoV? :-)

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org<mailto:squeak-dev-bounces at lists.squeakfoundation.org>> im Auftrag von tim Rowledge <tim at rowledge.org<mailto:tim at rowledge.org>>
Gesendet: Mittwoch, 24. März 2021 19:27:18
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] X Server implementation for Squeak



> On 2021-03-24, at 11:09 AM, Tobias Pape <Das.Linux at gmx.de<mailto:Das.Linux at gmx.de>> wrote:
>
> Hi Christoph
>
>> On 24. Mar 2021, at 19:00, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de<mailto:Christoph.Thiede at student.hpi.uni-potsdam.de>> wrote:
>>
>> Hi all,
>>
>> just an interested question: Is there any X Server implementation for Squeak? I'm asking indeed not for an X Client implementation (I guess that is what sqUnixX11.c and the HostWindowPlugin implementation for Unix do) but for an X Server implementation, which could allow us to manage arbitrary Unix windows in our Squeak Morphic world. Is there already some solution like this? If not, anyone here who could make an estimation about the effort for this? :-)
>
> There's RFB (aka VNC)…
> It works surprisingly well…

It does BUT it seems like it needs some updating to use some more modern protocols; I can connect to it from the RFB client in Squeak but not from the RealVNC client etc. The most up to date version(s) I know are in the http://source.squeak.org/ss repository  - beware - there are what looks like two packages named RFB in there but the 'proper' one is 'RFB' and the other is actually ' RFB'.


tim
--
tim Rowledge; tim at rowledge.org<mailto:tim at rowledge.org>; http://www.rowledge.org/tim
Strange OpCodes: SVE: Skip on Vernal Equinox






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210324/510df749/attachment.html>


More information about the Squeak-dev mailing list