LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   cannot add new users to FC2: Gnome Session error (https://www.linuxquestions.org/questions/fedora-35/cannot-add-new-users-to-fc2-gnome-session-error-265934/)

blames 12-13-2004 10:26 AM

cannot add new users to FC2: Gnome Session error
 
I currently upgraded from redhat 7.2 to FC2 (yes I know this was not a good idea but I'm kinda stuck with it now so I must get it working). During the installation I was never asked to add any users except for root password. I am now trying to add new users and I get the following error after I input the username and password:

A little warning box comes up and says:
"your session only lasted for 10 seconds. if you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging is with one of the failsafe sessions to see if you can fix this problem"

/etc/X11/gdm/PreSession/Default: Registeringyour session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "amesb"
segmentation fault
segmentation fault

(gnome-session : 13668): libgnomevfs-WARNING **: Unable to create ~/.gnome directory: Permission denied
Could not create per-user gnome configuration directory ' /home/amesb/.gnome2/': Permission denied }

I have created home directories for the users and inputed their information in the Users/Group tool.


Does anyone understand what is going on here???

any help would be appreciated.

thanks

maxut 12-13-2004 11:54 AM

Re: cannot add new users to FC2: Gnome Session error
 
Quote:

Originally posted by blames

(gnome-session : 13668): libgnomevfs-WARNING **: Unable to create ~/.gnome directory: Permission denied
Could not create per-user gnome configuration directory ' /home/amesb/.gnome2/': Permission denied }

what does "ls -la ~" say?

Belghouth 12-14-2004 10:06 AM

from Redhat 7.2 to FC2 ... let's calculate :rolleyes: ...mmm ... 4 years. Not so late.
You have done the best choice, don't regret it !
I don't understand what is happening, but check your /etc/fstab file.

FLOODS 12-14-2004 10:33 AM

why not just adduser from a command line?

as far as the rest goes.. uninstall and reinstall what you can cleanly, that way there's no muck left over.

wmakowski 12-14-2004 04:24 PM

I assume you are running the User Manager within Gnome when you are adding new users. I have noticed segmentation faults when libraries that the application is dependent upon don't match up to the installed library. You might try to verify the system-config-users package using the verify option in rpm. It is dependent upon the libuser library. You can verify that package as well.

There are a few messages that show us other possible problems. The first is disk space. Check the filesystem that has /home on it to make sure there is room to grow. Secondly is permission errors. The home directory should be 755 with root as the owner and group. The directories for the users are normally set at 700 with the username as the owner and their default group as the group.

If the User Manager keeps malfunctioning it would be worth the time to uninstall both packages mentioned above and then reinstall them to see if it solves the problem. If all else fails a good alternative is to use useradd at the command line. Let us know how you make out.

Bill

blames 12-14-2004 04:31 PM

got it figured out...
 
Thank you all for your responses.. It was a stupid mistake on my part. I was just editing the users that were left over from 7.2.. It turns I needed to remove them and start all over with new users and home folders..

thanks again

FLOODS 12-14-2004 09:20 PM

If you haven't rm'd the users home directories yet, you could copy any of the important stuff to the new users profiles you are making. Guess that could always be a workaround.

Is the upgrade from 7.2 stable thus far? I have some friends that want to upgrade and I should tell them about what to expect.


All times are GMT -5. The time now is 11:47 PM.