I am trying to generate an xorg.conf file for my current configuration. I am using X -config xorg.conf, but it doesn't produce a file.Here is the output:    # X -config  xorg.conf.newX.Org X Server 1.17.2Release Date: 2015-06-16X Protocol Version 11, Revision 0Build Operating System:  2.6.32-573.18.1.el6.x86_64Current Operating System: Linux mapcrunch.localdomain 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.26.2.el7.x86_64 root=/dev/mapper/cl-root ro crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet LANG=en_US.UTF-8Build Date: 06 November 2016  12:43:39AMBuild ID: xorg-x11-server 1.17.2-22.el7Current version of pixman: 0.34.0    Before reporting problems, check http://wiki.x.org    to make sure that you have the latest version.Markers: (--) probed, (**) from config file, (==) default setting,    (++) from command line, (!!) notice, (II) informational,    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.(==) Log file: /var/log/Xorg.0.log, Time: Thu Aug 17 19:21:55 2017(==) Using config directory: /etc/X11/xorg.conf.d(==) Using system config directory /usr/share/X11/xorg.conf.dpci id for fd 12: 102b:0534, driver (null)EGL_MESA_drm_image required.It then hangs and never returns to prompt.[edit] Last comment by original poster:I did end up realizing that I was using the wrong command then ran  into a bound kernel driver error. I then had to blacklist the driver  for some reason in order to get the xorg.conf file.
X -config hangs and doesn't produce an xorg.conf
linux;x11;xorg
Switch to the console mode , then stop your display manager.To generate the xorg.conf.new file you should use the Xorg -configure command, it will be located under /root/xorg.conf.newMove the /root/xorg.conf.new to your /etc/X11/xorg.confFinally start your display manager.Debian-WIKI : What if I do not have an xorg config file?