At the desktop click Ctrl+Alt+T
Type alsamixer at the prompt and hit enter
Press F6 and choose HDA Intel hit enter
Highlight Master using arrow keys and hit m
Highlight Headphone using arrow keys and hit m
Highlight Speaker using arrow keys and hit m
Press escape to exit program and your sound should work