From: "宋文武 via Bug reports for GNU Guix" <bug-guix@gnu.org>
To: Alex Vestgaard <birkeroed@protonmail.ch>
Cc: 25865-done@debbugs.gnu.org
Subject: bug#25865: xinit does not allow non-root startx
Date: Fri, 11 Aug 2023 18:10:13 +0800 [thread overview]
Message-ID: <87zg2xc2ka.fsf@envs.net> (raw)
In-Reply-To: <bPxWsXKl30lIGkz7qROAZ5Jp5oDKVWHsoYvrAm1HWzwUu7nvmTur0yhIKawRZJVqXlxh2e0QRvY8aDsvF1joNOrc3GSmaEWh0gvTue3JwKY=@protonmail.ch> (Alex Vestgaard's message of "Fri, 24 Feb 2017 13:27:15 -0500")
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..
prev parent reply other threads:[~2023-08-11 10:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zg2xc2ka.fsf@envs.net \
--to=bug-guix@gnu.org \
--cc=25865-done@debbugs.gnu.org \
--cc=birkeroed@protonmail.ch \
--cc=iyzsong@envs.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.