GNU bug report logs -
#25865
xinit does not allow non-root startx
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25865 in the body.
You can then email your comments to 25865 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#25865
; Package
guix
.
(Fri, 24 Feb 2017 18:51:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Vestgaard <birkeroed <at> protonmail.ch>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 24 Feb 2017 18:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25865
; Package
guix
.
(Tue, 07 Mar 2017 21:41:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 25865 <at> debbugs.gnu.org (full text, mbox):
Hello,
Alex Vestgaard <birkeroed <at> 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’.
Reply sent
to
宋文武 <iyzsong <at> envs.net>
:
You have taken responsibility.
(Fri, 11 Aug 2023 10:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alex Vestgaard <birkeroed <at> protonmail.ch>
:
bug acknowledged by developer.
(Fri, 11 Aug 2023 10:11:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 25865-done <at> debbugs.gnu.org (full text, mbox):
Alex Vestgaard <birkeroed <at> 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..
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 08 Sep 2023 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.