Maybe your line-out is muted? Supposing you use Alsa, try entering "alsamixer" at the console. If the volume bar of the Master channel is empty, push it up to, say, 75 (might have to press M first to un-mute it), exit the program and enter "alsactl store".
Of course, the problem might be an entirely different one, but I think it's worth a try.