help me - removed main user account in kubuntu
Hello,
I am using Kubuntu 5.10 (Breezy Badger). I was just playing around with my distro and was having problems login to Gnome with my main user account after I changed some panel settings for it. I was able to login as root and the other user account to gnome. Anyway I was least bothered about gnome as I could login to KDE and I like it much. Still, my mind was going towards gnome as I don't feel comfortable if there's anything in my OS that has problems. So, I deleted the main user account and created a new one with the same name. Wow, now I could login to gnome again. But now, there are more problems. No sound, and I couldn't even use sudo. Neither in gnome nowr in KDE. Code:
sh-3.00$ sudo apt-get update |
To fix Sudo, add the following line to /etc/sudoers (as root):
Code:
user ALL=(ALL) ALL I hope this helps --Ian |
thanks
Quote:
U r a genius. sudo is fixed now. Now the only visible problem is the sound. Every time I login now, I am getting this message -> Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (Permission denied) The sound server will continue, using the null output device. |
I had this problem with the sound before, but I cannot for the life of me remember how to fix it. Try and google it, and see what comes up.
I seem to remember that it had something todo with the permissions of /dev/dsp - try "chmod 666 /dev/dsp" as root, and see if that fixes the problem. Also, try adding you user to the "audio" group. I think you do something like "adduser user audio" - see man adduser for details. I hope this helps --Ian |
thanks
I finally fixed it.
1) logged in as root. 2) Selected "Users and Groups" 3) Selected my username There was a list of checkboxes for this users access permissions. One of them was "audio". I checked those boxes as per my requirements. 4) Logged out. 5) Logged in as my user. And the problem is gone. Thanks for ur help. |
All times are GMT -5. The time now is 12:28 AM. |