LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   help me - removed main user account in kubuntu (https://www.linuxquestions.org/questions/ubuntu-63/help-me-removed-main-user-account-in-kubuntu-431535/)

manishsingh4u 04-03-2006 11:56 PM

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
Password:
sh-3.00$

Can anyone suggest, what I should do to make it work?

IBall 04-04-2006 12:13 AM

To fix Sudo, add the following line to /etc/sudoers (as root):
Code:

user ALL=(ALL) ALL
Replace user with your user name.

I hope this helps
--Ian

manishsingh4u 04-04-2006 12:27 AM

thanks
 
Quote:

Originally Posted by IBall
To fix Sudo, add the following line to /etc/sudoers (as root):
Code:

user ALL=(ALL) ALL

Thanks IBall,
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.

IBall 04-04-2006 12:35 AM

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

manishsingh4u 04-04-2006 12:41 AM

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.