[squeak-dev] X Server implementation for Squeak

gettimothy gettimothy at zoho.com
Wed Mar 24 19:09:18 UTC 2021


Hi Christoph



One more blind flail for the home team..







export DISPLAY=192.168.1.102:0.0





but replace the 192. stuff with something appropriate for your machine.













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 have read Eric S. Raymond on this....http://esr.ibiblio.org/?p=8764

I was thinking that Squeak may be able to ditch Windows builds completely and just do Linux/Mac/SunOS builds...someday. May make the VM team's life easier.









> 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








Looking forward to it.

I have two more nights of my 3'rd shift factory job and then I will be moving to first shift and this "should" free up my mind from the third shift blah's. so I can get some productive work in.  Wanna get Roassal done, then SqueakBooks workflow functional and then the OpenGL for Croquet and then...maybe I will have the chops for this task.

 I think an Emacs interface to Squeak would be the bees-knees too (:



One step at a time, good luck with your XDisplay stuff. 







Von: Squeak-dev <mailto:squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von gettimothy via Squeak-dev <mailto: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 <mailto: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 <mailto:squeak-dev-bounces at lists.squeakfoundation.org>
 im Auftrag von tim Rowledge <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 <mailto:Das.Linux at gmx.de> wrote:
 > 
 > Hi Christoph
 > 
 >> On 24. Mar 2021, at 19:00, Thiede, Christoph <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; 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/c01a0d99/attachment-0001.html>


More information about the Squeak-dev mailing list