Page 1 of 1

[SOLVED] Error when I try to access the new user in Mageia 2

PostPosted: Oct 27th, '12, 14:40
by macxi
Hi,

I have created new user with MCC (in KDE Mageia 2 - 32bit) and then I configure and restart the computer for once or twice, without problem.

In the third or fourth time I can not access the user and appears the following error message:

    Call to lnusertemp failed (temporary directories full? )
    Check your installtion
    Okay

There are space on HD and new user is automatically numbered as 501. Accessing the dolphin as root, I saw that the owners of these folders are nobody and nogroup

I have created three users in two different installations of Mageia 2 and appears always the same error.

Any suggestions?

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 27th, '12, 15:01
by oj
are you saying the new user's /home directory is owned by "nobody?" That would appear to be a samba user.

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 15:01
by macxi
I created a new user with the Mageia 2 in virtualbox and is working without problems:
Image

Image

But the installation of a new user in Mageia 2 in HD, does not work. I have no idea why this error occurs.

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 15:28
by tom_
have you tried if running drakuser from a terminal (as root)
some intresting error messages appears?

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 18:28
by macxi
tom_ wrote:have you tried if running drakuser from a terminal (as root)
some intresting error messages appears?


I can not access the new user:

Image
    Call to lnusertemp failed (temporary directories full? ) Check your installtion
    Okay
Image

I accessed the drakuser as root with other old user. When I access the drakeuser as root, no appears warning. Only appears the warning below, when I select the option to edit the user.

    [user-mageia-2-kde@localhost ~]$ su -
    Password:
    [root@localhost ~]# drakuser

    (drakuser:5739): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (drakuser:5739): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (drakuser:5739): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 20:27
by doktor5000
What does an
Code: Select all
ls -la /home
and
Code: Select all
ls -la /home/mga2-2012
show?

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 21:55
by macxi
Code: Select all
# ls -la /home
total 36
drwxr-x--x 17 root           adm             4096 Oct 29 13:25 ./
drwxr-xr-x 25 root           adm             4096 Oct 29 16:54 ../
lrwxrwxrwx  1 root           root              20 May 24 18:35 live -> /home/mageia-2/
drwxr-x--x  2 root           root           16384 Jan 16  2011 lost+found/
drwxr-x--x 25 nobody         nogroup         4096 Oct 27 05:36 mga2-2012
drwxr-x--x 54 mageia-2       mageia-2        4096 Oct 29 15:37 mageia-2/
drwx------  4 root           root            4096 Jul 24  2011 .Trash-0/
drwxr-x--x  3 xguest         xguest          4096 May 21 20:28 xguest/
[root@localhost ~]



EDIT doktor5000: Sorry, due to an oversight of mine post got overwritten :cry:

Please repost, and see may answer below in the meantime

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 23:47
by doktor5000
# ls -la /home
total 36
drwxr-x--x 17 root adm 4096 Oct 29 13:25 ./
drwxr-xr-x 25 root adm 4096 Oct 29 16:54 ../
lrwxrwxrwx 1 root root 20 May 24 18:35 live -> /home/mageia-2/
drwxr-x--x 2 root root 16384 Jan 16 2011 lost+found/
drwxr-x--x 25 nobody nogroup 4096 Oct 27 05:36 mga2-2012
drwxr-x--x 54 mageia-2 mageia-2 4096 Oct 29 15:37 mageia-2/
drwx------ 4 root root 4096 Jul 24 2011 .Trash-0/
drwxr-x--x 3 xguest xguest 4096 May 21 20:28 xguest/



See the difference?

A
Code: Select all
chown -R mga2-2012:mga2-2012 /home/mga2-2012
as root should fix the ownership.

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 29th, '12, 23:57
by macxi
doktor5000 wrote:
# ls -la /home
drwxr-x--x 25 nobody nogroup 4096 Oct 27 05:36 mga2-2012
drwxr-x--x 54 mageia-2 mageia-2 4096 Oct 29 15:37 mageia-2/


See the difference?


Yes, I saw the difference, I just don't know why the Mageia 2 is causing this error (Indicate that the owner of the new user is nobody nogroup).

I created a new user in Mageia 2, installed on virtualbox, and this error didn't appear.

Re: Error when I try to access the new user created Mageia 2

PostPosted: Oct 30th, '12, 02:44
by macxi
Doktor5000,
I fixed the property of the new user and then I can access it: SOLVED
tks