Marin, Where is the other side of the pot connected to? It should be between + 5 and ground. Most LCD displays require anywhere between 0 volts and 1 volt for the contrast voltage.

Dave Purola,
N8NTA