LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gnome profile lockup (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-profile-lockup-220846/)

or1onas 08-22-2004 06:34 AM

Gnome profile lockup
 
Hi all,
i'm using Gnome 2.6 on FC2 (Kernel 2.6.8-1.521) and i've been having a prob with the 'gnome-volume-control' as a standard user. It started giving me "Sorry, no mixer elements and/or devices found" when i tried to open it, although i was able to listen to music from all appz (xmms,etc)
I read a few articles in the forum and tried to solve the problem.
I tried to chmod 666 /dev/dsp*, /dev/mixer*, /dev/audio but nothing changed.
(BTW, everytime i log off and log on again, the permissions are once again not changed, it's only 600. I tried 4-5 times, i used chmod as root but still the changes cannot stay..It's strange,isn't it?)
Anyway, I tried to start g-v-c from the console and then i got an error about a segmentation fault for gstreamer ffmpeg.so (ot sth like that). I d/l an rpm and updated this package.
I then logged off and tried to log on again, but now, everytime i give my user/pass, the screen just stays there with the mouse cursor visible, but the GUI won't start. I can only kill X or logon as root. My profile is dead.
Has anyone got any idea what should i do in order to recreate the profile or what should i check (logs maybe) and try to fix it?
Thanx in advance!

Andrew Benton 08-22-2004 07:17 AM

If you can log in as root at the command prompt you could move your old home folder out of the way by renaming it and then create a new one.

mv /home/$USERNAME /home/$USERNAME-old
mkdir /home/$USERNAME
chown $USERNAME:users /home/$USERNAME

then try and log in as yourself. Gnome should recreate everything as if you're logging in for the first time. You can copy anything you need from your old home folder

or1onas 08-22-2004 07:54 AM

Thanx a lot for answering.
I did that and it worked but my main problem is that i'd already made many customizations (themes,etc) in my profile and i was wondering if there's some kind of log where i could pinpoint the error and not have to recreate everything from scratch...
Once again thanx for helping me out.

or1onas 08-22-2004 08:17 AM

Update:
I moved the old /home/x folder back where it was and tried once again to log on.
Same problem happened again.
I logged in and out a couple of times again and then logged in as root to check the log files.
Security log shows the following message for each time i tried to log in as the standard user:
'pam_succeeded_if: requirement "uid<100" not met by user "x"'
Does this make any sense?

or1onas 08-22-2004 09:15 AM

Problem Solved:
After reading some articles, i found out that i had to chech /etc/security/console.perms...
<sound> had 0600 permissions.
I changed it to 766 (execute bit is needed in order to work).
My profile works flawlessy again and g-v-c too!!!!
I just wonder why this happened....


All times are GMT -5. The time now is 12:38 AM.