FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

Chanigng the user in rpi-imager from breaks system

Open guysoft opened this issue 2 years ago • 4 comments

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

guysoft avatar Jun 20 '22 07:06 guysoft

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.

jory3 avatar Dec 12 '23 22:12 jory3

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

rameshnavi avatar Feb 27 '24 15:02 rameshnavi

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

guysoft avatar Feb 28 '24 19:02 guysoft

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

w1s3on3 avatar Mar 06 '24 02:03 w1s3on3