orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
643 stars 273 forks source link

Orange Pi 5 Plus - I can't log in with new users - Ubuntu 22.04 Desktop #106

Open juliosene opened 9 months ago

juliosene commented 9 months ago

I had installed Ubuntu 22.04 desktop, the official version distributed by Orange Pi, but I can't log in with new users.

User creation happes without any problems, but it is not possible to login with those new users using the graphical interface, even placing them as administrators.

I also tried to edit /etc/group to keep a new user in the same groups as the original orangepi user. Still, I was unsuccessful. I get a white screen with an error message after logging in.

poltpolt commented 3 days ago

I confirm the same for orange pi5b

I checked /etc/groups and found many groups are missing for users created in gnome so i added new user to them sudo usermod -aG tty,disk,dialout,audio,video,games,users,input,netdev,bluetooth,docker,orangepi YourNewUser

to make it even better the /etc/adduser.conf should have those groups in EXTRA_GROUPS parameter so every new users gets them