I just installed ubuntu minimal and fluxbox. I have installed no login manager, so after the system boots, I login in the tty1 and use the startx command to run.
After that, if I open Firefox and go to a youtube video (or use aplay to play a wav file) I have no sound. alsamixer is unmutted and all. However, if I switch back to tty1, I can hear the sound playing!
Why this is happening, and how to tell to startx that I want the sound on the TTY which the gui is presented?