GNU bug report logs - #67214
[PATCH] services: xvnc: Do not specify display number when using inetd

Previous Next

Package: guix-patches;

Reported by: "Thompson, David" <dthompson2 <at> worcester.edu>

Date: Wed, 15 Nov 2023 22:55:01 UTC

Severity: normal

Tags: patch

Done: "Thompson, David" <dthompson2 <at> worcester.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Thompson, David" <dthompson2 <at> worcester.edu>
Subject: bug#67214: closed (Re: [bug#67214] [PATCH] services: xvnc: Do not
 specify display number when using inetd)
Date: Mon, 27 Nov 2023 16:04:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#67214: [PATCH] services: xvnc: Do not specify display number when using inetd

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 67214 <at> debbugs.gnu.org.

-- 
67214: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67214
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Thompson, David" <dthompson2 <at> worcester.edu>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 67214-done <at> debbugs.gnu.org
Subject: Re: [bug#67214] [PATCH] services: xvnc: Do not specify display number
 when using inetd
Date: Mon, 27 Nov 2023 11:03:03 -0500
Hey Mathieu,

On Sat, Nov 25, 2023 at 1:11 PM Mathieu Othacehe <othacehe <at> gnu.org> wrote:
>
>
> Hello David,
>
> > * gnu/services/vnc.scm (xvnc-configuration->command-line-arguments): Omit X
> > display number when inetd? is #t.
>
> Seems fair, I think you can go ahead.

Thanks for the review! Pushed as commit
dce3672f5a8eb440ae61a334384423d1e2ff5e65.

- Dave

[Message part 3 (message/rfc822, inline)]
From: "Thompson, David" <dthompson2 <at> worcester.edu>
To: Ryan Prior via Guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] services: xvnc: Do not specify display number when using inetd
Date: Wed, 15 Nov 2023 17:53:46 -0500
[Message part 4 (text/plain, inline)]
Hey everyone,

I've been struggling to get VNC working with multiple users. Upon
digging into it I realized that it's because the X display number is
fixed in the xvnc service, even when in inetd mode, so only the first
user who connects gets a desktop and everyone else gets an error. By
omitting the display number when using inetd, xvnc just picks an
unused display and I'm now able to log in with multiple user accounts.

The patch is a one-liner and hopefully not very controversial. :)

- Dave
[0001-services-xvnc-Do-not-specify-display-number-when-usi.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 177 days ago.

Previous Next


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