Article 52309 Boot command line option to ignore /etc/xorg.conf?

Boot command line option to ignore /etc/xorg.conf?

by
taylorkh
from LinuxQuestions.org on (#52309)
Why would I want to do that? Long story. The short of it...

I have a couple of low end Intel NUCs on which I have installed Ubuntu Mate 20.04 beta (yes beta but everything I have tested so far works great). I plan to run them headless. I will access them as needed with VNC. I installed x11vnc and configured it to start as a service with systemd. So far so good. I can connect using vinagre on my CentOS 7 workstation. And then I disconnected the monitor :(

My remote connection displays a resolution of about 800x600. More research lead me to the package xserver-xorg-video-dummy which I installed. I then edited /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Next I added an /etc/X11/xorg.conf file which sets the resolution which I desire. Actually I just copied and example I found in some documentation. I can now boot and connect to a display with a resolution of 1680x1050 (the values in the sample config file). Life was good :) but then I connected a monitor :(

The monitor displays an Intel NUC splash screen after bootup. I can Ctrl-Alt-F1 to get to a terminal so all is not lost. Based on my experimentation removing nomodeset from the grub parameter options (and of course running update-grub) has no effect. If I leave nomodeset, rename my xorg.conf and reboot I get the expected display on the connected monitor. If I must, for diagnostic/repair purposes attach a monitor and boot the system I can boot once, from the terminal rename xprg.conf and boot a second time to the desired gui. But that is not elegant.

Is there an option I can add to the boot command line interactively to either ignore the xorg.conf or disable the dummy display created by xserver-xorg-video-dummy?

TIA,

Kenlatest?d=yIl2AUoC8zA latest?i=cvyx39UB6Dk:NlKDjLXqhE0:F7zBnMy latest?i=cvyx39UB6Dk:NlKDjLXqhE0:V_sGLiP latest?d=qj6IDK7rITs latest?i=cvyx39UB6Dk:NlKDjLXqhE0:gIN9vFwcvyx39UB6Dk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments