×

Notice

The forum is in read only mode.

!! SOLVED !! [CAELinux 2009] Problems with user

  • Alessandro
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 10 months ago #3064 by Alessandro
I store my data on a NFS share. You know that if you want to connect to an nfs server, you need to be a user with same uid ang gid on both sides client and server.

User on the server already exist, so I managed CAELinux 2009 to create a new user:

user "sti" uid 501 gid 501
password: my password
privileges: administrator

Now it happens that if I open Salome-Meca, the user sti is not able to connect to the ASTER server, even if I provide the correct path to it.

If I connect as "caelinux" and press "refresh", the system find the executable but ask me for the "caelinux" password a lot of times.

When I run the analysis as "caelinux", it seems to think to something for a few seconds and finally exit with this message:

FATAL ERROR: SIGSEGV 'segmentation violation' detected, Address 19.

Other little problem is that Ubuntu does not show user with uid under than 1000 in its control panel, so I can manage my "sti" user only by command line.

May be that CAE programs work only with "caelinux" user?

I installed Code-Aster on a Mandriva 64 bit with my &quot;sti&quot; 501 user and never experencied any problem.<br /><br />Post edited by: Alessandro, at: 2009/06/18 13:50
More
15 years 10 months ago #3068 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:[CAELinux 2009] Problems with user
... strange issue..

Some general questions 1st:

How did you create the new user? with the GUI?
Did you install the distro?
Have you changed the hostname?

I had verified that new users can actually be created and run Salome Meca and Aster properly; but this was done in Live mode, not on a full install..

Possible solution:

Try to &quot;rm -rf .ssh .astkrc* .Salome*&quot; in your new user profile.
Then launch a terminal and you should see some messages concerning regeneration of the user SSH keys.
Then :
ssh your_host_name
it should connect without password

Re-run astk or Salome-Meca (from the menu) and try to see if you still get the &quot;caelinux&quot; username in the connection settings...

Thank you for the feedback, I will try to reproduce the error and let you know.

PS: CAELinux 2009 has not been tested so much at the moment, any feedback is welcome!

Joël Cugnoni - a.k.a admin
www.caelinux.com
More
15 years 10 months ago #3069 by Alexey Balmashnov
Replied by Alexey Balmashnov on topic Re:[CAELinux 2009] Problems with user
By default Ubuntu uses 1000 as a minimal user id and various parts of the system are configured with this in mind.

Other people have had various problems with this respect, e.g. check out this thread: ubuntuforums.org/showpost.php?p=3531723&postcount=6 Hope it will help you.
  • Alessandro
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 10 months ago #3070 by Alessandro
Replied by Alessandro on topic Re:[CAELinux 2009] Problems with user

How did you create the new user? with the GUI?
Did you install the distro?
Have you changed the hostname?


First attempt I used the command &quot;adduser&quot; and no way, second attempt I deleted the user with &quot;userdel&quot; (the home dir too) and recreate it with the gui. Same result.

Yes, I installed the distro.

Yes, I changed the hostname to reflect what my nfs server espect to see. I use a static ip configuration, no dhcp.



Try to &quot;rm -rf .ssh .astkrc* .Salome*&quot; in your new user profile.
Then launch a terminal and you should see some messages concerning regeneration of the user SSH keys.
Then :
ssh your_host_name
it should connect without password

Re-run astk or Salome-Meca (from the menu) and try to see if you still get the &quot;caelinux&quot; username in the connection settings...


Ok I will try it. The first thing I think was performed automatically when I deleted the huser home directory, but I didn't give the command &quot;ssh hostname&quot;.
  • Alessandro
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 10 months ago #3071 by Alessandro
Replied by Alessandro on topic Re:[CAELinux 2009] Problems with user
Alexey Balmashnov wrote:

By default Ubuntu uses 1000 as a minimal user id and various parts of the system are configured with this in mind.

Other people have had various problems with this respect, e.g. check out this thread: ubuntuforums.org/showpost.php?p=3531723&postcount=6 Hope it will help you.


Yes, I have experienced various network issues with ubuntu, this is the main reason why I dislike it.
  • Alessandro
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 10 months ago #3072 by Alessandro
Replied by Alessandro on topic Re:[CAELinux 2009] Problems with user
I created two &quot;test&quot; user, one with uid 1002 and anhoter with uid 502.

both work &quot;out of the box&quot;, this means that I did some errors when creating first user.

Sorry for the mistake.... :dry:<br /><br />Post edited by: Alessandro, at: 2009/06/18 16:35
Moderators: catux
Time to create page: 0.138 seconds
Powered by Kunena Forum