salome-meca2007 ubuntu 7.10

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1558 by yann pasco
salome-meca2007 ubuntu 7.10 was created by yann pasco
Hi all!

I'm new in the world of salome/code_aster users.
I did not have any trouble to install the full package and Salome is working great.
I need someone to help me configuring the server/client protocol used by aster to run simulations.

I did find some help on the WEB but aster is still not working

I am using the service with a local configuration. (i did remove the domain name in the configuration of aster but i have a warning when running it)

I did install rsh-client and rsh-server

when i run a check with astk the result is :

yadoum@yadoum-laptop:/opt/SALOME-MECA-2007.1-GPL/aster/ASTK/ASTK_CLIENT/bin$ <INFO> ASTK version 1.5.2

&lt;INFO&gt; Thème de couleur actif :
&lt;INFO&gt; Nom de domaine de la machine locale non défini. Il se peut que les machines distantes ne puissent pas contacter la machine locale. Renseignez le nom de domaine de votre machine locale dans Configuration/Interface.
&lt;INFO&gt; Nom complet de la machine locale : yadoum-laptop
&lt;INFO&gt; Le DISPLAY ci-dessus ne contient pas le nom de domaine, les machines distantes risquent de ne pas pouvoir ouvrir de fenêtre.
&lt;INFO&gt; Affichage des applications sur yadoum-laptop:0.0
&lt;INFO&gt; Commande ps utilisée : ps
&lt;INFO&gt; Test de la connexion de yadoum-laptop vers localhost...
&lt;INFO&gt; Commande externe sur yadoum-laptop :
echo hello
&lt;INFO&gt; Numéro de processus : 6343
&lt;INFO&gt;
============================== SORTIE STANDARD ==============================
hello
=============================================================================

&lt;INFO&gt; ... connexion réussie
&lt;INFO&gt; Test de la connexion de localhost vers yadoum-laptop...
&lt;INFO&gt; Commande externe sur yadoum-laptop :
rsh -n -l yadoum yadoum-laptop echo hello
&lt;INFO&gt; Numéro de processus : 6348
&lt;INFO&gt;
============================== SORTIE STANDARD ==============================
Authentication failure
=============================================================================

&lt;ERREUR 025&gt; Connexion échouée :
Authentication failure
====== fin du message ======
Vérifiez le fichier .rhosts de yadoum sur yadoum-laptop, il devrait contenir une ligne du type :
localhost yadoum
&lt;INFO&gt; Vérifications effectuées : 1 erreur(s).
&lt;INFO&gt; Session ended : 05/12/2007 - 16:14:26
EXIT CODE : 1


I don't have any .rhosts in /home nor in /home/yadoum

can anyone help me ?


thanks

Please Log in or Create an account to join the conversation.

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1559 by yann pasco
Replied by yann pasco on topic Re:salome-meca2007 ubuntu 7.10
it's me again,

i did configure a ssh server instead of using the rsh protocol... and now the check option of astk is running without any trouble.

BUT i still have no xterm when running aster in salome : nothing happens.

is it a trouble of DIPlAY ?

thanks

Yann

Please Log in or Create an account to join the conversation.

More
16 years 4 months ago #1560 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:salome-meca2007 ubuntu 7.10
Yes, this is exactly what I did for CAELinux:
1) install sshd &amp; configure ssh for certificate-based authentication.
2) set SSH as the default protocol for Astk &amp; Salome-Meca.
3) disable the security option that prevents X-server from accepting remote connection: search for &quot;no listen tcp your-distro-name&quot; in Google and you will probably find the way to change these settings.

Joël Cugnoni - a.k.a admin
www.caelinux.com

Please Log in or Create an account to join the conversation.

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1561 by yann pasco
Replied by yann pasco on topic Re:salome-meca2007 ubuntu 7.10
thanks...

i still have troubles.

I think aster is launching the application by using an external xterminal.

for example

ssh -l loginname host xterm

is not working

but

ssh -X -l loginname host xterm

is working

I think that i have to change a setting to have it displayed.

i don't know if it is an ubuntu security option, i can't find it.

need help !

Please Log in or Create an account to join the conversation.

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1563 by yann pasco
Replied by yann pasco on topic Re:salome-meca2007 ubuntu 7.10
Hi all.

I spent half my night to understand what is happening... and i still have no results.

I do not find where to setup salome-meca to use the ssh protocol as mentionned in the last answer from &quot;administrator&quot;...

I did try to install the soft in the /home folder and is was worth doing it, astk does not start any more. I went back with an /opt installation...

i should have asked those questions :

is it possible to install the standalone version using ubuntu 7.10 (gutsy) ?

do i have to be root to launch salome-meca installed in /opt ?

because runing postinstall.py when user is not working... I have to be root to run it (sudo command line in ubuntu)

thanks

Yann

Please Log in or Create an account to join the conversation.

More
16 years 4 months ago #1567 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:salome-meca2007 ubuntu 7.10
Hi,

to setup SSH as default protocol, you will need to modify several files in the SALOME directory. I have to find my doc on that point and will let you know what you should modify.
Another way to do it would be to simply copy the /opt/SALOME-MECA-2007.1-GPL from CAELinux 2007 + the /opt/ssh-setup.sh script.

I have attached this ssh-setup.sh script if you want to see what it does.

Attachment ssh_setup.zip not found


Joël Cugnoni - a.k.a admin
www.caelinux.com
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.162 seconds
Powered by Kunena Forum