$ sudo update-rc.d apache2 disable
To disable upstart services, create file named <service>.override in /etc/init/ folder that contains the word "manual"
$ sudo sh -c 'echo manual >> /etc/init/mysql.override'
$ sudo update-rc.d apache2 disable
$ sudo sh -c 'echo manual >> /etc/init/mysql.override'
tward $ X :1 -configure:1 specifies the display to use, :0 is default but you are (probably) already using that one. This should put xorg.conf.new in your home folder. Now you need to add modeline options to it, these tell it what to do with the monitor at various resolutions. To create these modelines use cvt (the etc.. part is my own).
tward $ cvt 800 600 # 800x600 59.86 Hz (CVT 0.48M3) hsync: 37.35 kHz; pclk: 38.25 MHz Modeline "800x600_60.00" 38.25 <...etc...> 624 -hsync +vsyncDo this for each resolution you want to have and copy the lines into xorg.conf in the Monitor section for Monitor0.
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" Modeline "1280x1024_60.00" 109.00 <...etc...> 1063 -hsync +vsync Modeline "1024x768_60.00" 63.50 <...etc...> 798 -hsync +vsync EndSectionFinally, you need to (maybe not??) add the resolution strings to the Screen section, Display SubSections where applicable:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
....
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1920x1080" "1280x1024" "1152x865" "1024x768"
EndSubSection
EndSection
Reboot, or otherwise restart X and everything is now working.