Displace modifier does not work as described
Start wit your cube, enter Edit Mode (Tab) and subdivide it like 10 times so you have many vertices. (W).

Exit edit mode (Tab).

Add a displace modifier.

Set the Texture for to be used by the displace modifier.