Ubuntu 10.04 Server or Desktop won’t start the graphical interface (GUI) without a monitor attached at boot time. This issue can be fixed by modifying some configuration files for X11 and GRUB.
To fix the problem, open a new Terminal window using CTRL + ALT + T and run the command below in the terminal:
lsmod | grep agp
If the command returns any output, note down the name of AGP module used (example: i915, i810, intel_agp, nvidia).
In /etc/X11 create a new configuration file called xorg.conf, using this command:
sudo gedit /etc/X11/xorg.conf
In the new created file, add the following lines:
Section “Device” Identifier “VNC Device” Driver “vesa” EndSection Section “Screen” Identifier “VNC Screen” Device “VNC Device” Monitor “VNC Monitor” SubSection “Display” Modes “1024×768" EndSubSection EndSection Section “Monitor” Identifier “VNC Monitor” HorizSync 30-70 VertRefresh 50-75 EndSection
Modify your GRUB configuration using this command:
sudo gedit /etc/default/grub
and replace this line:
with this line:
Update GRUB settings using this command:
Disconnect the monitor and restart your computer. After a few minutes attach the monitor and check if Ubuntu 10.04 has started the GUI interface.
If the error: The system is running in low-graphics mode is displayed, press OK and choose Exit to console login.
After log in, using the command below, replace YOURMODULENAME with your AGP module name and blacklist it (replace YOURMODULENAME with the one resulted after running the lsmod | grep AGP command):
echo "blacklist YOURMODULENAME" >> /etc/modprobe.d/blacklist.conf
Disconnect your display and restart your computer.