"Carlos E. R." <robin.listas@telefonica.net> writes:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11/11/2019 10.49, Michael Pujos wrote:
On 11/11/19 10:06 AM, Dan Cermak wrote: Hi list,
about a week ago I have rebooted into the (at that point) newest snapshot and since then I can no longer use xinit to launch i3 on Tumbleweed from a tty as an ordinary user. `startx` fails with the following error message:
xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
(this is also the only error in ~/.local/share/xorg/Xorg.0.log)
To make this even stranger: switching the graphics driver to Nvidia via `prime-select nvidia` makes X start again (unfortunately with all the Nvidia related downsides).
Switching back to the intel driver via `prime-select intel` breaks `startx` again.
Does anyone have an idea what might be the cause of this?
You need to make /usr/bin/Xorg setuid root:
chmod +s /usr/bin/Xorg
Maybe there is a better solution but that is a quick fix.
Please do not top-post.
That might be, but it doesn't fit with two points: a) it worked previously, b) it works with the nvidia driver.
But neither does your suggestion, as it does exactly the same thing as what Michael suggested, only via a configuration file, that I never touched and that wasn't touched in the time frame in question. Since setting setuid root was never necessary for Xorg in the past 5 years, I'd honestly like to know why it should suddenly be now (and especially why it depends on the driver that is used).
Dan, if you have not done it before, edit /etc/permissions.local and remove the comment mark on the "/usr/bin/Xorg" line, then run:
chkstat --system --set
- -- Cheers / Saludos,
Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE-----
iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXclLxgAKCRC1MxgcbY1H 1fDzAJ9HrbXEj9ytMgjVSSw8pB857vK68QCeLtF8eUp3Fy9g5+KSGvna6qNfEOg= =tIS7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer