If there is literally no picture but the monitor gets recognized, it could be the backlight that is broken or not connected.
You could open it up and reset all connections before throwing it away. You found it in the trash to begin with so you'd lose nothing.
If that fails you can always bring it to a shop and have them replace the backlight or whatever else is broken if it's fixable.