On Mon, Nov 11, 2019 at 09:06:36AM +0000, 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)
I seriously doubt this logfile has been created by xinit or startx. IIRC gnome writes the X logfile there for the Xserver which is being used for the usersession itself (gdm greeter uses its own Xserver or Wayland).
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.
This sounds weird, since the only change is an additional X config file, so NVIDIA GPU is being used for rendering instead of Intel GPU.
Does anyone have an idea what might be the cause of this?
Well, I would have hoped people have stopped using xinit/startx nowadays given that we no longer support it since decades. :-( Just use a proper displaymanager like gdm, sddm, lightdm, xdm like everyone is doing and you'll be happy. Even sound and access to nvidia devices for 3D rendering will just work ... Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ---------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org