invalid username or password - vnc login into second user

January 12, 2024, 12:42

iludw1g

when logging into main user it works fine, but when i try the second user it says the username or password is wrong?

thunder07337

Second User?

iludw1g

yeah, as in a created another user and tried logging into it through vnc and keeps giving me this

iludw1g

but the first main user logs in fine and shows the desktop fine

k9t33n

you may need to enable vnc on the new user again, not sure

k9t33n

with sudo enabled for that user

iludw1g

i did enable vnc a few times again on that user specifically, i thought it was that too, but didn't help.

iludw1g

hm, sudo enabled for that user

iludw1g

that's just this, right?
usermod -aG sudo username

iludw1g

in which case I have done, so, not sure what it could be

iludw1g

vnc is weird man, sometimes it doesnt even connect. rdp using xrdp package always works though, but with vnc at least graphically charged apps can open like webcord/firefox etc without a second user

k9t33n

do you have a actual display you can connect to the pi?