

To further troubleshoot boot the machine with the monitor plugged in and check the /var/log/Xorg.0.log file for any errors. If you have a black screen revisit the configuration and make sure everything is correct. If you do not get a successful connection plug the monitor back in and see where in the process it stopped. If you get a successful connection you are good to go. Once you have given it plenty of time to boot you can either VNC or ssh into the machine. To test this setup go ahead and boot the machine without the monitor attached. However, the display by default is around 1024x768 and our local display is usually much larger. We don't plug any display to it, instead, we remote desktop/vnc to the server (using TightVNC). We bought a small box as our server and we installed ubuntu linux. Save the /etc/default/grub file and then issue the command sudo update-grub to rebuilt grub. set headless ubuntu linux display resolution. You can take this one step further and disable the splash screen for the boot process by setting the line: Once you have saved and closed that file you now need to edit the /etc/default/grub file and add the following line: If one already exists, copy it to /etc/X11/ and then erase the contents of the /etc/X11/nf file. The first thing you need to do is to set up the nf configuration. With that being said, let's get on with it. You will need this information momentarily (so if you don't know it, dig around and find out what card you are using). I will also assume you know what graphics card is in your server. This guide also assumes that you already have a working server installation that you can successfully boot with an attached monitor. If you are, make sure you back up any pre-existing nf file that might live in /etc/X11. I assume that anyone wanting to set up a headless server isn't afraid of manually creating/editing the nf file. This solution requires that you create an /etc/X11/nf configuration file. Fortunately the Linux community has come up with a temporary work around for this issue (I'm confident the distribution developers will come up with a much better solution soon). You could work around this by plugging in a monitor, mouse, and keyboard and letting the OS boot and then removing the monitor when the boot process has finished.
