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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67214 in the body.
You can then email your comments to 67214 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67214; Package guix-patches. (Wed, 15 Nov 2023 22:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Nov 2023 22:55:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Information forwarded to guix-patches <at> gnu.org:
bug#67214; Package guix-patches. (Sat, 25 Nov 2023 18:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 67214 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: "Thompson, David" <dthompson2 <at> worcester.edu>
Cc: 67214 <at> debbugs.gnu.org
Subject: Re: [bug#67214] [PATCH] services: xvnc: Do not specify display
 number when using inetd
Date: Sat, 25 Nov 2023 19:11:25 +0100
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,

Mathieu




Reply sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
You have taken responsibility. (Mon, 27 Nov 2023 16:04:02 GMT) Full text and rfc822 format available.

Notification sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
bug acknowledged by developer. (Mon, 27 Nov 2023 16:04:02 GMT) Full text and rfc822 format available.

Message #13 received at 67214-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Dec 2023 12:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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