openSUSE crashes at login screen

Hi, I recently installed openSUSE Leap 15.2. Due to some random glitch, my system wasn’t able to shut down. Clicking the shut down wouldn’t do anything, so I hard-rebooted the system by pressing the restart button on the CPU cabinet.

Now whenever I boot and enter my password and try to log in, my system would just crash and splash a welcome message and then come back to the login screen.

https://www.linkpicture.com/q/VID_20201001_202144_HSR_240_exported_2624_1601564182267.jpg

Is there any way I can fix the installation?

can you login as “root”? and type in your super user password (what you would type in as your password after typing in su).

Mind sharing how I can login as ROOT? I didn’t find any option in the login screen.

Where it says

localhost login :

type in root

localhost login : root

Sorry, that is not command prompt. As I said, when I type my password and click enter on the login screen, it would crash and show that welcome message (that screenshot) for split a second and then will come back to the login screen.

Sorry, I cannot type there. As I said, when I type my password and click enter on the login screen, it would crash and show me that welcome message (that screenshot) for split a second and then will come back to the login screen.

You mean you can not type in the screen you show in post #1 above?

Then do Ctrl-Alt-F1 and tell what you get.

Okay I misunderstood.

When you get to login, can you try to boot in text mode? I think it should be Ctrl + Shift + F2 or Ctrl + Shift + F3 by default, and then login as your user?

I was able to login to as “root” by Ctrl+Alt+F1. What should I do from here?

https://www.linkpicture.com/q/IMG_20201001_224914.jpg

try typing in

startx

and tell us what happens.

Sorry, accidentally previous post got deleted and I could log in to root mode by Ctrl+Alt+F1. Typing startx takes me to the the desktop. All my apps are there.

Okay, then do this process again with your regular username instead of logging in as root and tell us what happens.

Is this how I should do it?

https://www.linkpicture.com/q/IMG_20201001_230716.jpg

The home directory of ya_sg seems not to exist.
Please post

ls -l /home

It shows the folders I have on the partition 1 of my HDD. i have an SSD and a HDD. I’m dual booting Linux with Windows 10 and both are installed on the SSD with seperate partitions.

https://www.linkpicture.com/q/IMG_20201001_231450.jpg

Show us the entries of your fstab.

cat /etc/fstab

I think your home partition failed to mount.

Also it seems that something happened to your user folder because all of the entries that should be in

/home/ya_sg

seems to be actually at

/home

a fix can be as simple as renaming your /home as /home/ya_sg but only if there is nothing wrong with file system.

This is what I get:

https://www.linkpicture.com/q/IMG_20201001_234016.jpg

(gonna continue this thread tomorrow since it’s already too late here in my location)

your /home is mountd NTFS but the permissions are not set to be able to read/write properly. Do you have emacs installed?

Like @SJLPHI says, it looks as if everything that should be in /home/ya_sg is now in /home. That is very strange.

I doubt however that the solution to simply rename /home in /home/ya_sg will help much. It maybe that something goes, but there might be too many other places that refer to /home as /home :(.

One more thing. I see that your /home file system is NOT a native Linux file system, but NTFS. That is a very bad idea in the first place.

And it may point to where your problem comes from. Did you use this file system on a non-Linux operating system? It maybe that you borked it there.