[gdm/wip/wayland-for-merge: 6/19] server: Move Init script processing here
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/wayland-for-merge: 6/19] server: Move Init script processing here
- Date: Fri, 7 Mar 2014 14:00:18 +0000 (UTC)
commit e340b2cd8c6f1a22e2255cf16cd5f7a1a01af1af
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Mar 6 15:00:38 2014 -0500
server: Move Init script processing here
We still need to have it in the XDMCP chooser slave, since we need to
initialize the X server, even if we didn't start it ourselves.
daemon/gdm-simple-slave.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 7d46a5d..f9ecc33 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1247,9 +1247,6 @@ start_launch_environment (GdmSimpleSlave *slave,
alarm (slave->priv->ping_interval);
}
- /* Run the init script. gdmslave suspends until script has terminated */
- run_script (slave, GDMCONFDIR "/Init", GDM_USERNAME);
-
g_debug ("GdmSimpleSlave: Creating greeter on %s %s %s", display_name, display_device,
display_hostname);
slave->priv->greeter_environment = create_environment (session_id,
username,
@@ -1357,10 +1354,7 @@ setup_session (GdmSimpleSlave *slave)
{
if (wants_initial_setup (slave)) {
start_initial_setup (slave);
- } else if (wants_autologin (slave)) {
- /* Run the init script. gdmslave suspends until script has terminated */
- run_script (slave, GDMCONFDIR "/Init", GDM_USERNAME);
- } else {
+ } else if (!wants_autologin (slave)) {
start_greeter (slave);
}
create_new_session (slave);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]