GNOME Bugzilla – Bug 632045
gdm does not allow configuration of X server arguments
Last modified: 2018-02-12 14:59:39 UTC
Created attachment 172245 [details] [review] Patch to add config option for X session args With the recent refactorings of gdm, there is no longer any means to specify extra command-line args for the X server. Previously we could use the [servers] section of custom.conf, but support for that just went away without anything to replace it. It's an important feature though: see this Red Hat bug for example [1], or in my case I just need to force Xorg to start on a particular vt, so I want to pass an arg like "vt8". There was some vestigial support already, in form of an unused "session-args" property in the GdmServer type. I've written a patch (attached) which fixes some bugs in that code, and makes it configurable from custom.conf. This is based on the gnome-2-30 branch. [1] https://bugzilla.redhat.com/show_bug.cgi?id=451562
Comment on attachment 172245 [details] [review] Patch to add config option for X session args [Setting "patch" flag and correcting mime type so this can actually be queried for.]
I think it's better to have options that indirectly change X server options (like increasing X server debug level when debug is enabled, or enabling TCP when XDMCP is enabled) than allowing the user to pass in X server options wholesale. The problem is certain combinations of options can break GDM, so it's better if GDM is the steward.