From patchwork Fri Sep 23 04:58:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 983 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5345427BBEA; Fri, 23 Sep 2022 06:00:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BB6F027BBE9 for ; Fri, 23 Sep 2022 06:00:12 +0100 (BST) Received: from localhost ([::1]:41686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obanL-0003BB-Ur for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 01:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obanD-0003An-PU for guix-patches@gnu.org; Fri, 23 Sep 2022 01:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obanD-0001dz-El for guix-patches@gnu.org; Fri, 23 Sep 2022 01:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obanD-0004xE-2x for guix-patches@gnu.org; Fri, 23 Sep 2022 01:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58014] [PATCH 00/15] Add xvnc-service-type. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 05:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58014 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58014@debbugs.gnu.org Cc: Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166390915118952 (code B ref -1); Fri, 23 Sep 2022 05:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2022 04:59:11 +0000 Received: from localhost ([127.0.0.1]:38993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obamM-0004vb-Et for submit@debbugs.gnu.org; Fri, 23 Sep 2022 00:59:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:58972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obamI-0004vR-4w for submit@debbugs.gnu.org; Fri, 23 Sep 2022 00:59:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obamH-0002I2-Vj for guix-patches@gnu.org; Fri, 23 Sep 2022 00:59:05 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:44976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obamG-0001Uf-D0 for guix-patches@gnu.org; Fri, 23 Sep 2022 00:59:05 -0400 Received: by mail-qk1-x730.google.com with SMTP id y2so7591028qkl.11 for ; Thu, 22 Sep 2022 21:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=A2PsTTKuSl9qjhFr+QRyMGyK88i08kKkdFeyDI4kV5c=; b=eehVUHf/qI2LF7A67SMlxap+iFqgai5EjmmawvFWN8ZpBSOGEn4gsebzk2uu56Kr/5 yUjrgU50ijwTRj6idOJfq36HkyYAOztSjezo8VxjTkI0VBDk76ESbZp5+ptcdlI+nY9g u6oafTmKXpezfZdHaXXbtApp+EYI+frKnxi7S+bk9ICiFQCTwFiTOQbxmuPKn/T/c7k/ 4kO9BpW3GUY0uEChUbbMnFCi0h5mqt7nSaFgGcg3UG45f8plWhaxpciU4rWNCVzYqWte rxYWtt5su2zh81IwRJsKkOnae4TfdtPtvDw+6aQsGDqu5jrWxiNwSOXhXPjYBdj/yw43 gPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=A2PsTTKuSl9qjhFr+QRyMGyK88i08kKkdFeyDI4kV5c=; b=Mdh0WbVTUuN7gdja8B6XmuT5oWboNrKC05XXgphVB/rCwTOdFPASOekT+/k1cHPAI9 PUob+8Ir0RJOPfi7v4YjBb3w5q3FiCRIXuT+TnTovsdqM/uNnEn8Q9t7mrCSScOLc04w XDnx775OxggLOZzi+i8VOTjt/5B+WmuqkltXmPN/i7BfTWk9piY3YLp75gOToR9iIIJ1 YxGEll6SCAFMkRvHM8BKwqBmC9DaAX2VyMfRDDBiXjZzWwrCoIj8jz5vhcWI8bhVNYWp 4n+etF4DT08wy//wkHYWoCr1m2dDK2e3R1c/sbPTHQSgbViB59T+TJajuT0gn+cQxX5r O5CA== X-Gm-Message-State: ACrzQf03HgVD1FBLDm0TgIeobft6t8c4tSHuzr2vrQ1DDMooFF4MGFnD UEa4VPgIROwSjP8JRxtvFfWPJLWUIW8= X-Google-Smtp-Source: AMsMyM5UfoTFixi2j5V/bjtsyrb1LiqtLV6lSd6TiDUJH2GO9btXXjmXZmo6Ys5HQnIutrHPemS8vw== X-Received: by 2002:a05:620a:2703:b0:6bc:6a30:cc0f with SMTP id b3-20020a05620a270300b006bc6a30cc0fmr4566193qkp.66.1663909141675; Thu, 22 Sep 2022 21:59:01 -0700 (PDT) Received: from localhost.localdomain ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id bl21-20020a05620a1a9500b006ce30a5f892sm4976715qkb.102.2022.09.22.21.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 21:59:01 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 23 Sep 2022 00:58:55 -0400 Message-Id: <20220923045855.29728-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x730.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! This series introduced a VNC server service type, xvnc-service-type. To make it more useful, it also makes it possible to enable XDMCP for GDM and disable its auto-suspend default behavior, which would otherwise break remote sessions. I found it useful not only to move heavy tasks such as running many VMs in GNOME Boxes to a distant, more powerful machine, but also when run locally, because I can login as a different user in a completely different session and explore or test things without leaving the comfort of my own usual session, and without the hindrances of virtualization. I hope you find it useful too! Thanks, Maxim Cournoyer (15): gnu: tigervnc-server: Use new style inputs, gexps. gnu: tigervnc-server: Move source production into origin snippet. gnu: tigervnc-server: Adjust PAM config. gnu: tigervnc-server: Disable tests via #:tests?. gnu: tigervnc-server: Patch and wrap vncserver script. gnu: gdm: Patch an extra reference to the Xsession script. services: gdm: Add a configuration field to enable XDMCP. marionette: Make marionette-screen-text private. marionette: Preserve screen dumps on failures. marionette: Define keystrokes for typing colons and exclamation marks. marionette: Add a callback arguments to wait-for-screen-text. gnu: dconf: Set sysconfdir to /etc. services: Add dconf-service-type. services: xorg: Add auto-suspend? field to . services: Add xvnc-service-type. doc/guix.texi | 175 ++++++++++++++++++++++++++- gnu/build/marionette.scm | 53 ++++++--- gnu/local.mk | 2 + gnu/packages/gnome.scm | 59 ++++++---- gnu/packages/vnc.scm | 240 ++++++++++++++++++++++--------------- gnu/services/vnc.scm | 247 +++++++++++++++++++++++++++++++++++++++ gnu/services/xorg.scm | 197 +++++++++++++++++++++++++++++-- gnu/tests/base.scm | 25 ++-- gnu/tests/vnc.scm | 200 +++++++++++++++++++++++++++++++ 9 files changed, 1039 insertions(+), 159 deletions(-) create mode 100644 gnu/services/vnc.scm create mode 100644 gnu/tests/vnc.scm