Firstly, none of these problems appear if I boot in runlevel 3, then immediately start X with startx.
Secondly, I've tried using slim, which I normally use, and KDM, and both have the same problem. I've also used fluxbox, which is my normal WM and KDE, without any noticeable difference.
The problem is, when I boot to runlevel 4 I have no sound. Sound works if I run mplayer as root, but not as a normal user. In KDE it tells me my audio card has been removed when KDE starts. Setting volume with alsamixer as root doesn't have any effect on sound for the non-root user.
Running alsamixer as non-root results in:
Code:
cannot open mixer: No such file or directory
Trying to play an mp3 in mplayer gives this:
Code:
[AO_ALSA] alsa-lib: conf.c:4246:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4725:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO ESD] esd_open_sound failed: Connection timed out
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4246:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4246:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4246:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4725:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Also, when I try to use the TTYs after booting into runlevel four it doesn't properly recognise what I'm typing, it misses some keypresses and hangs before asking for password. Again, none of this happens if I boot into runlevel 3.
It's Slack14, 64bit.
In addition, the same thing happens when manually invoking slim from the command line, not just when booting into runlevel 4. Must be something to do with using a display manager.