How to set login account on Linux in HSM2?

The system asks for username and pin if I connect HSM2 on my PC before login. I am unable to get what should I enter because I don’t know how to set username and password for HSM2 at my login page.
But if I remove HSM2, I can login with my account as normal.

My question is, how to set my device for login access in HSM2?

Can you share some details on what is the environment you are running right now? “Linux” is pretty generic to me. Among others, what is the program you are using to log in to your PC?