<div dir="ltr"><br><div class="gmail_quote"><div class="GmSign">On Thu, Aug 18, 2016 at 1:00 AM tim Rowledge &lt;<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
&gt; On 17-08-2016, at 3:34 PM, Fabio Niephaus &lt;<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Aug 18, 2016 at 12:17 AM tim Rowledge &lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt; wrote:<br>
&gt;<br>
&gt; A persistent problem with the PI vm is that users of xrdp need to wrap the start-up in ‘sudo -E’ because.. well, never mind, unix is just plain stupid. Whatever the issue, we can test for the problem of needing to use sudo by running a trivial test program in the shell script; all it does is try changing a thread priority and returns whether it worked or not.<br>
&gt;<br>
&gt; Just to make sure: it is not enough to create a squeak.conf as describe at [1] and reboot?<br>
<br>
Unfortunately that doesn’t work when using xrdp for your remote display. It’s not even a strictly squeak issue - some googling will reveal a depressingly long list of problems to do with the same error. The Raspbian kernel; has no problems at all with squeak when using a direct display. It doesn’t have this particular problem with vnc - but it *does* have a fatal problem with trying to use the composition input window calls. Again, not a specifically squeak, raspbian nor ARM issue but a generic bit of nastiness in linux.<br>
<br>
&gt; Could you please give [2] a try on a raspi? Feedback is more than welcome as we are about to release Squeak 5.1 very soon.<br>
<br>
As long as it’s made from the very latest source Eliot put out today it will be ok. *Except* I note that the HostWindowPlugin is missing from the plugins/int file in build.linuxARMv6/squeak.cog.spur and in fact after a quick look it is missing form all the linux related build directories that I checked. Whilst the plugin is not complete it does provide support for title and size aspects and so I’d recommend including it.<br>
<br>
5.1 will be the basis of the next Pi Scratch release so I have several millions of reasons to help getting it right...<br></blockquote><div><br></div><div>Shall we just open the vm with `sudo -E` on ARM platforms in the 5.1 release? This seems to be a reasonable solution for now. Usually, a user will be prompted to enter a password and we can explain why. Once we figure out a better solution, we can iterate :)</div><div><br></div><div>BTW: There&#39;s going to be an ARM-only bundle for the Squeak 5.1 release as well.</div><div><br></div><div>Best,</div><div>Fabio</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
Don&#39;t sweat petty things....or pet sweaty things.<br>
<br>
<br>
</blockquote></div></div>