guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.85k stars 236 forks source link

Chanigng the user in rpi-imager from breaks system #432

Open guysoft opened 2 years ago

guysoft commented 2 years ago

Continuing report of @AlbertMN here: https://github.com/guysoft/FullPageOS/issues/276#issuecomment-1159389974 It seems that the userless new setup breaks fullpageos if the username is changed.

Related: https://github.com/guysoft/CustomPiOS/issues/163

jory3 commented 8 months ago

In case someone else needs a quick fix for the "unable to launch "/home/pi/scripts/start_gui" X session"-error: I had created a user 'myuser' in the pi imager. After the first boot I added a user called 'pi' manually and copied the folder /home/myuser/scripts to /home/pi/scripts. Then I did a chmod pi:pi /home/pi -Rand rebooted, now everything works.

rameshnavi commented 6 months ago

Faced same issue.

In case someone else needs a quick fix for the "unable to launch "/home/pi/scripts/start_gui" X session"-error: I had created a user 'myuser' in the pi imager. After the first boot I added a user called 'pi' manually and copied the folder /home/myuser/scripts to /home/pi/scripts. Then I did a chmod pi:pi /home/pi -Rand rebooted, now everything works.

This worked(kind of) for me. Had to do chown instead of chmod

guysoft commented 6 months ago

Related #525

Also started having a go at fixing this. Needs changes both in CustomPiOS and FullPageOS. I think I got the CustomPiOS side for now

w1s3on3 commented 6 months ago

i fixed mine just by creating a link, sudo ln -s /home/$(whoami) /home/pi

and from memory edit /etc/lightdm/lightdm.conf and change auto login from pi to your username