GNU bug report logs - #68453
[PATCH] doc: Improve VNC Services section.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Rostislav Svoboda <rostislav.svoboda@HIDDEN>; Keywords: patch; dated Sun, 14 Jan 2024 16:33:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 68453 <at> debbugs.gnu.org:


Received: (at 68453) by debbugs.gnu.org; 8 Feb 2025 16:39:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 11:39:55 2025
Received: from localhost ([127.0.0.1]:41169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tgns2-0008KL-Ka
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2025 11:39:55 -0500
Received: from librepanther.com ([171.25.198.58]:42506
 helo=mail.librepanther.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ebrasca@HIDDEN>) id 1tgkoh-0003uO-J0
 for 68453 <at> debbugs.gnu.org; Sat, 08 Feb 2025 08:24:17 -0500
Received: from ebrasca (libreCMC.lan [192.168.10.1])
 by mail.librepanther.com (Postfix) with ESMTPSA id 2B2BA3D9B160
 for <68453 <at> debbugs.gnu.org>; Sat, 08 Feb 2025 13:24:09 +0000 (-00)
From: Bruno Cichon <ebrasca@HIDDEN>
To: 68453 <at> debbugs.gnu.org
Subject: [PATCH] doc: Improve VNC Services section.
Date: Sat, 08 Feb 2025 14:24:08 +0100
Message-ID: <871pw8vabr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68453
X-Mailman-Approved-At: Sat, 08 Feb 2025 11:39:48 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Rostislav Svoboda

I like how it is now more in my opinion. 
Your sugestion is harder to understand in my opinion.

Thanks,
Bruno




Information forwarded to guix-patches@HIDDEN:
bug#68453; Package guix-patches. Full text available.

Message received at 68453 <at> debbugs.gnu.org:


Received: (at 68453) by debbugs.gnu.org; 8 Feb 2025 14:39:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 09:39:19 2025
Received: from localhost ([127.0.0.1]:39313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tglzK-0007dO-J6
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2025 09:39:19 -0500
Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:51570)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rostislav.svoboda@HIDDEN>)
 id 1tglzF-0007d4-PB
 for 68453 <at> debbugs.gnu.org; Sat, 08 Feb 2025 09:39:15 -0500
Received: by mail-qt1-x830.google.com with SMTP id
 d75a77b69052e-46c7855df10so55287791cf.3
 for <68453 <at> debbugs.gnu.org>; Sat, 08 Feb 2025 06:39:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739025548; x=1739630348; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=8rJv5sJd5e0IK6WZ0SCuEmb1+motpyrPf1Z41Fl1r38=;
 b=iWLJgVtJ6xq++L1S+sknwTPPvm4LwwTvlZdqDlfgP+owwxXI8ViMKVdtPrjuxQQYbb
 IBk68f7BCNIxfRZkEo8uu3ff4nl/q/6xeTumnDHhutEmlTRG7k5rqT9B1coONFT4I46/
 AcGfHYJ3YbARPOi28fuNC2th1hI51yTdQEilpoYKlw+MNAQK1UkRuH6IvdnxCOQQmJre
 ZL85T1tsS0VWS3tNEDaGzWw7lWt0Wy0qL6XXM4Gm68v5u0cF0ITLDw3IZwXe1J6WOUjh
 FK/8EifO12rV4PEvcW2kZ7YeTDQyCLHISj7BZjoFBN1wYks0X843SaQFlRG60cZI4F3V
 To5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739025548; x=1739630348;
 h=content-transfer-encoding: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=8rJv5sJd5e0IK6WZ0SCuEmb1+motpyrPf1Z41Fl1r38=;
 b=AzRSHj6tA2CYE/GSYjvMzwsj6B9ky8K+YWN7Z2/ATgyiKVfjpai+17pDDiWiYe8rX0
 6j3ni/n2pN1JHJlAWiJh4l3N0sEjOpSNsxnipi7xDsnfo2KKXrsD1B1mtr+hAtPMNkdu
 uLL9VEchgf5OIUZE41t0GbD5JuyLmNMOGUtFjPWc68UftjMoyW1tn/xwesdzGh5WusEk
 hJu5v4urzyFN7qy2zElkQUtbi7AerLV3EcX0wkpfOLsUND9X4Rph8QsVehhwTq8NWOZR
 zWhpMwIdPHyPLGPDHiuCMuPMyxZZoSSz21NFQYgrqskWLnBCPbma2qQY5vBXt3MHEdwr
 CCMw==
X-Gm-Message-State: AOJu0YxI8LnEhJqO600bWAWHTtMJxsynMHIl6UElQMQenTOe/JaIp2DN
 VgFcpjw5KmqDLqedDKlydY1OWAwknFoK/32E4gthJV5DTy5WJI17PQRcDDPsiYkbP7bJyBjqsdn
 qOctUm1ohGKdj5zsIk8Mm13E0WNk=
X-Gm-Gg: ASbGncv0KNuWS3cGVWiIwOqR3ryvvEb/QyR43vE05LraN5wSUTcsEfOx6c55TxTYR+/
 VRMIODfScvh4fjNJgMmKlrJEJFWpc94EPAI4R1OuI3pmPS74+1rp32zRAf36BsWIEgYe4alACo2
 ChbrTN+kvfqeT2lX9hVVaXK0lOpSVgK1U=
X-Google-Smtp-Source: AGHT+IFgDEP1/XUDcLL1Hiq67FEfOk44jmpAuAVr1CPlben//s6vzQSMFdZG4xOqIM4XlSbVqInbUwfcs5I/MoeJkMQ=
X-Received: by 2002:a05:622a:1994:b0:460:9b2b:e8b5 with SMTP id
 d75a77b69052e-471679c6118mr108438091cf.4.1739025548021; Sat, 08 Feb 2025
 06:39:08 -0800 (PST)
MIME-Version: 1.0
References: <877c619p4c.fsf@HIDDEN>
 <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
 <handler.68453.D68453.173897975610463.notifdone <at> debbugs.gnu.org>
 <CAEtmmeynDCbp4yWaoxvqZWgh_g6_SZxpeLGsrzK-OXGP6JW4tw@HIDDEN>
 <87r0488vmf.fsf@HIDDEN>
In-Reply-To: <87r0488vmf.fsf@HIDDEN>
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Date: Sat, 8 Feb 2025 15:38:31 +0100
X-Gm-Features: AWEUYZkeVd1B6yjvFTlcs4FcJVpJKBeHqbpnsaNjtr0CPvt4eXClXNEfOxCqy0E
Message-ID: <CAEtmmew9+KniZc2=Qoo5Waww7rDv9UgftYRE7DcVdEDFJJy1=w@HIDDEN>
Subject: Re: bug#68453: closed (Re: bug#68453: [PATCH] doc: Improve VNC
 Services section.)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68453
Cc: guix-devel@HIDDEN, 68453 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Maxim,

Thank you for reopening the issue.

> > I meant that at one place we have (display-number 10), and then about
> > 15 lines below, we have (display-number 5). That=E2=80=99s inconsistent=
!
> > The same applies to the port numbers: 5910 vs. 5905.
>
> Is it a problem to show the use of different ports between examples?  My
> intent was to showcase the relationship between the display number used
> and the corresponding port, without going through the gnarly details of
> 'man vncviewer'.

It's not a problem in the sense that "it won't work," but it is an
inconsistency.

Using different values makes the reader wonder: Why are they
different? It creates unnecessary cognitive load. It's like reading a
math paper where a variable is suddenly renamed for no clear reason -
it forces extra effort to check if the change matters or not.

Keeping the values consistent avoids this distraction and helps
readers focus on the actual concept.

------

Regarding the example:

Trivial, easy-to-read examples are, of course, preferred. However,
this principle becomes counterproductive if the example (for some
reason) doesn't work or leaves the reader confused.

Virtual Network Computing isn't trivial, and SSH tunneling even less
so. There's plenty of room for confusion, especially for users
unfamiliar with SSH tunneling. Someone unfamiliar with SSH tunneling
will likely ask: "Why is ssh here?". The surrounding description
provides no context.

Such a user might then spend over an hour trying to grasp SSH
tunneling, stumbling across various visual guides and memory aids
like:
  https://iximiuz.com/en/posts/ssh-tunnels/
  https://hackertarget.com/ssh-examples-tunnels/

My extension to the example addresses this issue. Here, using
different port numbers _has_ a purpose - it clarifies what is "local"
and what is "remote," helping the reader form a clear mental model.
See for yourself:

Definitions:
```
# SSH (t)unnel (i)nterface on the (r)emote machine.
tri=3Dlocalhost
# SSH (t)unnel (r)emote (p)ort.
trp=3D$[$default_vnc_port + $display_port]
# SSH (t)unnel (l)ocal (p)ort.
tlp=3D$[$trp + 1]
```

Usage:
```
ssh -L$tlp:$tri:$trp ...

guix shell tigervnc-client -- vncviewer localhost:$tlp
```

Cheers,
Bost




Information forwarded to guix-patches@HIDDEN:
bug#68453; Package guix-patches. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 68453 <at> debbugs.gnu.org:


Received: (at 68453) by debbugs.gnu.org; 8 Feb 2025 12:33:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 07:33:04 2025
Received: from localhost ([127.0.0.1]:39022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tgk1A-0000pi-1X
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2025 07:33:04 -0500
Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:55728)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tgk16-0000p3-Pi; Sat, 08 Feb 2025 07:33:01 -0500
Received: by mail-pj1-x1030.google.com with SMTP id
 98e67ed59e1d1-2fa44590eebso1022823a91.3; 
 Sat, 08 Feb 2025 04:33:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739017974; x=1739622774; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=owcmhdfTSPaklmo+M1Xf3aZ3m6lToDSqbN+sOIzHe7M=;
 b=Hm4dP2i5XvoegvnxW67UhQADvgKebU1uT8dZbTp1ytUwsD1ZseezdPHBIms/G8j0VQ
 9883sxtZXdu/UjUpzLHB3ZxsxfzILGvZFd8bjPcy3MfSn+fKm6dD8UCH2QxWMmxR+GBQ
 jfB1oiuGjL3NoPG/vm2VUpKGMFqE0isr4ApVWCKKxPUydjQy84OIzhM2ximmhj5iZNRH
 Wsx/s3C5JV28jHQTKhe7NHgrzZqEd9MesnUV3N0LP9H80wZNUfm77UkJSKsUwvjxnvpM
 RQcQ8M///qv+RdOyWL1zJ2wrNpi3V7OglEnwWnQua+kvtvC5qRrtLHJtRqrUhk5/QZAS
 PYmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739017974; x=1739622774;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=owcmhdfTSPaklmo+M1Xf3aZ3m6lToDSqbN+sOIzHe7M=;
 b=ZdThUUmZM/z3pOk0u+9ks/NzWo49uL1xofBrue2gF51aGB1bYHIfUmcPP6fKBhjedr
 B+aexgR2Nn4FELk69OEGyF/PpdOC3bhiQP0EvjSOQ8f3oYFi+dvsiLs8DFTPvxsSkZAx
 rwsrtmjR1LnFHw/TNVX30PbQsjCip3EgWq7+8lrym9Mn0erxeI6wP6WAf3LcZnP13v07
 r0PZr9lbbWHZBQ3zJPoz36UdfbyK3Os2awLwttb17LJmKtvqBVTpGvitaQDGQNL+hHkL
 641tWZQnfBeIUD1STuLJJ6p6UX+hPQJO2wHB3EZ+TKN0M1HRT5ich09QDVX8nnQO4qHC
 qpGw==
X-Forwarded-Encrypted: i=1;
 AJvYcCWr8MIZH1V81K3AkyKKYiIjj20MWjTl2FNzbd5aCeJ0mM09VC3m/YX1Yhssng96UE2mywC6xOAj <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0YwER1rFAswPslSyVC+CfmoPSBKmY1Uew/6HHoTexPZwhLwKVjAl
 30/1NuOjxj4EIHRBwd6enEIKZZCOJxNst/vXF+NH+YNfodMzyDxdcOx1sQ==
X-Gm-Gg: ASbGncs3QIZw2QZykB1gGEHxcHi4LzAGbVHLigLK//jq1NYzgyviT/IFrch8qruO7vH
 vsZZWe2CO6oBazCvl31va9xe/53SkITlfv1oBrmSQxdyOIhYjepXrTsdioEDtK6a62ykLaBnDMK
 uWAP9Mj7iFBUyDvP7WkW5X7boxnpjZQh1MoBwHwXKDCNtIvBos43N6Kcwl7mHWNa1cdcXQhuzBG
 58JZ2QIwhwbwRCmtcTLcBRBs7c6HhHmM5IL/P8+p0Vu/T9lXZATj6KFP71gWlL0IQFJ8oO3yjP5
 xdTaGJ5XcwR4
X-Google-Smtp-Source: AGHT+IGUD5DEuVa7gWpZ4d8B2Cszd7pWZKbA8dVey/JP2sqOTHbSi2XW7RxNqh6RIIzzEIhumm504w==
X-Received: by 2002:a17:90b:3c0e:b0:2fa:ba3:5457 with SMTP id
 98e67ed59e1d1-2fa2417773cmr11043437a91.17.1739017973593; 
 Sat, 08 Feb 2025 04:32:53 -0800 (PST)
Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-21f3683d51esm45501395ad.107.2025.02.08.04.32.51
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 08 Feb 2025 04:32:53 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Subject: Re: bug#68453: closed (Re: bug#68453: [PATCH] doc: Improve VNC
 Services section.)
In-Reply-To: <CAEtmmeynDCbp4yWaoxvqZWgh_g6_SZxpeLGsrzK-OXGP6JW4tw@HIDDEN>
 (Rostislav Svoboda's message of "Sat, 8 Feb 2025 03:40:50 +0100")
References: <877c619p4c.fsf@HIDDEN>
 <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
 <handler.68453.D68453.173897975610463.notifdone <at> debbugs.gnu.org>
 <CAEtmmeynDCbp4yWaoxvqZWgh_g6_SZxpeLGsrzK-OXGP6JW4tw@HIDDEN>
Date: Sat, 08 Feb 2025 21:32:40 +0900
Message-ID: <87r0488vmf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68453
Cc: guix-devel@HIDDEN, 68453 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

reopen 68453
quit

+CC guix-devel to sollicit more input

Hi,

Rostislav Svoboda <rostislav.svoboda@HIDDEN> writes:

> Hello Maxim,
>
>> > * doc/guix.texi (VNC Services): Don't change the value of
>> > `display-number`.
>>
>> Do you mean 5905 is supposed to be the default value?  It's not (the
>> default display number is 0), or at least that's the convention to have
>> the VNC server listen on the usual 5900 port.

> I meant that at one place we have (display-number 10), and then about
> 15 lines below, we have (display-number 5). That=E2=80=99s inconsistent!
> The same applies to the port numbers: 5910 vs. 5905.

Is it a problem to show the use of different ports between examples?  My
intent was to showcase the relationship between the display number used
and the corresponding port, without going through the gnarly details of
'man vncviewer'.

>> > Refine and improve the `xclock` and `vncviewer` invocation
>> > examples.
>>
>> I've looked at the modified examples, but I think your proposed changes
>> make things look more complicated, which is beside the point of
>> providing easy to read/trivial examples.
>
> You may not find my examples useful, but that doesn't convince me that
> the existing ones are easy to read or trivial.
>
> The reason I took the time to modify this part of documentation and
> submit a patch is precisely because I found the current examples not
> easy to understand.
>
>> I'll now close this issue.
>
> Could you please reopen this issue? I believe the inconsistency and
> readability concerns I raised are still unresolved.

OK.  Perhaps I acted too quickly.  I'm also biased as I wrote these very
examples.  But in my opinion, turning these small, directly
copy/pastable command snippets into a more complex shell script means
the users have more to read and understand, on topics related but not
meant to be the focus of these examples (SSH tunneling).

I'll reopen and give it a week or two for guix-devel neutral readers to
provide feedback on the change.

At any rate, thank you for your efforts trying to improve our
documentation.

--=20
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#68453; Package guix-patches. Full text available.

Message received at 68453 <at> debbugs.gnu.org:


Received: (at 68453) by debbugs.gnu.org; 8 Feb 2025 02:41:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 21:41:38 2025
Received: from localhost ([127.0.0.1]:37601 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tgamn-0004r5-MJ
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 21:41:38 -0500
Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:42130)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rostislav.svoboda@HIDDEN>)
 id 1tgami-0004qn-W1
 for 68453 <at> debbugs.gnu.org; Fri, 07 Feb 2025 21:41:34 -0500
Received: by mail-qt1-x836.google.com with SMTP id
 d75a77b69052e-46b1d40ac6bso23089671cf.0
 for <68453 <at> debbugs.gnu.org>; Fri, 07 Feb 2025 18:41:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738982487; x=1739587287; darn=debbugs.gnu.org;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=rTWifbgVmDxqI80IqvgifH+FqqM7FvyOQthgD6W0ZdM=;
 b=T/Wjk+MU4cRrvsZf1FZFvxJOn+tBMSBRdUBjD5umPz/5FjOYt1qB6IEfVMQOkTkGRn
 8S1lX983XrYSTy6qPIur0P5Ok2szIlIhSt9wEQzbpKjuo0ZmwutzHsYp4+ce4fAoTEot
 9TOBLI8ZEhmxb7JLerrt+S0pFPeCo3UVCXuF8itV6hI/Qk/D4MObTZ7TLdNQNIK2MML+
 4b/MjxE90MSsSKkQz83GCBVnOOTcNMczmioE4ZoSjyTWieWOH7POcO8054Xly0GxsUG1
 lZXwVImoAaPZJijt5hUGpWR9m6pC6GaWBBaLRojF7TmwCtHTMkrQzEQxGoO/LBSOlj9K
 zX0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738982487; x=1739587287;
 h=content-transfer-encoding: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=rTWifbgVmDxqI80IqvgifH+FqqM7FvyOQthgD6W0ZdM=;
 b=s0vztz9nPZetW0lwxB5vDbk+ZfrsXpRzJ1XXL24jtvulIVozWXCATDCr+QOG+CEGx9
 ZqtVQ43JQaZGM++EuZnIAyIMFeelO5e7bkgUTC5LiNx+DItUTmXiMMJ1tefCk0LLDxGG
 gsGJX0amEZxvutVL7LMuTjP9VdsQOkWWYWkvaDHHYauT+uNVFINoQlIv8RAsXOY5wJew
 OX/bw0w5esyib9EcaYofNpWXFTux1kzreICBoNuVsMDqoZs3SNEAmCa8cjK7zCDJk0AL
 55tbr1qMUC250ymAqOGfFdMGwLBc3ewkQRkBjjOXPmrjYt2AD23OVrvOI22BFlje3mLE
 Z/vA==
X-Gm-Message-State: AOJu0YwcCOhhsjT3+shtOGT3MLroI0mmwdrzwn3dk7cY+6GqvupVuwUY
 wgHCzK7YeTSt6x8lexXP1wLOVMJNSLo2pQeTWSRgWbMKAOFBVlLQue1g20Kc3AjbmHrfXzRwqeW
 fgDJFbp6jqSZ2hKQT1xOddoMore9NWnT3Oe+JYA==
X-Gm-Gg: ASbGncvFJ5+KDvq8bLq0BUCGFLW0euBwVEU93ih54PgWtwxk0+HtPhl8cCVyHDE1LpY
 GxAFdX1GZ66SvhQP8UKQtzjBXcIncw1jVFnjPcRt6Icsgi6YCaA7TRnSbIQmSEYEl4/swRO44CD
 iDr9UzLV9DtIo0ahxwVyBWhSX9hG5dFts=
X-Google-Smtp-Source: AGHT+IEZDUdR/PCptkBG+zZmcEmsOzRroxXkb9SsZ7d2ySsUiEarW6tEcz8jGysiwRnJzqqQEyVQRuURtQLS+s1SvRQ=
X-Received: by 2002:a05:622a:8e:b0:467:59d5:b20b with SMTP id
 d75a77b69052e-4703357d94cmr141882341cf.4.1738982486853; Fri, 07 Feb 2025
 18:41:26 -0800 (PST)
MIME-Version: 1.0
References: <877c619p4c.fsf@HIDDEN>
 <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
 <handler.68453.D68453.173897975610463.notifdone <at> debbugs.gnu.org>
In-Reply-To: <handler.68453.D68453.173897975610463.notifdone <at> debbugs.gnu.org>
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Date: Sat, 8 Feb 2025 03:40:50 +0100
X-Gm-Features: AWEUYZnfX_xyRjwQBi7jlYS3N_iwu17btS3ByIByIOby9a5_bu2fU3NBoYeTBGc
Message-ID: <CAEtmmeynDCbp4yWaoxvqZWgh_g6_SZxpeLGsrzK-OXGP6JW4tw@HIDDEN>
Subject: Re: bug#68453: closed (Re: bug#68453: [PATCH] doc: Improve VNC
 Services section.)
To: 68453 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68453
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Maxim,

> > * doc/guix.texi (VNC Services): Don't change the value of
> > `display-number`.
>
> Do you mean 5905 is supposed to be the default value?  It's not (the
> default display number is 0), or at least that's the convention to have
> the VNC server listen on the usual 5900 port.

I meant that at one place we have (display-number 10), and then about
15 lines below, we have (display-number 5). That=E2=80=99s inconsistent!
The same applies to the port numbers: 5910 vs. 5905.

> > Refine and improve the `xclock` and `vncviewer` invocation
> > examples.
>
> I've looked at the modified examples, but I think your proposed changes
> make things look more complicated, which is beside the point of
> providing easy to read/trivial examples.

You may not find my examples useful, but that doesn't convince me that
the existing ones are easy to read or trivial.

The reason I took the time to modify this part of documentation and
submit a patch is precisely because I found the current examples not
easy to understand.

> I'll now close this issue.

Could you please reopen this issue? I believe the inconsistency and
readability concerns I raised are still unresolved.

Cheers,
Bost




Information forwarded to guix-patches@HIDDEN:
bug#68453; Package guix-patches. Full text available.

Message received at 68453-done <at> debbugs.gnu.org:


Received: (at 68453-done) by debbugs.gnu.org; 8 Feb 2025 01:55:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 20:55:56 2025
Received: from localhost ([127.0.0.1]:37520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tga4a-0002ih-6m
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 20:55:56 -0500
Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:43405)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tga4V-0002iN-4h
 for 68453-done <at> debbugs.gnu.org; Fri, 07 Feb 2025 20:55:54 -0500
Received: by mail-pl1-x62d.google.com with SMTP id
 d9443c01a7336-21f61b01630so13243335ad.1
 for <68453-done <at> debbugs.gnu.org>; Fri, 07 Feb 2025 17:55:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738979744; x=1739584544; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=zFozCSNoUBltv0vrIWnLy3/L4q7BcD+q6mwjCJTwPGE=;
 b=YLhb4jor+MVgtUA3kTDcJz8ow3pyrkTObhcvQVzfW7yVz6LL8NA4wyDLHOBhIvOV2F
 V2nfA7qg6gSSJ+B4qbv7dF8BXu8l2yJgdpj2t2F0nGTTj0ezscI9ysIXXJ7/AYt4Veqp
 HMN4w6wJfhMVQdfXXFfnvVmg8jD6mqqiJ0QaNITsrN60THFVTCFC4sHTSBeAVGqp49AP
 2JrFfASOL4vtAeptMPHaBmuzuTlr60aj3RYfN8GhHfOU6Mn0hiwBWzKWPwhWra6/4JoX
 EmZVdPiPN6yBNvV8AntWPmADpVlq5wVTJ9S44Z74K8s3nMWWD1YW9xFM8C8n3tcNmWO3
 k7aA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738979744; x=1739584544;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=zFozCSNoUBltv0vrIWnLy3/L4q7BcD+q6mwjCJTwPGE=;
 b=hyXW5dg1EezcKCLjRWR7kPfarW/3mz9q2ZBB0ekNAjpemIJi457Z1g0gM/vGWsna26
 zBGD5xecZY5edapcDnrXp0Z375dsRBdM9Ie3stPYhap7GQGa9/fZcVdR0DiOIwwIEYnt
 UGBVk+m8VwRgjEjTmihfr2aG6873SgVrFF56nnXL/ZoQgdiV5y+LvpszJ4H1WMIsSFBH
 cslM9XCiHTgJMKLeHDNH8XJlZsjGdhvJGfeSHmZFAyOOG2GkHydiDpfDjAT5UeLvQ9pE
 LHnyfIKhP+RlOsCwuAU6fruTQjoxb8JudGfLd04F8JVWsRW1w1KmnJkhjyWz2+lj1qSA
 1DSQ==
X-Gm-Message-State: AOJu0YzugR4DrSjgEQLZeu9+E8Nwakfktrll4aLl84QZ+3v/gv9kW+hE
 xj7AbBW/EPF5yqW0ug00WD1L1xasT8u88e3brKussF6baCd4PRKxx/bW6suy
X-Gm-Gg: ASbGncu3JJpaM2ui7pYasomM3nfl7WFVIMyEdIYmlFME33byITznlDdUrC8lUiVyNf8
 4biDSJkdN6HyhRyMHqDlyyL/JlBmwQbnnhujbpEmgFFzaYkqcyAINSXU8nZGg+ZuWsWNHML0KC4
 fC1/+X9jeuD58Sms0ZtJzKOQfJb9vlYbkuH+cqV8PIyIX+HPlL7fLSsMZi/1ZLex4jS4tv91bw/
 lXM86u9OkHunTBKTML5XaWvz+a6pe9jybLSaYkfpxki6SoYNcdHL+TGwepq3SUn2yDYjV0czAhJ
 iT4cuIjT19Me
X-Google-Smtp-Source: AGHT+IFLTt+04uDBwb19f6qvioAVavQvwb2CcwQpaXF3yQ2BwIk2tCkWCjRyQVkw7RPYXldIKlcBtg==
X-Received: by 2002:a17:902:da84:b0:215:5600:18cc with SMTP id
 d9443c01a7336-21f4fb8e84bmr86736735ad.22.1738979743828; 
 Fri, 07 Feb 2025 17:55:43 -0800 (PST)
Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-21f3689a2dcsm36865445ad.210.2025.02.07.17.55.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Feb 2025 17:55:43 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Subject: Re: bug#68453: [PATCH] doc: Improve VNC Services section.
In-Reply-To: <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
 (Rostislav Svoboda's message of "Sun, 14 Jan 2024 17:31:30 +0100")
References: <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
Date: Sat, 08 Feb 2025 10:55:31 +0900
Message-ID: <877c619p4c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68453-done
Cc: 68453-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Rostislav Svoboda <rostislav.svoboda@HIDDEN> writes:

> * doc/guix.texi (VNC Services): Don't change the value of
> `display-number`.

Do you mean 5905 is supposed to be the default value?  It's not (the
default display number is 0), or at least that's the convention to have
the VNC server listen on the usual 5900 port.

> Refine and improve the `xclock` and `vncviewer` invocation
> examples.

I've looked at the modified examples, but I think your proposed changes
make things look more complicated, which is beside the point of
providing easy to read/trivial examples.

I'll now close this issue.

-- 
Thanks,
Maxim




Notification sent to Rostislav Svoboda <rostislav.svoboda@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 16:32:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 14 11:32:35 2024
Received: from localhost ([127.0.0.1]:44017 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rP3PW-00055M-4k
	for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 11:32:35 -0500
Received: from lists.gnu.org ([2001:470:142::17]:36974)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rostislav.svoboda@HIDDEN>) id 1rP3PT-00054s-Ex
 for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 11:32:32 -0500
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 <rostislav.svoboda@HIDDEN>)
 id 1rP3PO-0004T5-0X
 for guix-patches@HIDDEN; Sun, 14 Jan 2024 11:32:26 -0500
Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rostislav.svoboda@HIDDEN>)
 id 1rP3PL-0001cW-Jm
 for guix-patches@HIDDEN; Sun, 14 Jan 2024 11:32:25 -0500
Received: by mail-ej1-x634.google.com with SMTP id
 a640c23a62f3a-a28ab7ae504so760398366b.3
 for <guix-patches@HIDDEN>; Sun, 14 Jan 2024 08:32:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705249940; x=1705854740; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4T7zb6qBsrFRc8qHujLAwVYw7WEGydmi5P6LF+AeJR8=;
 b=Rr0w9xO08MENPCis1JdYBeRkLyk3kcg3AU/slW8WleTzT2cL+kRxRC3WeVjNIjfxxE
 COfjvu4XSbKvgju3mcE2oZOsUSNaQ2zPtysTHRvaB4IxziV4il/htwRXdF1+1lwlHMDE
 DJ/VrXBr8GSIm9pUFjIPxbuiMYZvDPkSw6vORnybrMwmRbkUOVJljEZ/slPFgHP7xRRN
 wex3YfRoqq92XWAqG9aeLdUyLzAsUPa8SWaPTqto1xu9CSXH+Gi3NP8wSNkMEbGnr038
 eaFRXtXolYtumY7I60ZVlbp608X2qjcv5xX+UiCTTJOWhFFcDB/XVt0sROHOYwsqYXUB
 yygw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705249940; x=1705854740;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=4T7zb6qBsrFRc8qHujLAwVYw7WEGydmi5P6LF+AeJR8=;
 b=eH6yBXQjv40M8ueOaEEvy3Yq1N6ZWC86AFRIsMClJ3ViWTNWG3ucxnWywWXjp0aCGF
 KKxauSf2JyO5IuK+01vrhdXgQTpkAcHKtFT3Lour0QFIw/aMKfKOjRUeDdUCXrSmLm5X
 JjzXSRfF3rtexlt8XDKE6JoffFE+qK2DZqkDUGt/sJBQ1zIQKfBNeSH7P/z0teyHlZTE
 HRhQLdzCymIy/vce4Bql1FhWy+3K05Tg8ZOxtDNWXQaXmzTVqWScD5Oqqe1rBCkUrrIu
 9dkIhu+UMgsVbGDi4loi96DNSonEyk6Gc47KBW3wxUk7I+Wgc6MsrH6J22taIaElqlxs
 p/Yw==
X-Gm-Message-State: AOJu0Yy6qGr3yEbXPlv++59mGzfNC/+FwxevnW1TLp5HIMalNh0RKbvp
 ekdh1QJkj+J+h6IEcN61aiJBLfOgPRPISg==
X-Google-Smtp-Source: AGHT+IGv4LGcfopTJv5r9CGCG3EuCyAN054w9ksj9cXvvOW06N7ISiOs4xINxHSRsxJySnkaJglOww==
X-Received: by 2002:a17:907:4c5:b0:a27:d1c5:906 with SMTP id
 vz5-20020a17090704c500b00a27d1c50906mr1568494ejb.60.1705249940010; 
 Sun, 14 Jan 2024 08:32:20 -0800 (PST)
Received: from ecke.fritz.box
 (dynamic-2a01-0c22-cdfb-3f00-da9b-9d52-e1ea-fa86.c22.pool.telefonica.de.
 [2a01:c22:cdfb:3f00:da9b:9d52:e1ea:fa86])
 by smtp.googlemail.com with ESMTPSA id
 st7-20020a170907c08700b00a2cfa8edbcesm2530410ejc.199.2024.01.14.08.32.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 14 Jan 2024 08:32:19 -0800 (PST)
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
X-Google-Original-From: Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] doc: Improve VNC Services section.
Date: Sun, 14 Jan 2024 17:31:30 +0100
Message-ID: <02eca65c1e52c2f069c15ae90fa2044f818b4e4b.1705249865.git.Rostislav.Svoboda@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::634;
 envelope-from=rostislav.svoboda@HIDDEN; helo=mail-ej1-x634.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,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

* doc/guix.texi (VNC Services): Don't change the value of
`display-number`. Refine and improve the `xclock` and `vncviewer` invocation
examples.

Change-Id: Iea96f75d344636977416a052c7ffc4310536be27
---
 doc/guix.texi | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 811edd0bf7..154a7a7465 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33099,18 +33099,31 @@ 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
+## Start xclock on the remote machine.
+default_vnc_port=5900
+display_port=@var{display-number}
+
+# SSH (t)unnel (i)nterface on the (r)emote machine.
+tri=localhost
+# SSH (t)unnel (r)emote (p)ort.
+trp=$[$default_vnc_port + $display_port]
+# SSH (t)unnel (l)ocal (p)ort.
+tlp=$[$trp + 1]
+
+ssh -L$tlp:$tri:$trp @var{your-host} -- \
+       guix shell xclock -- \
+       env DISPLAY=:$display_port xclock
+
+## Access xclock via VNC.
+guix shell tigervnc-client -- vncviewer localhost:$tlp
 @end example
 
 The following configuration combines XDMCP and Inetd to allow multiple
@@ -33138,6 +33151,7 @@ VNC Services
 command or a compatible VNC client and start a desktop session of their
 choosing:
 @example
+# 5905 = default VNC port + @var{display-number} specified above
 vncviewer remote-host:5905
 @end example
 

base-commit: 6e76509d2437178b260efceb9c19ca3ed2570fcd
prerequisite-patch-id: 33305a1da4a4c87fd8e004995d4f02862dbb31cc
prerequisite-patch-id: 9214d7bbb6f837dedd04c11c7d5de16a71162aec
prerequisite-patch-id: 040bd9873791beb783ec715e2fcf9a67c916541f
prerequisite-patch-id: 83be00ef8936b06f8c5e96ee5d7241f52abfaed5
prerequisite-patch-id: dcd61ef0d17dbb78bc57ba1e1a583df740b6227f
prerequisite-patch-id: ceeb4b689aa831812a67ed208dce842a1955a7e7
prerequisite-patch-id: 55c1ed8e431fbc83a8bbfa9199f0e1658f41e12d
prerequisite-patch-id: f7d79a779eb62c2b6460bfea8ea311c2c3988c82
prerequisite-patch-id: fa7b2c602ee3e94550d06101b553903e0f3188ea
prerequisite-patch-id: b91c28b5575c91584951382d44e30a863047d7ae
prerequisite-patch-id: d24f1338053024a9bba329350a1e02242eb36f3d
prerequisite-patch-id: 16779c9614cdff949745f930297d626ccff50720
prerequisite-patch-id: 9dd17852ad6dc0906d316f0c8c3f93e822da1b9e
prerequisite-patch-id: 9367608c77ea35d65f79fe116eebf0fd2ae57700
prerequisite-patch-id: 46e9cf69868d98963b7af12579e21f696f0f36fc
prerequisite-patch-id: e92a67240a3c4bc1d5fe7eb50d27beda1f6b688d
prerequisite-patch-id: 276f58c3f98e8463b806d40d34fd01b3ed791d77
prerequisite-patch-id: e77d37b6bf8cb0bddce18ec576a839676ca02302
prerequisite-patch-id: ea0beef6df976a046ef2fa5d635587e6cb25b3f1
prerequisite-patch-id: 453468c22f6c5922d1dca838b0a8316c20b7a256
prerequisite-patch-id: 11e91fd2dfb7e6f5a321209e85c63aa2ebcbca14
prerequisite-patch-id: 5108e65117b2e04fab534df3bbdcdb5a32ef053b
prerequisite-patch-id: 980453aae357db92da30ba93e75e6231b6f3715d
prerequisite-patch-id: 4c1fd033e66449bc0374f9f5470d2e0f657ced09
prerequisite-patch-id: b5e800c4077f704fabc99d7996a18f0421709580
prerequisite-patch-id: 99d8b330d5e238298e680e862c65d7d3ed126c3a
prerequisite-patch-id: 8bb1f6ca424cea7b4a0a7680abdaec40470e7a6b
prerequisite-patch-id: 8805cb804b52a70a878ca9801b3062e83cf2a665
prerequisite-patch-id: 2556f35d21023d5a013ae91fb3e337022f76b157
prerequisite-patch-id: 952bb1d6726d8c1e4f6f0611268870ed91024167
prerequisite-patch-id: 4e628471bcd847622b1ff0c922e0cbda5cd03501
prerequisite-patch-id: 7755a587d8bf533ba6b19f3f30d81afc67ebf26f
prerequisite-patch-id: 0f49225a51051406a04deb28f54a00a9fed60f11
prerequisite-patch-id: db688796f39a442ca5fda9d548ec7eaeda5b3dfc
prerequisite-patch-id: 9388af620a9aa620692626177932856668daacb9
prerequisite-patch-id: c2512feb004b9a8f2bfe8b4faa9701bce991054c
prerequisite-patch-id: e7466cb436999e7a428dbf77c7c112d26fd15b0b
prerequisite-patch-id: e41ba419e30467e6709ae712ce328900f04751a6
prerequisite-patch-id: 7c3c484ce9ba0ceb11ccaf350daf79efea8ca422
prerequisite-patch-id: 2127ebaf0cf389ae03b5f5baff66b56190d5d4cb
prerequisite-patch-id: 4c53baa6ff989d56eb66134b5ddaee35cfb28946
prerequisite-patch-id: 31848c2d9574c8d28c6399d9f8bcf9f0f6469939
prerequisite-patch-id: de3430fff98f44c08fc04993b97bfe91968a3c79
prerequisite-patch-id: d07228993e3484e01eac110ef0cb8543e154348b
prerequisite-patch-id: 21812ab80c058510470df9ef9d342c5ebdb0a31d
prerequisite-patch-id: ce540d1a8a5096c7a43154b4a6fd2f05b528b384
prerequisite-patch-id: fcecf76990a30870c492243de865f0a86e0a22a4
prerequisite-patch-id: e926a136f72bbeef8702e0bbf7b958e70d6041fe
prerequisite-patch-id: b350ab6d8f03fdd6858d37b70a14be8d03317f15
prerequisite-patch-id: d09d8a3dd3b46d0ead4c68866b3a51aa65f3b735
prerequisite-patch-id: 826f2166428aa0a19f20eb15cb502707554d0cbb
prerequisite-patch-id: b9d1524eafd649276293e7b372188e64d9ab30b5
prerequisite-patch-id: cf3366ce6016b355c1a67794d2a06481f9e8d495
prerequisite-patch-id: 9f521bce2f91d4529ad3cb2666ce5ca417ce5a94
prerequisite-patch-id: 49596cef96f0dc6ff3bba39efda9e5c94cc0f789
prerequisite-patch-id: 31b4e9bf1d8f2820ac75e1c4b0a992dda7ef59ea
prerequisite-patch-id: 895485adba6324986d7b68c74fe3a4d6ba3f56bd
prerequisite-patch-id: eb86753de9c1eecc9be9509db72f06150a0d0f2c
prerequisite-patch-id: 1fb58a60f1780cbca22e1b8479adc8510a9ef26c
prerequisite-patch-id: ce3114e79deafd5272ace4099a1c53ed7ec518ef
prerequisite-patch-id: 531a2a2f9e151ec4f87d0577724c7cb9234c8057
prerequisite-patch-id: 619d05d37b1fd847129c7d022a6a2188d1b0797a
prerequisite-patch-id: 6051c568b4af299b9597ac1abe24f8a84010d2af
prerequisite-patch-id: 5be14d0ac5e4afe84cde938c682db8a41468c84f
prerequisite-patch-id: 16576bde8aa9f654529373227ad181ba5fb1eee8
prerequisite-patch-id: 3dc9b0f53f8ec4edaefa59b4c2b285794ab29281
prerequisite-patch-id: a436e332c6535c42f392b8a4377c3416ac33fb9b
prerequisite-patch-id: a2551dd481dba46d6195c87568903684aa8751a4
prerequisite-patch-id: 8d08138c0f6cd1ae30716927fa57fcdbca45eaae
prerequisite-patch-id: de420864a534b79b32f3edca7d1a052ca3f2a082
prerequisite-patch-id: 644fe966230c001481d17f202a6980b405982821
prerequisite-patch-id: cb638ff075fb210e9761a33f49656c3d3f473417
prerequisite-patch-id: 197edd4d2c93e7240e5e191a377cd2ecaf61422c
prerequisite-patch-id: 2ba16f3be300940c818c60ddcffb38b7d41f22b6
prerequisite-patch-id: aca424124aeed0d4d4714ef46067c6bd561c4c87
prerequisite-patch-id: 03388c1118220d7221029bcf89a1699e34d53172
prerequisite-patch-id: 84cbbec1ec4eccae6ad4f837c9aa10667e2ee5b8
prerequisite-patch-id: cf453ac91ab08b6cb0f89a65a9229ec261117b97
prerequisite-patch-id: 2d5981e595e30eba27099f81825897f8373b4e1a
prerequisite-patch-id: 261e4f1dcfa7fa0cb30c450c720c08adbdf9d63b
prerequisite-patch-id: 5b2e3c4495b3eac0bc9e11b43d7a9de464d964fe
prerequisite-patch-id: 3d7ee96a664d272730a6b0aaec8433721106b9c4
prerequisite-patch-id: 86943917f793660edbb584cf25f4b35012e81ef8
prerequisite-patch-id: e9d7788449eaa359c2cd1ac23f87138f055d7a0e
prerequisite-patch-id: f10ce44ca4dcd08474422acad463a17dd64c93eb
prerequisite-patch-id: d21fedc732af1bf29f76e4dfa61766383ea80229
prerequisite-patch-id: e820ba8758b4711776724dd8e58440e6bb5abc7d
prerequisite-patch-id: 586902159a8dd0b00c08a6eb212fd46f6380d57e
prerequisite-patch-id: 75db681e18728fe5441acf3b9329fc087da24c3a
prerequisite-patch-id: 14e9188b0e86ae891171f7921b0b85749a48cfa2
prerequisite-patch-id: 3fcb9923407c43780de1cff3ada1991c40d044a2
prerequisite-patch-id: 073aed61cc4542f1e6804cd90efb29e47d82c145
prerequisite-patch-id: 1975852a05554b4694a82da0bb41956f792856f5
prerequisite-patch-id: 5e3b1fe8e9c2caafeaa71f1fa31b6a8adf388640
prerequisite-patch-id: 1bb01ee40e48e556d6d98d881add0f07a917d564
prerequisite-patch-id: 7db9f6b9a4b528fe399a5751ca7f7de88fcd7d3e
prerequisite-patch-id: bfee71fc6371999b3ff3d8d7159f8cc2ea84feac
prerequisite-patch-id: a30b7b5c96adcd78d94638f6b9176cceac6b7e35
prerequisite-patch-id: 0a647ce56dcb609b495990b3cdda857bc58f8fff
prerequisite-patch-id: 7541fb7d39cb5c3dde8336a2044092945c9a489f
prerequisite-patch-id: d7bd811d6ae93621377d53b2ce0c0dc07d3af974
prerequisite-patch-id: 70840c71eba2ded258118170a4fb068db6be41a0
prerequisite-patch-id: 786c26f05c48f6164f5483d7b3abb5f5a5c8af1e
prerequisite-patch-id: 6a568df14277633a1c750b30d12482f807420709
prerequisite-patch-id: 0dc50fceb4366089441299ea8d1a2112fe085a4e
prerequisite-patch-id: ecb0ace8f36f43f73a0d7ed371803bf372e44e44
prerequisite-patch-id: 501cbd341d61e685ea925f1b6a9d01157c23f577
prerequisite-patch-id: 72f603f27198839d27e8ddd93e8ff400ad1c7779
prerequisite-patch-id: 1621f9a63e9985317797b8b427a8a04a434924ec
prerequisite-patch-id: a495105042ae77b8f137e69fbbc4c840460fde3d
prerequisite-patch-id: 64fc9f0c56100da0ddaaa47e8523962952c7dc52
prerequisite-patch-id: 2e27194fd1b9ba64e8dfa7c2dce30be2a4b50e01
prerequisite-patch-id: bff5e7881d5e9439f63d165ba7e15a0fea7116d0
prerequisite-patch-id: bbb8bbfc1430cefff11058e1fef6391c7f0ea2ed
prerequisite-patch-id: 0f50cc3729eaac45cb800ffdcc0bc90231a5d383
prerequisite-patch-id: 81e31804f4531394210ea78f07dfa8af76cce9e2
prerequisite-patch-id: c838699b2dda2028f99cccd90514865ac89d4ef9
prerequisite-patch-id: 471d438b4266fb00936b3e01bc4a7c1134ab803b
prerequisite-patch-id: 8eecc73a106d5a37ad42470f2570a96ea4d15f21
prerequisite-patch-id: c3804217d970f09ca0de63bef2099e50be9152d9
prerequisite-patch-id: 381324ee857300fea9fc77a522465a6ff7b7b510
prerequisite-patch-id: f1e8119020dc675d50f5b2fbf7c2d59d89ef8887
prerequisite-patch-id: 1e0e6d520eb9919b5f9077c52821ff0a7ef16387
prerequisite-patch-id: f2f89614ffc9b6a1dac1108117890b4a89790e6c
prerequisite-patch-id: 1aba0547fd7db161fcbf3dfb814decbcb1578af0
prerequisite-patch-id: ee455a55e8607eb6c8350e0e13f8f786eca13bac
prerequisite-patch-id: b882a50b88bcc98253cbda01381c5614dcb883e2
prerequisite-patch-id: e754cb7885f9090a3364bd893cb2ab71edd1c175
prerequisite-patch-id: 5fde5c954582ace4046ba48e32bb65002741b4b4
prerequisite-patch-id: ac85337d2b9ab65f386a98e0bb3616299ef229ed
prerequisite-patch-id: 771cb11a66ec358e015c892aca7e61d686dfe1e2
prerequisite-patch-id: 723259fb9819a7a9f278313ce68df7ae2278d2d6
prerequisite-patch-id: e1958efcd13f24d3416621f52a3fedc15a66b59c
prerequisite-patch-id: 69a1d0883edcd8187f535b4ea68a69caec607762
prerequisite-patch-id: a58382e94b2412366f953dba3760108423d74e92
prerequisite-patch-id: c6754d7d863c8bbb2a711fa274f6ae9fa5e7cec5
prerequisite-patch-id: accbbd02216641adeb3b0882b994cff1948658d2
prerequisite-patch-id: e5ed823f431f4397431c9040bd19c01dd9c5e41b
prerequisite-patch-id: 4af620eed9f27ee0661cee1094babf9eb42bb8c2
prerequisite-patch-id: 0def17d3eb457ca282c44a1a4cf87c5faa857671
prerequisite-patch-id: 38ad500ad5373ff4e296c09fcadba54d1e64ccba
prerequisite-patch-id: 69278e5bf9a07619b20e981662a1fabc5559038c
prerequisite-patch-id: 49b2aac6c4f264e23048fbbf66b9c08c3dd382d3
prerequisite-patch-id: e54959d1ac4766cf0d4b9797899c3bb7b17e236f
prerequisite-patch-id: 5602152604a7f46ef19382edb85edcadd48b9b54
prerequisite-patch-id: fa7ba61bb9c3b695a0e96fa145cbed0ac0af4268
prerequisite-patch-id: 4ae194d7f6f433072b2a4b1953c552aa515a206a
prerequisite-patch-id: a798c309f88d9c3b88af34237928c7a4fc97d989
prerequisite-patch-id: 87c3a9ade274467f55e09a42150856f2bfe5cced
prerequisite-patch-id: adb3d751f5b86e241b8cf84511fc2ea606c1ae39
prerequisite-patch-id: 87d90282a291bd40a95b71e199f145342af05597
prerequisite-patch-id: c71614dd106c9d1ef6f5f06f0a4130d1892bc225
prerequisite-patch-id: 6c3e29d33574e7702833640fb2c864a0fd0213ab
prerequisite-patch-id: 71313dce1665d81b26bfcbf317016195187d6cc6
prerequisite-patch-id: f986ebbefc2e7f0cd9cce540428931de496b66ef
prerequisite-patch-id: 9e3a99a066d6026c54e900139e5261ac183a994d
prerequisite-patch-id: 0aa6e109ea51c4db0d2540be67eabf4d72c23106
prerequisite-patch-id: 701fe2ff5a0a161659874d4bfcf0069c5057ad1b
prerequisite-patch-id: b9430c002d1989714782036814e7d7bf3c85d3ee
prerequisite-patch-id: 440c6c1c3cbcbdde826d808521daa502efdee1f5
prerequisite-patch-id: 5333f03d5a623d84fa582e37ee9a00b16334b981
prerequisite-patch-id: a0fe5e7aa497c7ba8c771e43bac60b1732379331
prerequisite-patch-id: 5c6e2d3884250afbb5b8748f301a49b69c488aa8
prerequisite-patch-id: 7faaf68b20a7c76f0d3fd42951a8427306b2b913
prerequisite-patch-id: 06346ed81a05cf852b14cc55f88a95e6e7a4cb5b
prerequisite-patch-id: fd17aefc82bfbe8d4e0f8244085700e086f78e1a
prerequisite-patch-id: 74a02f887881929481bb549bdd9bf4326b4c4684
prerequisite-patch-id: 555d0f916c35d1a9a4ad8dc85d013667a9091249
prerequisite-patch-id: 038b1ea898cb335bf5beeb90d8121c5e5b45d465
prerequisite-patch-id: 0e911cc1c6816e84aff983377fcc62dc7d09e7e5
prerequisite-patch-id: aee4d3482d7290d9a78f259edebcec2400f3f9da
prerequisite-patch-id: 214b30050d7265676185d18654733160f7d88f69
prerequisite-patch-id: f1ed83a61e217f809f482ddb26d56cd9d14b221b
prerequisite-patch-id: eeaabb2d06c15466e1829fcd87e515ac93289105
prerequisite-patch-id: aab7da68f0a512ca21750665f44851c31eef39e0
prerequisite-patch-id: 71d335df605baf331d72c57c6d34ed3cf86ac090
prerequisite-patch-id: 03c36606e31d748f8dffb09e81ee5ee211354e86
prerequisite-patch-id: 9c695556cc27a470fe05c2164f4ea8e7e8134634
prerequisite-patch-id: 166e52677de5082f716e2f3bd9da56160fa16ff0
prerequisite-patch-id: 680672b6d468071d831fb4bde6cb03bbcc7c13c2
prerequisite-patch-id: 915f3a9a4b37e1662e46feb88a4d9eb988e78cea
prerequisite-patch-id: ee46a888cf50c53ee4b824a9a0791b4ac45dd205
prerequisite-patch-id: 5404c2018d62c20709a6bff094e903b42e7c8851
prerequisite-patch-id: 2b1b3694b24c2354f0c210a37412f686308f3043
prerequisite-patch-id: 3a2d483ab183ac44396ae98eb9f8a380106aa256
prerequisite-patch-id: 9bc086fba3eb5076270c8d34af64ea8a4fd21289
prerequisite-patch-id: a5ccebca21d07a15521fb00a9982df9a55366860
prerequisite-patch-id: b0a376c45233770012ede9a36805d197c58724f5
prerequisite-patch-id: 19b5c648a83ac811001917dad7c80ba4cb75f97f
prerequisite-patch-id: 2afa4bf415a5e6cac4d0634749faa2c50ab41091
prerequisite-patch-id: 866ec0bd5b56c4a439a64f942576713d1ba2794f
prerequisite-patch-id: cc624828e0642284df43d2e1979fd3d983638c0a
prerequisite-patch-id: 70b7ae859c53b38f4276a84df198f90685918357
prerequisite-patch-id: 3d365ace3dfb20a7b956b439bb53dff23fafa18c
prerequisite-patch-id: 1ab8f4eb3067042c5356b2ce2a0b1d3ea769b499
prerequisite-patch-id: 2527dff6f686d2b493eb9cd94532d4778119604f
prerequisite-patch-id: 538562ddba831c78fa82e5e14ce56cb4f9634c41
prerequisite-patch-id: 35cad8469a1f19354d356a28ed2005e3c5e3cccb
prerequisite-patch-id: 0d77267c55535d5c8c3ff105fb32c87bb3ebb819
prerequisite-patch-id: 1fddc8003ffccc5f897b0ebad79efd7208c7739c
prerequisite-patch-id: 0acd3fa8d94df58fb86b9619d7e02e166539dc14
prerequisite-patch-id: 3fc486d720cd74a26761b09ff37dd78e74d46499
prerequisite-patch-id: 161e352602f8a37683b75beb1c5b1e5ac9578ffb
prerequisite-patch-id: b7ed34542ef18a07f2d5601b5ea629e177412bd3
prerequisite-patch-id: 525266bcddebebc867028aae03d5c2382921ffda
prerequisite-patch-id: 5e36e77f4fa1848dbd20c2e5d5cec31d2473c2a8
-- 
2.41.0





Acknowledgement sent to Rostislav Svoboda <rostislav.svoboda@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#68453; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 8 Feb 2025 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.