Greetings!
I installed openSUSE 11.1, but couldn’t login as a user!
So,I logged in as a root, opened yast2 and configured user and password. Also I configured sound card nVidia MCP-61 as a primary one.
After configuring, sound appears.
All was working until I reboot.
After reboot neither sound nor login as a user do not work.
What should I do?
Thanks for your help…
I understand that you can login as root after the reboot. What happens if you do:
su <your-username>
Please have a look at the file /etc/hosts to confirm that the user exists.
Now the general advice I give for sound problems is to start trying to work your way through the openSUSE audio troubleshooting guide: SDB:AudioTroubleshooting - openSUSE .
Do NOT use the startup system sound as your criteria for stating sound does not work. Also be certain to check your mixer. Its not uncommon for a mixer setting (master, pcm or speaker) to be muted upon boot. In KDE your mixer is “kmix” (the small speaker in right hand corner). In Gnome your mixer is “alsamixer”.
Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole:
speaker-test -Dplug:front -c2 -l5 -twav
Note Linux is case sensitive, and “D” is not the same as “d”. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.
If that test yields errors (and its not uncommon to get errors there), try instead this more simple test: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).
Or alternatively, for testing the simple playback, use aplay program. Prepare a WAV file and simply run like:
aplay -vv somefile.wav
With the option -vv, aplay shows the verbose information of the PCM device, and a VU-peak meter during playing the file.
Try those speaker-tests as both a regular user, and also with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).
Assuming no sound, can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and twice copy and paste the following into that terminal/konsole
/usr/sbin/alsa-info.sh
Run it the 1st time with root permissions. It will ask if you wish to do an update of the script. Select YES.
Then run it again (as either a regular user or as root). This time it will diagnose your PC’s hardware and software configuration for audio, and it will post its output on the Internet/web. It will give you the URL of the web site. Please post that URL here. JUST the URL.
Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound… with that information I may be able to make a recommendation.
Also, do NOT waste too much time on this. Simply post on our forum if you get stumped, and continue to look for help that way.
After logged in as a root, i can log in as a user,there’s no trouble.
Thank you for your answer!
Firstly I’ve done sound test. As a root it works, as a user not.
code:
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -13,Permission denied
Secondly, I wrote
/usr/sbin/alsa-info.sh
The URL is: http://www.alsa-project.org/db/?f=733b4b5bacd00d7210f8da00c9ef60e01a098a4b
Thirdly,I wrote rpm -qa | grep alsa etc.
Code:
alsa-plugins-pulse-1.0.18-6.13
alsa-1.0.18-8.12.1
alsa-utils-1.0.18-6.4
alsa-oss-1.0.17-1.43
alsa-plugins-1.0.18-6.13
alsa-oss-32bit-1.0.17-1.37
puski@av760960:/home> rpm -qa | grep pulse
pulseaudio-module-lirc-0.9.14-2.2.1
alsa-plugins-pulse-1.0.18-6.13
pulseaudio-module-jack-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
libpulse-browse0-0.9.14-2.2.1
pulseaudio-module-zeroconf-0.9.14-2.2.1
pulseaudio-lang-0.9.14-2.2.1
pulseaudio-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
pulseaudio-utils-0.9.14-2.2.1
libxine1-pulse-1.1.15-23.3.3
pulseaudio-esound-compat-0.9.14-2.2.1
libpulse0-0.9.14-2.2.1
puski@av760960:/home> rpm -q libasound2
libasound2-1.0.18-8.12.1
Sorry for my poor English.
Correction: NOT /etc/hosts, BUT /etc/passwd
But that’s not the problem. If after install the configured user cannot login, there’s something seriously wrong.
What’s your system ‘saying’ when it refuses to let your user login? To find out:
Try logging in as the normal user on the console: Atthe login screen hit Ctrl-Alt-F1. This brings you to the console. Try logging in. Copy output/errormessage here, we’ll try to help you get it working.
when I’m trying o log in as a user, it types: 'wrong username".
Now I rebooted and a phonon message appears. It says: “Sound device failed, reset back to the defaults”
And a stupid question: how do I go back to the GUI from the console? lol!
Sorry for my poor English and thank you!
This is really mystic!!!
I’ve just rebooted, sound doesn’t work. All right.
I made sound test from terminal. It types “front left, front right” but there’s no sound. Then I opened yast2-hardware-sound.
Immediately, when loading was finished, sound appeared with no changes from mine!
Of course, I can run yast2 every time I turning on my PC, but it isn’t useful.
What is this? I’m really surprised…
ONE PROBLEM SOLVED!
I decided to update phonon via yast2.
I had phonon ver 4.2… , now 4.3… and sound is working!
But I still can not log in as a user…
Ok, this might be a permissions problem.
Try adding your regular users to group audio, per the guidance here in step 6:
SDB:AudioTroubleshooting - openSUSE - step-6 : How to fix a permissions problem
Then restart and test your audio.
somehow, somewhere, someway we need to make sure new users get this
message:
Do not log into KDE (Gnome, XFCE, etc) as root, ever!
–
platinum
platinum wrote:
> somehow, somewhere, someway we need to make sure new users get this
> message:
>
> Do not log into KDE (Gnome, XFCE, etc) as root, ever!
or, openSUSE needs to:
-
be impossible to log in as root (but, that is the Redmond
training-wheels-mentality solution), or -
between the time the user types “root” in the ID block the time s/he
types the second letter of root’s password in the password block the
screen needs to change from green to bright pulsating RED and the
password block needs to disappear and in its place is caution and
warning words about why NOT to do that…
AND, specific, clear and easy instructions on how to (properly) sign
in as a normal user and become root as needed by (for example) using
YaST or root powered file managers/editors etc etc etc…
then! give an exam on how to do it right and if the user passes the
exam, then give a final “You are on your own!” and let them have the
password field back…but, reset the user block to the default user…
–
platinum