mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: gdm: Patch an extra reference to the Xsession script.
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.
This commit is contained in:
parent
447c20db7e
commit
f3e9b069b1
1 changed files with 4 additions and 1 deletions
|
@ -8862,7 +8862,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")
|
||||
|
|
Loading…
Reference in a new issue