Switched to XORG, black login screen with blinking cursor

Everything was good. I logged out. Switched to GNOME on XORG. Login page stopped working (I enter password, and I’m brought back to user select screen). I reboot. Now I’m not getting login screen. Just black with cursor.

I’m new to Linux
Nvidia Optimus laptop. Got the drivers working yesterday and everything was usable on Wayland.
The reason I tried switching to XORG is because I presume my Nvidia card wasnt working as expected. I was getting very low fps in game and YouTube videos stuttering on HD playback .

Share your graphics hardware info to start with:

inxi -SGa

Tried booting to previous snapshot to no avail

How do I get into GNOME terminal

I’m not a Gnome user, but try Ctrl+Alt+T


This is my screen with the cursor on the top left
Ctrl alt t doesn’t work

image
from a previous post, I have go6 drivers for the Nvidia card now

No! I assumed you were trying to access from a working Gnome Wayland desktop. I’m not a mind reader.

When I press Ctrl alt f2 I get this screen for a moment before it goes back to black

I can hold it down and it keeps flickering but can’t input anything

Why don’t you reboot and start a Gnome Wayland session?

Coincidentally pressed Ctrl alt f9 or f10 and got into the login screen. Logged into Wayland desktop now. Would still appreciate help to get into XORG since I was informed Wayland doesn’t work well with Nvidia (YouTube videos stutter on HD)

Rather than posting the image, please post the output. Copy and paste here as pre-formatted text (using the </> button).

1 Like

I don’t have Optimus hardware. See if this thread is of help (specifically Malcolm’s advice):

@kavser Do you have any conf files lurking in /etc/X11 or /etc/X11/xorg.conf.d? Can you post the output from cat /proc/cmdline did you modify /etc/gdm/custom.conf and uncomment (as in remove the #) from the line WaylandEnable=false

BOBK:/etc/X11 # tree
.
├── xdm
│   ├── xdm-config
│   └── Xservers
├── xinit
│   ├── xinitrc.common -> ../../../usr/etc/X11/xinit/xinitrc.common
│   └── xinitrc.d
│       ├── libcanberra-gtk-module.sh
│       └── xdg-user-dirs.sh
├── xorg.conf.d
│   └── 00-keyboard.conf
└── xorg.conf.install

BOBK:~ # cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-6.7.4-1-default root=UUID=f393aafe-21c4-4ab6-8368-14edde4a228e splash=silent mitigations=auto quiet security=apparmor

The last time i tried to uncomment WaylandEnable=false I had the same login screen issue, and ended up reinstalling opensuse. Should I try again?

@kavser can you add the kernel boot option nvidia_drm.modeset=1 to grub.

GRUB_BACKGROUND=
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
SUSE_BTRFS_SNAPSHOT_BOOTING="true"
GRUB_USE_LINUXEFI="true"
GRUB_DISABLE_OS_PROBER="false"
GRUB_ENABLE_CRYPTODISK="n"
nvidia_drm.modeset=1
GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
~                                                                               
~                                                                               
~                                                                               
~                                                                               
"grub" 46L, 1689B written

changed the grub file in /etc/default to the above

BOBK:/etc/default # grub2-mkconfig -o /boot/grub2/grub.cfg /etc/default/grub: line 45: nvidia_drm.modeset=1: command not found
did I do something wrong

@kavser um, yes… remove that line. it’s the line beginning GRUB_CMDLINE_LINUX_DEFAULT=... you append that too.

exact same problem persists. Login screen loops, and then breaks

thanks for the help malcolm, but it seems like opensuse isnt the right OS for me right now. I’m uninstalling. Thanks again il be back one day