Here's a standard VGA pinout:
Standard 15 pin D-Sub VGA connector pinout
___________________________________
\ /
\ 1 2 3 4 5 /
\ /
\ 6 7 8 9 10 /
\ /
\ 11 12 13 14 15 /
\_________________________/
Pin # Description
1 Red Video
2 Green Video
3 Blue Video
4 Sense 2 (Monitor ID bit 2)
5 Self Test (TTL Ground)
6 Red Ground
7 Green Ground
8 Blue Ground
9 Key - reserved, no pin
10 Logic Ground (Sync Ground)
11 Sense 0 (Monitor ID bit 0)
12 Sense 1 (Monitor ID bit 1)
13 Horizontal Sync
14 Vertical Sync
15 Sense 3 - often not used
Here is my LCD pinout:
www.geocities.com/stvartak86/pinout.jpg
For reference, here is was the LCD cable looks like (this is the circuitry, well part of it, it is labeled pinout):
www.geocities.com/stvartak86/circuitry.jpg