Getting X to init corectly W/O a monitor conected

stan stanb at panix.com
Thu Aug 27 12:19:31 UTC 2009


I have a mcahine that lives in a rack. All the machines in tis rack share a
common KVM. This is an older KVM ,ad does not provide the corect response
to querying for things like monitor resolution, etc, when the machine doing
the querying is not slected to the monitor/keyboard.

Keyboard and mouse configure corectly, when this machine is booted, but X
does not. X comes up in a very low res/low color config.

I was thinking that I should be able to put an approriate modeline in
/etc/X11/xorg.conf, like you did back in the bad old days when X was not
auto configuring.

Soemone on this list sugested that I would be better off using xrandr. I
don't know which way  is better. If it matters, this machine actually
starts 2 different X servers, teh default on, and one on a diffeeretn tty
that is used as an ebvieonment for a VirtulBox session, so whatever I do
should probably be global to all X sessions.

I did try settign up the following script:

xrandr --newmode  "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771
775 798 -hsync +vsync
xrandr --addmode VBOX1 "1024x768_60.00"
xrandr -s 1024x768_60.00

But it return errors, _and_ when I boot the machine without the monitor
conected, and try to run this from the command line it does not work.

Whats the best way to address this issue?


-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.




More information about the ubuntu-users mailing list