[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58014] [PATCH 06/15] gnu: gdm: Patch an extra reference to the Xses
From: |
Maxim Cournoyer |
Subject: |
[bug#58014] [PATCH 06/15] gnu: gdm: Patch an extra reference to the Xsession script. |
Date: |
Fri, 23 Sep 2022 01:00:33 -0400 |
Without this change, attempting to start a remote session over VNC would fail
with:
Sep 19 19:54:04 localhost gdm-session-worker: Gdm: GdmSessionWorker: child
'/gnu/store/yy9wq647l37658vgi291a287ll9iw6dc-gdm-42.0/etc/gdm/Xsession'
could
not be started: No such file or directory
* gnu/packages/gnome.scm (gdm)[phases]{patch-paths}
<daemon/gdm-session.c>: Patch a reference in so the Xsession script is
correctly found via the GDM_X_SESSION environment variable.
---
gnu/packages/gnome.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0adb065eb5..facc8515f5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8830,7 +8830,10 @@ (define-public gdm
"gdm_session_set_environment_variable "
"(self, \"" name "\","
"g_getenv (\"" name "\"));\n"))
- propagate)))))
+ propagate)))
+ ;; This is used by remote sessions, such as when using VNC.
+ (("\\(GDMCONFDIR \"/Xsession \\\\\"%s\\\\\"\", command)")
+ "(\"%s \\\"%s\\\"\", g_getenv (\"GDM_X_SESSION\"),
command)")))
;; Find the configuration file using an environment variable.
(substitute* '("common/gdm-settings.c")
(("GDM_CUSTOM_CONF")
--
2.37.3
- [bug#58014] [PATCH 00/15] Add xvnc-service-type., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 01/15] gnu: tigervnc-server: Use new style inputs, gexps., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 03/15] gnu: tigervnc-server: Adjust PAM config., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 02/15] gnu: tigervnc-server: Move source production into origin snippet., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 04/15] gnu: tigervnc-server: Disable tests via #:tests?., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 05/15] gnu: tigervnc-server: Patch and wrap vncserver script., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 11/15] marionette: Add a callback arguments to wait-for-screen-text., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 10/15] marionette: Define keystrokes for typing colons and exclamation marks., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 06/15] gnu: gdm: Patch an extra reference to the Xsession script.,
Maxim Cournoyer <=
- [bug#58014] [PATCH 07/15] services: gdm: Add a configuration field to enable XDMCP., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 08/15] marionette: Make marionette-screen-text private., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 12/15] gnu: dconf: Set sysconfdir to /etc., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 09/15] marionette: Preserve screen dumps on failures., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 13/15] services: Add dconf-service-type., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 15/15] services: Add xvnc-service-type., Maxim Cournoyer, 2022/09/23
- [bug#58014] [PATCH 14/15] services: xorg: Add auto-suspend? field to <gdm-configuration>., Maxim Cournoyer, 2022/09/23