My admin account was added to sudoers and worked fine. I set up SSH and xRDP on my computer. I used the exact same username for these programs. Now when I try to sudo, it says my user is not in the sudoers list. I can switch to root, but that doesn't fix my problem.
What I think happened is that when I log in as the user, it's using my SSH login. If I'm correct, how do I log out of the SSH user if the usernames are the same. But maybe I'm wrong and something else is going on.
Also: when I try to add the user to sudoers file, it says the user is already added
EDIT: I'm not 100% sure that it has anything to do with xRDP or SSH. I started having the issue afterwards, but it may be unrelated. Also, I don't think I created a new user, just added the existing user; but I am not sure about this either.