From patchwork Wed Apr 9 15:26:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 41504 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 B711E27BC49; Wed, 9 Apr 2025 16:28:14 +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=0.0 required=5.0 tests=none autolearn=unavailable version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7665B27BC4A for ; Wed, 9 Apr 2025 16:28:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u2XLS-00027N-IE; Wed, 09 Apr 2025 11:28:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u2XLO-00026h-FP for guix-patches@gnu.org; Wed, 09 Apr 2025 11:28:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u2XLO-0004dh-4s for guix-patches@gnu.org; Wed, 09 Apr 2025 11:28:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=iBpKvw649Af+1RoxIE/HDbU/qc5/fl0qUDOBrcR8Lg0=; b=VlW4z1KWV9Kd0UOGXiyGfwFVsR3iP22oz7npMs7WqNqZKjzdFprWqVI2lvd5g34DBgfJouNtnOgWkpbugOBm/OxcovIjV+0KGHt0FYsFbahokLEg8bSPjlqeiSAZxlGw1AkcsPt5jSFXTleCbX5f6DqbqA51mwxTlG0vdHF7ObbNrlgJRVVl0nuMa61ZcZf2T7zxgwvXqQe/1prfGSfFutRMhYBJVrMq1xNwuPGUCzuTa2vSn8QWHyEvTnIuwVDz6Ai5Mt4Mk7/Dfue9YqYwBUdJdiOhAvGASjfBiVmLXu3nzn/cicRrv8HAqt2yR8xS0FKthnefClPw22imwi+FCQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u2XLN-00042d-Kk for guix-patches@gnu.org; Wed, 09 Apr 2025 11:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#68453] closed (Re: bug#68453: [PATCH] doc: Improve VNC Services section.) Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Apr 2025 15:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68453 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer , 68453@debbugs.gnu.org, Bruno Cichon Cc: guix-devel@gnu.org Received: via spool by 68453-submit@debbugs.gnu.org id=B68453.174421245815486 (code B ref 68453); Wed, 09 Apr 2025 15:28:01 +0000 Received: (at 68453) by debbugs.gnu.org; 9 Apr 2025 15:27:38 +0000 Received: from localhost ([127.0.0.1]:41193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2XKz-00041i-Lm for submit@debbugs.gnu.org; Wed, 09 Apr 2025 11:27:37 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:55676) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u2XKx-00041S-MC for 68453@debbugs.gnu.org; Wed, 09 Apr 2025 11:27:36 -0400 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-47692b9d059so35181471cf.3 for <68453@debbugs.gnu.org>; Wed, 09 Apr 2025 08:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744212450; x=1744817250; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iBpKvw649Af+1RoxIE/HDbU/qc5/fl0qUDOBrcR8Lg0=; b=nhRav835ZGFOq61rRkvW279/qboPFzGTQ7LTTQBqMcsdw5eSu4vqqp2/hOcvFLpnDM WRyIqRd96TOI/mjUKRjraKjhtjQ6a2Ins8AQO63H9pQTlJLBfJXQK6GDMWVpMP4QoD4/ y6AQuDL8rO5H6CDW7j/+KMI3RdMCqt3nDpjW8QCIebYpFyhLgdRuxn1wLYE8Z2FVsPPo lx+6dSAVA3qYgK6L3cWMVfwLvp5rl6dgileYWVjRz6mwfsn8gu7KQElzUcSJfq2h+odR s30gvvm2/KgO6+DKG7iRxGPUZrPhzQ91NqHV6zh1zAH19SUdo4FtYZNvBPYrMaWiY/2x 72tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744212450; x=1744817250; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iBpKvw649Af+1RoxIE/HDbU/qc5/fl0qUDOBrcR8Lg0=; b=vKoKRVjVJIrGxoa7HiDDxtqLA2Y7hX1m/EPIIj4pQKKavMiwT1tA15mTZeWyVUZ4Gw 5+KnTn8gnTahtMyq0p7/Lk4nfeOhf7jUCaOxrW30S4WDRaBMl8whZ9x2NjYpQpUjjjE9 etEjiDgMVtVHUZdHxeMyx/6lltP6LSnoX5dYXjC34FdUmNTK+2v7zvEIzmFX4LU0Xma1 k4dT1O2sdma4z6SquOvis4FCLPKbgD4QUv45IdxemRrP24I2pbnAl69m+e8EOPTSGjwJ 9CRcHIwlhuDu9Xr//eXIBzjitOeT1Q1EvlqGi0H7AbcCFzH/M7nJMe+bVoHr9gXNoyRE 1gHw== X-Forwarded-Encrypted: i=1; AJvYcCWAA+alNbJfV4vxoMJEAKV4o2VUHpg+S25APcLZRU2QZU7/d4WfgtI1quKw9rZdRrH9IKBiMw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx1jx/9QpLr5ijIjXdc6JerPbF3R8Kk+bw7khQmtxE4Kl1f++1a JM1j8uNI3zkgf+3JR4Ykf34UMXjXUShQKSFHB5NY/Hn6bewky2fiToy6rYWBvYdZV45RJZRhPqs jESYTN3jWGkinsgF9QBqEue43mT0= X-Gm-Gg: ASbGnctBg8FIJ1RyvD0hTAg0YZVe+qN6sq7ujJDZpJP7RxKgwf6Ap8nijlzirddNhb3 caC2S/DFdjyGxSpFXWw1bWDJV0i3xiQRUuSCL0lHJMRv3RGgtouiAdP7fZ1d2jEPCQO7z+L4QzN ZKfc0j9JKTH9zMVoN6I0JzO1o7rENj6q/QGK4zQbC8esxli94Ac60sb3acJ2QenSZ3 X-Google-Smtp-Source: AGHT+IE8NS1Ab5U+0HZuK9F/nuiZA1HqsKUmxnyNP/QDQm6uHpKFm3a6hgpMO5+O5gCH/e9UN+GlwAwz+4Gp8G2aD+8= X-Received: by 2002:ac8:574d:0:b0:476:b783:aae8 with SMTP id d75a77b69052e-479600bf45dmr37953011cf.26.1744212449657; Wed, 09 Apr 2025 08:27:29 -0700 (PDT) MIME-Version: 1.0 References: <877c619p4c.fsf@gmail.com> <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@gmail.com> <87r0488vmf.fsf@gmail.com> In-Reply-To: From: Rostislav Svoboda Date: Wed, 9 Apr 2025 17:26:52 +0200 X-Gm-Features: ATxdqUFcepcBh4Dxm04Ee-UJQKn517yKtMRClwQEgtfGgCPffizKSK-1J02eo5A Message-ID: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello, > I like how it is now more in my opinion. > Your suggestion is harder to understand in my opinion. All right. Then let's just: - use the same display number for consistency - mention that the we're doing SSH tunneling - use different port numbers in the examples, so that it is easier to understand where/what is "local" and where/what is "remote" The patch is attached. Cheers, Bost From 9bf0d51aa1351d12bf5115b7adc3aee8ec7fde75 Mon Sep 17 00:00:00 2001 Message-ID: <9bf0d51aa1351d12bf5115b7adc3aee8ec7fde75.1744212208.git.Rostislav.Svoboda@gmail.com> From: Rostislav Svoboda Date: Thu, 13 Mar 2025 15:12:44 +0100 Subject: [PATCH] doc: Improve VNC Services section. * doc/guix.texi (VNC Services): Don't change the value of `display-number`. Refine the `xclock` and `vncviewer` invocation examples. Change-Id: I3175072d41ac8efb0a33e1d4fb29afaff7fc06dd --- doc/guix.texi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index bee80cd4e2..a0efb46ed5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -35898,18 +35898,19 @@ VNC Services @lisp (service xvnc-service-type - (xvnc-configuration (display-number 10))) + (xvnc-configuration (display-number 5))) @end lisp As a demonstration, the @command{xclock} command could then be started on the remote machine on display number 10, and it could be displayed -locally via the @command{vncviewer} command: +locally using the SSH tunneling mechanism, via the @command{vncviewer} +command: @example # Start xclock on the remote machine. -ssh -L5910:localhost:5910 @var{your-host} -- guix shell xclock \ - -- env DISPLAY=:10 xclock -# Access it via VNC. -guix shell tigervnc-client -- vncviewer localhost:5910 +ssh -L5906:localhost:5905 @var{your-host} -- guix shell xclock \ + -- env DISPLAY=:5 xclock +# Access the xclock via VNC. +guix shell tigervnc-client -- vncviewer localhost:5906 @end example The following configuration combines XDMCP and Inetd to allow multiple base-commit: f0c0769189d11debf7b237a02695c44c9773d52a -- 2.49.0