Dario, I did not read the full email.... but If you allow me a quick recommendation (maybe offtopic here), I would not use remote GemTools. It is really too slow and becomes unusable. It is far easier and faster to use SSH with X forward and run GemTools locally in your server. So in GemTools you simply put localhost etc... and then do ssh -X etc.. And you can even improve performance of SSH with X by doing: alias ssh-x='ssh -c arcfour,blowfish-cbc -XC' then ssh-x myserver... Best, On Wed, Mar 25, 2015 at 11:02 AM, Dale Henrichs via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Mariano,
You have a point that ssh tunneling for X may be a better option ... Dario, When we get the port forwarding option working, you can give X11 forwarding a go. You'd need to install the X client on your server and I have another little writeup (that's part of the soon to be release gsDevKitHome 1.0.0) that details the X packages that need to be installed for X11 client [1], since you don't need the full blown X server for X11 forwarding. Dale [1] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/ubuntu14.04.md#x11-client-optional On 3/25/15 7:14 AM, Mariano Martinez
Peck wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Wed, Mar 25, 2015 at 11:30 AM, Dale Henrichs <[hidden email]> wrote:
That's very cool. You can add the alias I pasted above that really improves performance (it uses a special cipher and a few other things). The other point besides installing X in the server, is installing all libs required by Pharo, which sometimes it's a bit complicated in Linuxes of 64 bits.
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Yes a lot of my time documenting gsDevKitHome 1.0.0 has been spent
on working through all of these issues ... like getting Freetype
installed, ssh, the X client, etc.
The pharo launcher work is pretty cool, in terms of installing the Pharo prerequisitesm but it does not work on ubuntu 12.04 (still used by travis and others) so I still have to work out the prereqs myself ... Speaking of which does anything additional need to be installed to get the arcfour and blowfish-cbc options working? It looks like I've come down with another cold so I'll be working from home again ... so I'll be able to see how these additional options work ... and I will update the doc to include this information ... Thanks! Dale On 3/25/15 7:36 AM, Mariano Martinez
Peck wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dale, Martin,
I submit this:
I update the GemTools session and the login work fine. OK.
For understund:
After close the ssh connection i test the login with GemTools classic session : OGCustomSessionDescription new name: 'Scandella3106 gestionale'; stoneHost: 'scandella'; stoneName: 'gestionale'; gemHost: 'scandella'; netLDI: '57858'; It don't works the GemTools go into loop. But the server show netldi listening on that address and 57858 port. as i report in hold email with not static ip ( where netldi is into 50377 )
It's not very strange? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
First, I am under the impression that you are able to successfully connect your remote GemTools using ssh port forwarding and this session description: OGCustomSessionDescription new name: 'Scandella3106 gestionale'; stoneHost: 'localhost'; stoneName: 'gestionale'; gemHost: 'localhost'; netLDI: '57858'; So you are in business again? Secondly, I understand that the when using the following session description: OGCustomSessionDescription new name: 'Scandella3106 gestionale'; stoneHost: 'scandella'; stoneName: 'gestionale'; gemHost: 'scandella'; netLDI: '57858'; an attempt to connect GemTools _from the local host_, you have trouble, correct? If the above assumptions are correct, then I will guess that the problem is that the netldi is not listening on the interface associated with the host scandello ... but I am not an expert. However, I do know that if you want to connect GemTools running on the local host and using X11 forwarding, that you should use the exact same session description that works for ssh port forwarding: OGCustomSessionDescription new name: 'Scandella3106 gestionale'; stoneHost: 'localhost'; stoneName: 'gestionale'; gemHost: 'localhost'; netLDI: '57858'; When you use port forwarding you fool the netldi and stone into thinking that the GemTools session is running on the local host, so the same session description should work when you are ACTUALLY running on the local host ... Dale On 3/25/15 10:55 AM, Dario Trussardi
via Glass wrote:
Dale, Martin, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dale, Mariano,
for now my server tODE environment is installed into my office and i don't have performance problem with GemTools. But the next week the server will installed on remote office of my client and i'm interested to work on it from my home office on WAN. But i don't have clear that i need to install on the server. The server is based on Ubuntu 14.04 server and for now i installed: sudo apt-get -y install git sudo apt-get -y install unzip sudo apt-get -y install curl sudo apt-get -y install libpam0g:i386 sudo apt-get -y install libssl1.0.0:386 sudo apt-get -y install libssl1.0.0:i386 sudo apt-get -y install -qq gcc-multilib libstdc++6:i386 sudo ln -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so sudo apt-get -y install libx11-6:i386 sudo apt-get -y install libgl1-mesa-dev:i386 sudo apt-get -y install libxcb-dri2-0:i386 What other i need to load ? What i need to load for GemTools on the server ( and relative prerequisite ) ? After installed all, how i can test the GemTools load on the server with X11 forwarding ? Into another e-mail Dale write: Things are a bit snappier if I use port forwarding, but the advantage of XLL forwarding is that you don't have to install GemTools on the remote system... But relative performance are good? What is the best solutions, i'm confusing? Thanks for any help, considerations. Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
Good questions. As part of my work for the soon to be released gsDevKitHome 1.0.0, I have taken a pretty close look at the prerequisites[2] and I've got a detailed list of the prerequisites for Ubuntu14.04[2]. I think I've added a couple of prereqs since you've done an install ... mainly in the areas of support for ptrace (C stack straces) and freetype fonts for pharo. Check you list against the required prereqs[5]. It looks like you have the X11 Client already installed on the server, so you will need to install GemTools on the server. You should just be able to scp the GemTools zip file over to the server and go ... For the best performance using GemTools, I think that X11 forwarding[3] (instructions included) is probably the best option. In my limited experience using X11 forwarding (with compression) with tODE, the update delays are not nearly as annoying as the pretty long round trip induced delays seen when using GemTools over the WAN. On the other hand, I think that SSH port forwarding[4] is the best option for tODE. tODE does a pretty good job of limiting the number of round trips so having snappier window updates is appreciated. Does that clarify things for you? Dale [1] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/osPrereqs.md [2] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/ubuntu14.04.md [3] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/x11ForwardingForRemoteDisplays.md [4] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/portForwardingForRemoteLogins.md [5] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/ubuntu14.04.md#install-basic-prerequisites-required On 03/26/2015 05:11 AM, Dario Trussardi
via Glass wrote:
Dale, Mariano, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On 03/25/2015 11:29 AM, Dale Henrichs via Glass wrote:
> Dario, > > First, I am under the impression that you are able to successfully > connect your remote GemTools using ssh port forwarding and this session > description: > > OGCustomSessionDescription new > name: 'Scandella3106 gestionale'; > stoneHost: 'localhost'; > stoneName: 'gestionale'; > gemHost: 'localhost'; > netLDI: '57858'; > > So you are in business again? > > Secondly, I understand that the when using the following session > description: > > OGCustomSessionDescription new > name: 'Scandella3106 gestionale'; > stoneHost: 'scandella'; > stoneName: 'gestionale'; > gemHost: 'scandella'; > netLDI: '57858'; > > an attempt to connect GemTools _from the local host_, you have trouble, > correct? > > If the above assumptions are correct, then I will guess that the problem > is that the netldi is not listening on the interface associated with the > host scandello ... but I am not an expert. From the netstat output, netldi is only listening on the loopback address, which is localhost. If 'scandella' resolves to the machine's external address (192.168.1.10) then you won't be able to contact a netldi under that name. Regards, -Martin _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dale,
ssh -X scandella -l scandella -L 57858:localhost:57858 -L 57860:localhost:57860 And submit: export GS_HOME=/opt/oodb/gsDevKitHome export PATH=$GS_HOME/bin:$PATH $GS_HOME/bin/todeClient It work fine and i can submit tODE command on: gestionale environment When i submit: scandella@scandella:/opt/GemTools/GemTools-1.0-beta.8.7-3101x.app$ ./GemTools-1.0-beta.8.7-3101x.sh the system answer:
could not find module vm-display-X11
Annullato (core dump creato) Any idea about it? ------------------------------------------------------------------------------------------------- Another questions about macBook GemTools problem. after reboot the server Ubuntu system now when i open a ssh on my macBook with: meetingto:~ dtr$ ssh scandella -l scandella -L 57858:localhost:57858 -L 57860:localhost:5786 the system answer:
A this point when i open the GemTools on my macBook and open the session the system answer: Error: Unable to create a GemStone session. NetLDI service '57858' not found on node 'localhost' port 57858 : For further information about login failures, check the gem log file I don't understund because 57858 i already in use after reboot the system. Before use the ssh -X .................. all worked well, at the login the 57858 is free and GemTools session work fine. Any considerations? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
Not sure right now ... Pharo1.1 must have a different set of prerequisites ... it will take a bit of time for me to figure that out, I suppose you could try running GemTools over the lan using the ssh port forwarding until I figure out the missing prerequisites ... Dale On 03/27/2015 09:24 AM, Dario Trussardi
via Glass wrote:
Dale, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dale,
because when i open the ssh session with : meetingto:~ dtr$ ssh scandella -l scandella -L 57858:localhost:57858 -L 57860:localhost:5786 the 57858 i already in use. See the point: ---------------------------------------------- Another questions about macBook GemTools problem. Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
Use `sudo netstat -p` to find out process is using that port ... Dale On 03/27/2015 09:52 AM, Dario Trussardi
via Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On 03/27/2015 09:24 AM, Dario Trussardi
via Glass wrote:
Dale,`sudo apt-get install ia32-libs` on 12.04 did the trick for me ... but ia32-libs does not appear to be supported on 14.04 .... more research needed ... Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dale,
On the Ubuntu server into ssh the sudo netstat -p seems not occupy the 57858 port. Can the problem is into mackBook ? The macBook command netstat report: tcp4 14 0 localhost.57858 localhost.51370 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51361 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51323 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51234 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51187 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51177 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51167 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51142 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51123 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51120 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51109 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51065 CLOSE_WAIT
tcp4 14 0 localhost.57858 localhost.51063 CLOSE_WAIT What i need do ? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On mac, apparently `netstat -p` doesn't list the process associated
with port ... so try `/usr/sbin/lsof -i :58199` ... just guessing
because I don't have my mac in the office and just going by what
google is telling me ...
Dale On 03/27/2015 10:42 AM, Dario Trussardi
via Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dario,
I think I have stumbled across the magic for getting GemTools to run on 14.04. Try this: sudo apt-get install libx11-6:i386 libsm6:i386 I had done some other installs along the way, but with no success ... Since I've pretty much trashed my ubuntu vms during this excercise, I will have to start with fresh ubuntu installs to verify exactly what is needed and that will be a little while ... When I'm done I will verify and include the GemTools information in the soon to be released gsDevKitHome 1.0.0 documentation:) Dale On 03/27/2015 10:42 AM, Dario Trussardi
via Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Okay in addition to the published 14.04 prereqs[1] (including X11
client prereqs[2]), the following two packages need to be loaded for
GemTools to work on Ubuntu14.04:
sudo apt-get install sane:i386 sudo apt-get install libsm6:i386 Dale [1] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/ubuntu14.04.md#install-basic-prerequisites-required [2] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/osPrereqs/ubuntu14.04.md#install-x11-client-optional On 03/27/2015 11:51 AM, Dale Henrichs
wrote:
Dario, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dale,
i think to update the ubuntu server to:
But when i do the command: scandella@scandella:/opt/GemTools/GemTools-1.0-beta.8.7-3101x.app$ ./GemTools-1.0-beta.8.7-3101x.sh the system answer the same error:
Considerations ? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario,
I don't have a clue at this point, since that was the formula that worked for me ... Below is the script that I used to install all of the prerequisites using the `-G -X -o ubuntu14.04` options... Dale #! /bin/bash #========================================================================= # Copyright (c) 2015 GemTalk Systems, LLC [hidden email]. #========================================================================= echo "=================" echo " GsDevKit script: $(basename $0) $*" echo "=================" set -e # exit on error usage() { cat <<HELP USAGE: $(basename $0) [-h] -o [ubuntu12.04|ubuntu14.04] [-X] [-G] Install os-specific required packages: - 32 bit libraries - git - curl - unzip - ssl - PAM and os-specific optional packages: - X11 OPTIONS -h display help -o select os -G install GemTools and the GemTools prerequisites -X if present, X11 client installed EXAMPLES ./$(basename $0) -h ./$(basename $0) -o ubuntu12.04 ./$(basename $0) -X -o ubuntu12.04 ./$(basename $0) -G -X -o ubuntu12.04 HELP } installUbuntuPackages(){ sudo apt-get -y update sudo apt-get -y install curl sudo apt-get -y install git sudo apt-get -y install zip sudo apt-get -y install unzip sudo apt-get -y install libpam0g:i386 sudo apt-get -y install libssl1.0.0:i386 sudo apt-get -y install gcc-multilib libstdc++6:i386 sudo apt-get -y install gdb sudo apt-get -y install libfreetype6:i386 sudo apt-get -y install pstack sudo /bin/su -c "echo 'kernel.yama.ptrace_scope = 0' >>/etc/sysctl.d/10-ptrace.conf" if [ "${X11client}x" = "1x" ] ; then sudo apt-get -y install libgl1-mesa-dev:i386 sudo apt-get -y install libxcb-dri2-0:i386 fi if [ "${gemtools}" = "true" ] ; then sudo apt-get -y install sane:i386 sudo apt-get -y install libsm6:i386 if [ ! -d "GemTools-1.0-beta.8.7-31x.app" ] ; then wget http://seaside.gemtalksystems.com/squeak/GemTools-1.0-beta.8.7-310x.zip unzip GemTools-1.0-beta.8.7-31x.zip fi fi } os="" X11client="" gemtools="" while getopts "ho:GX" OPT ; do case "$OPT" in G) gemtools="true";; h) usage; exit 0 ;; o) os="${OPTARG}" ;; X) X11client="1";; *) usage; exit 1 ;; esac done shift $(($OPTIND - 1)) case "$os" in ubuntu12.04) installUbuntuPackages sudo ln -f -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0 sudo ln -f -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so ;; ubuntu14.04) installUbuntuPackages sudo ln -f -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so ;; *) usage; exit 1;; esac On 03/28/2015 04:12 AM, Dario Trussardi
via Glass wrote:
Dale, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |