LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-01-2010, 12:33 PM   #1
dfense
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
startx - no screens found


I have a situation of a linux board , that shares a display with other systems via kvm style switch. It is normal for these boards to come on line, and NOT have an active route to the display monitor. When X starts on boot or power outage, it fails to succeed due to it not being able to probe the monitor settings.

I have a valid xorg.conf file, but it tries to auto probe the monitor. If there is NO monitor attached, i get an error in /var/log/X11 log that states...

"no screen found" and it aborts the startup.

Is there a way to force X to honor the settings in xorg.conf, and NOT probe the monitor ?

I have tried several settings, but happy to start over with new recommendations if anyone has had success doing this.

I have an intel Johnstown board (atom n270) with built in intel i910 graphics processor. I use the xserver-xorg-intel driver from debian package. I can post xorg.conf and x11 logs if required.
 
Old 12-01-2010, 12:54 PM   #2
Heidelberg
LQ Newbie
 
Registered: Aug 2010
Location: United States
Distribution: Windows 7, Fedora 13, CentOS 5.6
Posts: 1

Rep: Reputation: 0
You could try booting into run level three, and starting x through command line, I had a similar problem once. It's worth a shot?
 
Old 12-01-2010, 04:19 PM   #3
dfense
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
the downside with manually launching startx is it may very well not have a human around during it's reboot to time it accordingly. If it occurs w/o the monitor available, it will fail. We need to assume the monitor will not be online.
 
Old 12-04-2010, 04:54 AM   #4
Latios
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
Checkout NoDDC from here : http://www.x.org/archive/X11R6.8.1/doc/rendition5.html

You can try writing a manual modeline to define a screen working mode (resolution and hz) manually or use the vesa driver which might be less capable of autodetection (unsure about that)
 
Old 12-04-2010, 08:52 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,345
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
In many Linux distros, runlevel 3 suggested by the previous poster boots to a command line, not to X, and runlevel 4 boots to the GUI.

Others (such as Debian) boot to a GUI unless the login display manager is actually uninstalled. Then they boot to a command line. (I know that about Debian only because I looked it up a couple of days ago.) X can be started from the command line by typing startx.

Quote:
Originally Posted by dfense View Post
the downside with manually launching startx is it may very well not have a human around during it's reboot to time it accordingly. If it occurs w/o the monitor available, it will fail. We need to assume the monitor will not be online.
If you are booting to a non-GUI runlevel
and X is being started manually,
and there is no human around to start it,
then it could not start and fail.

It shouldn't launch at all until someone logged on and started it.

(If someone tries to start X over an remote connection, you have a human problem, not a computer problem.)

A personal story: I used to have a couple of Slackware machines connected to a KVM (Slackware boots to the command line by default, not to the GUI). I could reboot them over ssh, sometimes from hundreds of miles away, and they came up fully functional.

One of them was my webserver (I used to self-host) and the remote access was sometimes vital to my ability to be annoying in public.

Then, when I was physically with them, I could turn on the monitor, select the machine I wanted, log in, issue startx, and have full GUI functionality.

Based on this experience, I second Heidelberg's suggestion.
 
  


Reply



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
startx - no screens found gwolf2u Linux - Newbie 2 07-18-2010 10:48 AM
Startx, no screens found error spacerobots Linux - Newbie 2 02-06-2005 08:21 AM
No Screens Found Error when startx Ckesey Linux - Laptop and Netbook 13 09-28-2004 04:04 PM
startx: no screens found Anti-Corporate Linux - Newbie 3 01-01-2004 12:59 AM
startx error: no screens found Smerk Linux - Software 5 03-18-2003 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:42 PM.

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