LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-18-2010, 11:35 PM   #1
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Rep: Reputation: 0
Running Server without monitor causes crash - help needed to identify cause


Hi,
I hope the server forum is the best match for my post, otherwise please redirect me.
I have a Fedora 12 Desktop machine running at a remote site and have no keyboard not a screen connected to it.
After rebooting it remotely I was surprised to learn the machine did not come back up again. (It did when I tested it while I was on site).

I have now look at the logs and 'messages' seem to point to gdm:
Apr 9 11:51:34 newcastle NetworkManager: <info> (eth0): device state change: 1 -> 2
Apr 9 11:51:34 newcastle NetworkManager: <info> (eth0): bringing up device.
Apr 9 11:51:35 newcastle kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 9 11:51:35 newcastle NetworkManager: <info> (eth0): preparing device.
Apr 9 11:51:35 newcastle NetworkManager: <info> (eth0): deactivating device (reason: 2).
Apr 9 11:51:35 newcastle gdm-binary[2074]: WARNING: GdmDisplay: display lasted 1.091233 seconds
Apr 9 11:51:35 newcastle gdm-binary[2074]: WARNING: GdmDisplay: display lasted 0.477726 seconds
Apr 9 11:51:36 newcastle gdm-binary[2074]: WARNING: GdmDisplay: display lasted 0.474680 seconds
Apr 9 11:51:36 newcastle gdm-binary[2074]: WARNING: GdmDisplay: display lasted 0.474904 seconds
Apr 9 11:51:37 newcastle gdm-binary[2074]: WARNING: GdmDisplay: display lasted 0.475090 seconds

After this the message log stops and the machine turned itself off.


In the gdm log I see something like this:
(II) intel(0): I2C bus "HDMIDDC_C" initialized.
(II) intel(0): HDMI output 2 detected
(II) intel(0): EDID for output VGA
(II) intel(0): EDID for output HDMI-2
(II) intel(0): Output VGA disconnected
(II) intel(0): Output HDMI-2 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA disconnected
(II) intel(0): Output HDMI-2 disconnected
(WW) intel(0): Unable to find initial modes
(EE) intel(0): No valid modes.
(II) Unloading /usr/lib/xorg/modules//libvgahw.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found





So my question is - should it not be possible to startup the system without a monitor plugged in?
How can I get closer to finding out if this is a gdm issue or something else?

I guess I could just boot in run level 3, but I would prefer it if the staff at the remote site could plug in a monitor if needed.


Thanks in advance,
Soren
 
Old 04-19-2010, 07:30 AM   #2
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
It is possible to boot without a monitor. What I did is forced it to boot in command line mode, and added a line in my inittab file that started getty on the serial port. That way you can login locally if you need, but without a screen connected. You can even use the "console" option with Linux and get it to log startup messages to that serial port.
 
Old 04-19-2010, 06:54 PM   #3
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hda7 View Post
It is possible to boot without a monitor. What I did is forced it to boot in command line mode, and added a line in my inittab file that started getty on the serial port. That way you can login locally if you need, but without a screen connected. You can even use the "console" option with Linux and get it to log startup messages to that serial port.
Thanks for your suggestion,
Yes I realize you can boot without a monitor - the problem seems to be with gdm crashing on my particular Optiplex machine when no monitor is connected. I have network access so no need for serial port connection.
Regards
Soren
 
Old 04-19-2010, 07:54 PM   #4
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
Quote:
I have network access so no need for serial port connection.
I suggest at least setting up your boot loader to pass "console" and "loglevel" arguments to the kernel, so it will log boot messages to the serial port. That way you will not have to connect a monitor to debug the boot process. You probably won't need to start getty on it though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Helpful advice needed for initial setup of CentOS 5 server running Tomcat JohnRock Linux - Newbie 14 05-05-2009 06:01 PM
Dell 6400/e1505 running Slackware 12.1 dual monitor crash mysql_connect Slackware 2 07-18-2008 07:32 PM
your help is needed - system crash bendani Linux - Server 0 03-28-2007 04:56 PM
What command can identify processes running on ports? hello321_1999 Linux - Newbie 2 11-23-2004 05:01 AM
howto identify what services are running via CLI? Lleb_KCir Linux - General 3 09-21-2004 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration