#Adding fingerprint to KDE

184 messages · Page 1 of 1 (latest)

sturdy blade
#

I've attached a ss to this thread explaining what I should do, but I'm new, and I don't understand how to do this.

#

I inspected the file via the path via vim, but that's all I have. I'm not sure if I just paste what they want or if there's more.

tiny isle
#

.s litany

gloomy basinBOT
# tiny isle .s litany

Please follow the Standard Litany when asking a question:
What was your environment? What was your operating system, configuration?
What did you do? What did you run or test? Where?
What actually happened? What were the exact results, complete log contents, exact error messages?
What did you expect? What were you aiming to achieve? What result were you looking for?

Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.

Also see this similar guide on how to ask smart questions.

tiny isle
#

.s q

gloomy basinBOT
# tiny isle .s q

When requesting support, please include specific, detailed, and relevant information about your system and issue.

We need such information because we don't know what it's like inside your system, and it's unlikely that we know much about the issue you're facing. The more information you can provide, the better we can help you with your specific issue.

Some examples of frequently requested information include the steps you took before your issue occurred (such as system updates), the steps you took to resolve your issue and their results, and your environment (such as your display manager or desktop environment).

Vague or superficial questions lead to vague or superficial answers. False information leads to false solutions.

sturdy blade
#

Hi again, sorry about that, will type something up

tiny isle
#

Thanks

sturdy blade
#

I think this is enough to know my OS and DE.

#

As for my issue, I'm mostly just confused on the instructions. Executing vim /etc... let me to this screen:

#

I'm just not sure where to proceed from here, following the guide.

#

SDDM works with a fingerprint reader when using fprint. After installing fprint and adding fingerprint signatures, add the following to the top of /etc/pam.d/sddm:

auth sufficient pam_fprintd.so

Does this mean to just add auth sufficient pam_fprintd.so to the top of the sddm file?

tiny isle
#

Also, read below that where it explains how to use either a fingerprint or password

#

.aw fprint

gloomy basinBOT
sturdy blade
#

I thought I needed to do more stuff before I just add my finger

tiny isle
sturdy blade
tiny isle
sturdy blade
#

I thought that's what I was using.

tiny isle
#

You use fprint with SDDM

tiny isle
sturdy blade
#

Ok, so I need to do this then?

#

Sorry if it's obvious, I'm just making sure I don't mess it up since I'm not experienced enough to undo certain problems

#

So like this

tiny isle
sturdy blade
tiny isle
#

So yes, do that too if you want to it work on the lock screen

sturdy blade
#

Oh, is the fprint supposed to work for the lock screen, AND whenever I need to provide a password (i.e.: sudo...)?

tiny isle
sturdy blade
#

Hmm, I'm not sure if I fully understand. I get fprint is a general function, but SDDM and the lock screen still confuse me. I thought SDDM was the lock screen stuff

tiny isle
#

My stupid phone keeps capitalizing Lock Screen for some reason, sorry

sturdy blade
#

Ok, so once I write these changes I've made I continue the guide from here?

tiny isle
#

I’ve never used KDE for an extended period, so idk.

sturdy blade
#

I think this is more of a "how do I read the arch wiki" question rather than a technical question

tiny isle
sturdy blade
#

Right, this is for SDDM right?

#

Which I've done

tiny isle
sturdy blade
#

I see, there's another line below that. I assume that's redundant since I'll add the prints later in the guide?

tiny isle
#

Wdym by the line below

sturdy blade
#

Second

tiny isle
#

They are separate choices

sturdy blade
#

Ok

#

I began editing it, and exited the terminal because I didnt want to safe my changes (I figured it was an alternative to :q. Now I get this when I try to execute it again

tiny isle
#

R

sturdy blade
#

oh, so what do I do so I don't mess anything up (i.e.: save my shitty changes)

#

ok

sturdy blade
#

Ok

#

Just sending this to be sure I did no dumb mistakes

#

Also, is there a way I can auto align this text?

tiny isle
tiny isle
sturdy blade
#

Oh, there's no shortcut?

tiny isle
# sturdy blade Oh, there's no shortcut?

Nvim does it automatically when creating new lines. Not sure about vanilla vim. You could probably write a script to do it or something, or I’m just not familiar with that functionality if it does exist.

#

I don’t know much about vim beyond vimtutor (I don’t need to for what I need to do)

sturdy blade
#

Ok

#

Also sorry if this is a dumb question, but is the text that refers to each code block in the wiki above or below it?

sturdy blade
#

Ah nvm, I just read your message and made it connect

tiny isle
#

“This” seems to be referring to the above block, “You can also modify other files” seems to just be general information, and the last paragraph explains how to also use a password in the second code block.

sturdy blade
#

It refers to the one above it right?

#

Ok

#

Again, the one below is it a choice between the two blocks shown in the image correct?

#

Seems that way, but I just want to tread lightly

tiny isle
sturdy blade
#

Ok

tiny isle
#

I’d personally go for that one, just in case the fingerprint ever fails, reader breaks, etc.

sturdy blade
#

I did the one above since it allows me to use a password if it fails (like in windows)

tiny isle
#

Oh, didn’t see that part. Sounds good.

sturdy blade
#

How do I get out of this?

#

iirc there's a command to go back to the prompt

tiny isle
sturdy blade
#

alacrity

tiny isle
#

I mean what program in the terminal

sturdy blade
#

I don't understand i'm sorry

#

Examples?

tiny isle
#

How did you get where you are

sturdy blade
#

ctrl alt t, opened up alacrity, and fprintd-enroll

tiny isle
sturdy blade
#

Yes

#

Well I exited out of the terminal

#

But for future reference, if I wanted to stay in it, is there not a generic shortcut to get out?

sturdy blade
#

I registered my index finger (I think), and I assume it will work when I reboot

sturdy blade
#

I am a little confused as to how I add restrictions to this, given it's more complex than just a simple "text file"

sturdy blade
#

Ok

#

I restarted my system and I'm locked out now :(

#

my password doesn't work as it used to 🤔

tiny isle
tiny isle
sturdy blade
#

I forgot how to choose. Do I need go pull out that USB?

sturdy blade
tiny isle
#

do you mean chroot?

sturdy blade
tiny isle
#

mount your root partition, chroot, edit the file, reboot.

sturdy blade
#

Idk which file is locking me out

tiny isle
#

Remove what you added earlier

sturdy blade
#

Ah ok

#

But my fingerprint didn't work in the first place

tiny isle
#

Also did you check if your fingerprint reader is supported?

sturdy blade
#

yes

#

it is

#

the indicator for my laptop showed up

tiny isle
sturdy blade
#

on windows my fingerprint scanner has a green led around it when it's ready to detect prints

#

the same happened when I added my print to linux

tiny isle
#

Check the actual list of supported readers

sturdy blade
#

Ok

#

I skimmed it and it seemed that it had it

#

ill double check when I'm done here

tiny isle
#

Ok

sturdy blade
#

I forgot how to mount:(

#

it's the 600Gb partition

tiny isle
#

Weird. That seems correct.

#

ls /dev/

sturdy blade
#

did that n

#

no?

tiny isle
#

Also I gtg soon. You can also try switching to a tty in your actual install and editing from there

tiny isle
sturdy blade
#

o

#

idk what to do with that info

#

lol I'm sorry

tiny isle
sturdy blade
#

what does tty do?

tiny isle
#

No login screens or anything, just a cli login

sturdy blade
#

ah

#

is the only difference just not the need to mount?

tiny isle
tiny isle
sturdy blade
#

ah good catch

#

idk

tiny isle
#

Prefix with /dev/

#

So /dev/whateverblockdevice

sturdy blade
#

damn I'm dumb

#

yea

tiny isle
#

Also use a mountpoint

#

/mnt

sturdy blade
#

ok I got it

#

so this is my instal with my root?

tiny isle
#

Yes

sturdy blade
#

so now I just need to find that config file?

tiny isle
#

I gtg now.

sturdy blade
#

alr wish me luck :)

tiny isle
sturdy blade
#

ok cool

#

ty for ur help

tiny isle
#

Np. I hope we can fig this out properly when I get back.

sturdy blade
#

yea I'm looking at the file and apparently I didn't save my crap

#

I've confirmed that my fingerprint is compatable with it

sturdy blade
#

yea idk vim is acting really stupid with that overwriting thing

sturdy blade
#

Just an update, idk wtf is wrong with my system

#

I think I'm following the guide down to a tee, and it's not working

#

This is what I have

#

Pretty much c + v

sturdy blade
#

@tiny isle

tiny isle
#

I don’t know anything beyond what the Wiki says, sorry.

sturdy blade