Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guysoft opened this issue Jun 20, 2022 · 4 comments
Open

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

guysoft opened this issue Jun 20, 2022 · 4 comments

Comments

@guysoft
Copy link
Owner

guysoft commented Jun 20, 2022

Continuing report of @AlbertMN here:
#276 (comment)
It seems that the userless new setup breaks fullpageos if the username is changed.

Related:
guysoft/CustomPiOS#163

@jory3
Copy link

jory3 commented Dec 12, 2023

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
Copy link

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
Copy link
Owner Author

guysoft commented Feb 28, 2024

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
Copy link

w1s3on3 commented Mar 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants