Last night, everything was working fine on my Slackware64 machine. I watched a few videos via VLC, and all was good. Went to work this morning, came home, and now things are all messed up. I hadn't rebooted and nobody was on my system.
konsole is gone. When I try to run konsole from KDE, it says "KDE init could not launch /bin/sh". If I go to /bin, sh is there, I can run it. Of course this affects Yakuake as it needs the Konsole component.
I tried installing all the packages for KDE, which didn't have any effect.
Going into VLC I no longer get any sound. When trying to play anything I get
"Audio output failed:
The audio device "default" could not be used:
No such file or directory."
I get sound from KDE when I startx, or shut it down...
I try to run the user manager in KDE, but it fails to load. It doesn't give me an error.
Well, while typing this out I solved some issues. Running konsole from a command line said it couldn't find "libutempter.so.0" so I reinstalled "utempter-1.1.5-x86_64-1.txz" and konsole and yakuake now work properly...and so does the user manager.
So I guess...what's up with VLC? Running it from terminal and playing a file gets me this...
Code:
LSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[0x7f2894008418] alsa audio output error: cannot open ALSA device "default": No such file or directory
[0x7f2894008418] main audio output error: no suitable audio output module
[0x7f289584ff98] main decoder error: failed to create audio output
...and now while searching for "unable to open slave" I found out I needed to add an .asoundrc file with the following...
Code:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
And now I have sound in VLC.
Well,thanks for letting me think things through and solve this on my own...