You are not logged in.

#1 2025-01-28 18:58:08

bottlewisp
Member
Registered: 2025-01-28
Posts: 3

[SOLVED] main account login, black screen, back to shell login

Ahoy goodfolk

Everytime I log in with the gnome-shell to my main account, I get a blackscreen (get a tty-looking screen for 1 frame) for 2 seconds before being put back to the login, as if nothing happened.
According to another post, it appears it is something running an 'exit' command (for some reason) after logging in.

Logging in to tty is no problem.

My hacky workaround through trial and error, is to make a dummy account. Log in on the dummy account and select Log Out... in system menu.
Press Ctrl-Alt-F(1-6) until I get another shell login. Now logging my main account works, indicated by the mouse cursor being a cross for a brief moment.

Thank you in advance. Cheers.

(still happens with all extensions off)

Demonstration:
https://youtu.be/3pKLO5HxMOM

journalctl -b > log:

https://www.dropbox.com/scl/fi/gc4tu5t4 … 6zbk5h5pv9

Last edited by bottlewisp (2025-01-30 16:25:14)

Offline

#2 2025-01-28 20:47:40

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED] main account login, black screen, back to shell login

Please read sticky's before posting:

Post complete logs/output/versions/error messages

Offline

#3 2025-01-29 14:41:26

bottlewisp
Member
Registered: 2025-01-28
Posts: 3

Re: [SOLVED] main account login, black screen, back to shell login

done. log is up.

PS: i like that Dusty guy. "maybe people will act like more intelligent archers". i am not intelligent, so maybe using arch linux were a bad idea? if i was an intelligent 'archer' i'd probably know the answer to my problem and i would know arch linux enough to not need a log to solve this issue.  or better yet, made an OS which doesn't kick the user back to login screen aylmao.

ah shoot, i took the bait.

Last edited by bottlewisp (2025-01-29 14:42:25)

Offline

#4 2025-01-29 20:48:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,444

Re: [SOLVED] main account login, black screen, back to shell login

Jan 29 15:16:24 bottle xdg-user-dirs-update[1207]: Can't create dir /home/dummy/Desktop

The dummy user lacks a $HOME and the fat DEs don't like that at all.


As for the wisp user

Jan 29 15:16:50 bottle kernel: nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x00)
Jan 29 15:16:50 bottle gnome-shell[2449]: Device '/dev/dri/card0' prefers shadow buffer
Jan 29 15:16:50 bottle gnome-shell[2449]: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
Jan 29 15:16:50 bottle gnome-shell[2449]: Failed to detect hardware rendering: eglMakeCurrent(): An EGLDisplay argument does not name a valid EGL display connection.
Jan 29 15:16:50 bottle gnome-shell[2449]: Device '/dev/dri/card1' prefers shadow buffer
Jan 29 15:16:51 bottle gnome-shell[2449]: Added device '/dev/dri/card1' (i915) using atomic mode setting.
Jan 29 15:16:51 bottle gnome-shell[2449]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: An EGLDisplay argument does not name a valid EGL display connection.
Jan 29 15:16:51 bottle gnome-shell[2449]: Created gbm renderer for '/dev/dri/card0'
Jan 29 15:16:51 bottle gnome-shell[2449]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
Jan 29 15:16:51 bottle gnome-shell[2449]: Created gbm renderer for '/dev/dri/card1'
Jan 29 15:16:51 bottle gnome-shell[2449]: GPU /dev/dri/card0 selected as primary
Jan 29 15:16:51 bottle gnome-shell[2449]: Failed to setup: Unable to initialize the Clutter backend: no available drivers found.
Jan 29 15:16:51 bottle systemd[2325]: org.gnome.Shell@wayland.service: Failed with result 'protocol'.
Jan 29 15:16:51 bottle systemd[2325]: Failed to start GNOME Shell on Wayland.
Jan 29 15:16:12 bottle kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
Jan 29 15:16:12 bottle kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Jan 29 15:16:12 bottle kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
Jan 29 15:16:12 bottle kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
Jan 29 15:16:12 bottle kernel: fbcon: i915drmfb (fb0) is primary device
Jan 29 15:16:12 bottle kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
Jan 29 15:16:12 bottle systemd[1]: Starting Load Kernel Module drm...
Jan 29 15:16:12 bottle systemd[1]: modprobe@drm.service: Deactivated successfully.
Jan 29 15:16:12 bottle systemd[1]: Finished Load Kernel Module drm.
Jan 29 15:16:13 bottle kernel: [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
Jan 29 15:16:14 bottle kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:02:00.0 on minor 0
Jan 29 15:16:14 bottle kernel: nvidia 0000:02:00.0: [drm] No compatible format found
Jan 29 15:16:14 bottle kernel: nvidia 0000:02:00.0: [drm] Cannot find any crtc or sizes

You finally succeed w/ a gnome-on-X11 session, you should be able to select that from the get-go.

As for gnome on wayland, try to add "nvidia_drm.modeset=1" to the kernel parameters to block the simpledrm device and retain the normal card order.

Offline

#5 2025-01-30 16:24:40

bottlewisp
Member
Registered: 2025-01-28
Posts: 3

Re: [SOLVED] main account login, black screen, back to shell login

beats me why  dummy  user can log in with Wayland and  wisp  user eventually uses X11.

tried to change the kernel parameters during boot to include the
nvidia_drm.modeset=1
aswell as changing   /etc/default/grub   to include it and run
sudo grub-mkconfig -o /boot/grub/grub.cfg
both to no avail


solution

use X11 as Windowing System at login screen
by uncommenting /etc/gdm/custom.conf

# GDM configuration storage

[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

Offline

Board footer

Powered by FluxBB