Can't Login to Plasma Desktop

Can’t login with to the Desktop using my username. I enter the password, the screen darkens and then returns with the password prompt again. I probably foobarred something yesterday when I was trying to get Jellyfin to see my external drives.

Anyway, I’m able to create a new user and login to the new user Desktop.

I’m able to login with original password via tty and…
I ran ls -l /home and it shows the new user.
I ran ls -la /home/newuser and it shows all the directories.

When I run ls -la /home/originaluser I get “no such file or directory”.

In /etc/passwd, both users are there and a Jellyfin entry…

originaluser1000:1000:originaluser:/home/originaluser:/bin/bash
newuser1001:1002::/home/newuser:/usr/bin/bash
jellyfin962:962:Jellyfin default user:/var/lib/jellyfin:/usr/bin/nologin

Also, when I click on the Home partition, it shows the originaluser Folder as locked.

Any ideas on where to start to get the orignaluser working again?

Try with su, looks like the “originaluser” permissions are screwed.

su
ls -lah /home/originaluser

su
ls -lah /home/originaluser

Thanks but still getting “no such file or directory“. It’s definitely there just not being seen/recognized for some reason.

can you find out the ownership of //home/originaluser?

Under Permissions/Ownership, it shows originaluser for both User: and Group:

Right, then there is no cause there, it seems.

Don’t know right now what else to suggest.

Hopefully someone more knowledgeable chimes in.

I just noticed the folder path for the originaluser Home directory is now /run/media/newuser/EOS Home if that helps. EOS Home is the partition.

I believe I found the issue. When I added the external drives to the fstab file I somehow deleted everything in it except the new drive entries.

Is there a way to fix/or generate a new fstab file?

Can i restore fstab somehow? : r/linuxquestions

sudo pacman -S arch-install-scripts
genfstab -U root

May help, but I have never done it - did your editor create a backup?

Can’t find a backup anywhere. When I run genfstab -U root I get an error stating root:root is not a mount point.

Maybe this will help.

Reading through that, I ran genfstab / and the output below.
The first 2 entries are the Home partition and the EFI partition.

The last 4 entries are the current contents of the fstab file (4 of my external drives).

I seem to remember the original entries were shorter lines than the 2 drawn out entries below.
So I’m guessing I need to add these 2 entries to fstab but not clear on how to format both of those?

[enblu@machina ~]$ genfstab /

# UUID=586b03f3-836e-4852-9c23-e3cb4f904bd6 LABEL=EOS\134x20Root /dev/sdi2 / ext4 rw,relatime,stripe=8191 0 1

# UUID=93C6-0824 LABEL=EFI /dev/sdi1 /efi vfat rw,nosuid,nodev,noexec,relatime,nosymfollow,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2portal /run/user/1001/doc fuse.portal rw,nosuid,nodev,user_id=1001,group_id=1002 0 0

# UUID=09acb580-7204-42f5-9850-5757af303dfa

/dev/sde1 /mnt/S8GB1 ext4 rw,relatime 0 2

# UUID=52f03432-61f8-410a-8d14-b54cb1a9b187

/dev/sdf1 /mnt/S8GB2 ext4 rw,relatime 0 2

# UUID=3f52b6cf-3e0d-4193-86ae-f60a5d6155bf LABEL=18TB1

/dev/sdb1 /mnt/18TB1 ext4 rw,relatime 0 2

# UUID=8853eb98-da94-4db9-9034-a1c4dfcdb9ed LABEL=18TB2

/dev/sdc1 /mnt/18TB2 ext4 rw,relatime 0 2

Current fstab

#18tb1
UUID=3f52b6cf-3e0d-4193-86ae-f60a5d6155bf mnt/18TB1 ext4 nofail 0 0
#18tb2
UUID=8853eb98-da94-4db9-9034-a1c4dfcdb9ed mnt/18TB2 ext4 nofail 0 0
#s8gb1
UUID=09acb580-7204-42f5-9850-5757af303dfa mnt/S8GB1 ext4 nofail 0 0
#s8gb2
UUID=52f03432-61f8-410a-8d14-b54cb1a9b187 mnt/S8GB2 ext4 nofail 0 0

This is how it looks in my fstab file, maybe this helps.

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=6167-0194                            /boot/efi      vfat    fmask=0137,dmask=0027 0 2
UUID=0fb20ddc-c04b-4ed8-a2a1-7014703d5616 /              ext4    noatime    0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

The wiki also has a example.

Thx, I have fstab rebuilt correctly again! :+1:

But, still can’t login to the Desktop with the original user so has to be something else going on.

When I click on the Home partition in Dolphin, it shows the originaluser Folder. When I click on Properties of that folder it shows it’s mounting on /run/media/enblu/EOS Home with “enblu“ being the newuser. Does that seem right?

Well I am not sure what your exact setup is but run/media normally would point to a external drive, or a internal drive, that has been mounted in Dolphin , that is all I can tell you.
If you go to system settings >users maybe you can find out something more, you could also type SDDM in the search field on the top of the system settings, and when in the SDDM section, click at the top on the right side of the window on behaviour, and see what is listed there.

Both users are shown under Users in System Settings and in the SDDM window..
Now that you mentioned it, EOS is installed on a “permanent” external drive, so that probably explains that.

I’ll probably reinstall on an internal drive sometime in the near future but would like to find out how I apparently “hid” the original user.

Get the “no such file or directory“ whether logging in via tty or logged in to the Desktop as newuuser.

[enblu@machina ~]$ chown -R originaluser:originaluser /home/originaluser
chown: cannot access ‘/home/originaluser’: No such file or directory

Don’t have the originaluser file or directory either, and think that a default setup would only have home and folders like documents etc along with some (hidden) .folders.

I used “originaluser” just to refer to the username I chose when I installed EOS. I installed another user(newuser) to see if I could or not after I could no longer login to the Desktop with my original user.

My Home folder is still there under my original username just can’t login in with it anymore.

I did something when I was trying to get Jellyfin to see my external drives, including adding it as user (following one tutorial I found) which I later discovered I didn’t need to do, just had to add the drives into fstab.

Ok I think I sort of understand that know, but I have no idea what Jellyfish is or does.
Only know that is a animal that lives in the sea :grinning_face:

:smiley:

Jellyfin is free software for a media server.