Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Ubuntu won't boot without monitor plugged in

  1. #1
    Join Date
    Mar 2008
    Beans
    25

    [SOLVED] Ubuntu won't boot without monitor plugged in

    I've been searching all night, and found several topics on the matter, but all were 1-2 years old and none seemed to have a solution, but I'm hoping perhaps a fix has been found with the later versions of Ubuntu.

    Here's my problem:
    I'm running Ubuntu Server 9.04, and I'm hoping to make it headless. I've installed vnc4server and all that is working just fine, as long as I have a monitor plugged in. Once I remove the monitor however, it won't boot. I read in some other topics that apparently it boots automaticly into low graphics mode, and a window popping up informing about it, but it's hard to "check" it, when i have no monitor/mouse/keyboard plugged in

    I suppose this is only a problem when using GUI, and in most other topics the OP simply went using CLI instead, but as I'm still fairly new to Linux, I'd prefer having a graphical interface for now.

    I suppose you could also wonder why I don't just boot it and then unplug monitor, considering Ubuntu servers rarely needs rebooting, but as the server will not be in my own home, but at a place where powercuts are pretty common, I need it to be a be all on autostart, as the server will be placed at someone who doesn't know the first thing about computers.

    Any help is very much appriciated, thanks
    Last edited by Vakz; July 26th, 2009 at 05:03 PM.

  2. #2
    Join Date
    Nov 2007
    Location
    ~/uk
    Beans
    121
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu won't boot without monitor plugged in

    Hi,
    I would check the BIOS for "halt on ***" entries and make sure halt on VGA or similar is set to off.

    Doug.

  3. #3
    Join Date
    Mar 2008
    Beans
    25

    Re: Ubuntu won't boot without monitor plugged in

    Quote Originally Posted by doug1212 View Post
    Hi,
    I would check the BIOS for "halt on ***" entries and make sure halt on VGA or similar is set to off.

    Doug.
    Hmm, like I said i'm pretty new, and tbh i have no idea to do what you just said

  4. #4
    Join Date
    Nov 2007
    Location
    ~/uk
    Beans
    121
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu won't boot without monitor plugged in

    Find the key combination to unlock access the BIOS settings (use Google or handbook) and press them/it while the machine boots then have a look through the entries for something that says halt on VGA or something similar and set it to OFF then save and reboot.
    Doug.

  5. #5
    Join Date
    Mar 2008
    Beans
    25

    Re: Ubuntu won't boot without monitor plugged in

    aha, ok. Give me a minute, and i'll see what i can find

    Allright, i looked though BIOS (it was probably the most simple BIOS i've ever seen )

    EDIT1: Couldn't find any mention of "half on", or anything that mentioned VGA. Barely anything about monitor at all, actaully

    EDIT2: Allright. I started the computer without monitor plugged in, and the plugged in when it had already booted. What it says is this:

    Ubuntu is running in low-graphics mode.
    The following error was encountered. You may need to update your configuration to solve this.

    (EE) NV(0): No valid initial configuration found
    (EE) Screen(s) found, but none have a useable configuration.


    So evidently, Ubuntu boots. But I need to click ok on the window that pops up, which i of course can't when i don't have a monitor plugged in. Pretty ironic, really.
    Last edited by Vakz; July 26th, 2009 at 02:10 PM. Reason: New information

  6. #6
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Ubuntu won't boot without monitor plugged in

    The computer will still load the GUI. Is there an automatic login option on this vnc4server somewhere? Personally I would just set up ssh and log in through the terminal. There's no better time to learn.

  7. #7
    Join Date
    Mar 2008
    Beans
    25

    Re: Ubuntu won't boot without monitor plugged in

    Quote Originally Posted by wojox View Post
    The computer will still load the GUI. Is there an automatic login option on this vnc4server somewhere? Personally I would just set up ssh and log in through the terminal. There's no better time to learn.
    My problem is that the vnc4server starts AFTER all this "Ubuntu is running in low-graphics mode" and all.

    The reason i don't want to have to SSH is as I said, there might be times when the server has to be started by someone who doesn't know anything about computers (since the internet at my own place sucks, i can only get 8/1, it will be at my parents, who have 24/2.5).

    As i see it, I either have to make Ubuntu ignore that there is no monitor plugged in, or trick it to think a monitor is plugged in. Either solution is fine. It doesn't have to be a pretty solution, it just has to work.
    Last edited by Vakz; July 26th, 2009 at 02:27 PM.

  8. #8
    Join Date
    Apr 2006
    Beans
    547

    Re: Ubuntu won't boot without monitor plugged in

    You need to edit your xorg.conf file and change the type to vesa.
    This works for me, for my headless server (although I'm still stuggling to get the right resolution) - the vesa bit is the bit that helps

    Section "Device"
    Identifier "Configured Device"
    Driver "vesa"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Device"
    SubSection "Display"
    Depth 24
    Modes "1024x768"
    EndSubSection
    EndSection

  9. #9
    Join Date
    Mar 2008
    Beans
    25

    Re: Ubuntu won't boot without monitor plugged in

    Quote Originally Posted by nikgare View Post
    You need to edit your xorg.conf file and change the type to vesa.
    This works for me, for my headless server (although I'm still stuggling to get the right resolution) - the vesa bit is the bit that helps
    Thank you! Works perfectly.

    I changed it to 1280x800 though (too used to widescreen now ), and everything works exactly as i wanted.

  10. #10
    Join Date
    Nov 2009
    Beans
    50

    Re: Ubuntu won't boot without monitor plugged in

    Quote Originally Posted by Vakz View Post
    Thank you! Works perfectly.

    I changed it to 1280x800 though (too used to widescreen now ), and everything works exactly as i wanted.

    So where do i add 1280x800

    here is the thread i have started about this, also did what nikgare said to do. but dont know where to put 1280x800.

    http://ohioloco.ubuntuforums.org/sho....php?t=1323120

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •