diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-06 21:41:16 +0200 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-08-06 23:23:38 -0400 |
commit | 42ef43e603d65390c2c86e276489c8a08c7808a0 (patch) | |
tree | edd9e5d905138a4741ece8eb1699cf6cdf5fc511 /daemon/gdm-server.h | |
parent | edd5e9cd13df68a16caa69c12b0b18d439022e3b (diff) | |
download | gdm-42ef43e603d65390c2c86e276489c8a08c7808a0.tar.gz |
gdm: always run gdm on VT1
This drops automatic VT allocation schemes for the initial display in
favour of a compile time hardcoded VT assignment. The automatic
allocation schemes are inherently racy since a simpler output to the
console might already influence it and result in gdm running on another
than the intended VT.
This patch adds a --with-initial-vt= switch to configure which may be
used to set the VT gdm will run the initial server on. It defaults to 1.
https://fedoraproject.org/wiki/Features/DisplayManagerRework
https://bugzilla.gnome.org/show_bug.cgi?id=511168
Diffstat (limited to 'daemon/gdm-server.h')
-rw-r--r-- | daemon/gdm-server.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/daemon/gdm-server.h b/daemon/gdm-server.h index 56e20254..e427f823 100644 --- a/daemon/gdm-server.h +++ b/daemon/gdm-server.h @@ -55,11 +55,9 @@ typedef struct GType gdm_server_get_type (void); GdmServer * gdm_server_new (const char *display_id, const char *seat_id, - const char *auth_file); + const char *auth_file, + gboolean initial); gboolean gdm_server_start (GdmServer *server); -#ifdef WITH_PLYMOUTH -gboolean gdm_server_start_on_active_vt (GdmServer *server); -#endif gboolean gdm_server_stop (GdmServer *server); char * gdm_server_get_display_device (GdmServer *server); |