After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632045 - gdm does not allow configuration of X server arguments
gdm does not allow configuration of X server arguments
Status: RESOLVED WONTFIX
Product: gdm
Classification: Core
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-13 10:51 UTC by Dan Callaghan
Modified: 2018-02-12 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add config option for X session args (6.01 KB, patch)
2010-10-13 10:51 UTC, Dan Callaghan
none Details | Review

Description Dan Callaghan 2010-10-13 10:51:04 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 1 André Klapper 2012-02-03 13:46:41 UTC
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.]
Comment 2 Ray Strode [halfline] 2018-02-12 14:59:39 UTC
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.