unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25865: xinit does not allow non-root startx
@ 2017-02-24 18:27 Alex Vestgaard
  2017-03-07 21:40 ` Ludovic Courtès
  2023-08-11 10:10 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Vestgaard @ 2017-02-24 18:27 UTC (permalink / raw)
  To: 25865

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Hi,

xinit suffers from an upstream bug, which does not allow non-root X to be run without a display manager via startx or xinitrc. Several people have reported this on #guix.

Currently if one runs startx as non-root, X reports:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

This bug is further discussed in [1]. Redhat seems to have a patch [2], but it is unclear to me whether this has been applied upstream.

[1] https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1203780

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25865: xinit does not allow non-root startx
  2017-02-24 18:27 bug#25865: xinit does not allow non-root startx Alex Vestgaard
@ 2017-03-07 21:40 ` Ludovic Courtès
  2023-08-11 10:10 ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-03-07 21:40 UTC (permalink / raw)
  To: Alex Vestgaard; +Cc: 25865

Hello,

Alex Vestgaard <birkeroed@protonmail.ch> skribis:

> xinit suffers from an upstream bug, which does not allow non-root X to be run without a display manager via startx or xinitrc. Several people have reported this on #guix.
>
> Currently if one runs startx as non-root, X reports:
> (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
>
> This bug is further discussed in [1]. Redhat seems to have a patch [2], but it is unclear to me whether this has been applied upstream.
>
> [1] https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1203780

Did you have a change to try Red Hat’s patch?  It could be a good
starting point.

Thanks for your report,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25865: xinit does not allow non-root startx
  2017-02-24 18:27 bug#25865: xinit does not allow non-root startx Alex Vestgaard
  2017-03-07 21:40 ` Ludovic Courtès
@ 2023-08-11 10:10 ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-08-11 10:10 UTC (permalink / raw)
  To: Alex Vestgaard; +Cc: 25865-done

Alex Vestgaard <birkeroed@protonmail.ch> writes:

> Hi,
>
> xinit suffers from an upstream bug, which does not allow non-root X to be run without a display manager via startx or xinitrc. Several
> people have reported this on #guix.
>
> Currently if one runs startx as non-root, X reports:
> (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
>
> This bug is further discussed in [1]. Redhat seems to have a patch [2], but it is unclear to me whether this has been applied upstream.
>
> [1] https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1203780

Hello, for 'xinit', you can create a '~/.xserverrc` file with:

  tty=$(tty)
  tty=${tty#/dev/tty}
  X vt${tty}

then it will run a non-root X from current tty.  Also 'sx' works fine.

Closing now..




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-11 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-24 18:27 bug#25865: xinit does not allow non-root startx Alex Vestgaard
2017-03-07 21:40 ` Ludovic Courtès
2023-08-11 10:10 ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).