-
Notifications
You must be signed in to change notification settings - Fork 64
How to enable autologin in the client piserver #11
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
Comments
What is the exact use-case?
Not all applications can deal with the situation that multiple Pi are logged into the same user account and write temporary files to the same home directory simultaneously.
That is easier to achieve. |
|
The following should work in theory. In the Piserver GUI, go to "software" tab, select "Raspbian" and press "shell" button to get a chroot shell. Disable mounting of the home folder on the central server, by renaming the pam_mount configuration file to something else:
Add a local pi user:
Edit /etc/fstab
Modify:
To:
Save the file, and close leafpad
edit: you now need to start raspi-config with: SUDO_USER=pi raspi-config Enable automatic login there. ("boot options" -> "desktop/cli" -> "desktop autologin") Be aware that in this setup |
Hi, this works great, however I need to persist data between boots. Particularly a selection made in Chromium running in kiosk mode. Is it possible to map the home folder to somewhere? Maybe making use of #15 although I note that this is also read only, which would be fine if there was a way for an 'admin user' with write access to initially set this? |
Yes, but:
Put your files in the shared folder prepared on the piserver computer, and create a one-line
|
I've found that the autologin might not be working due to a timing issue. When the login screen appears if I type my username and password in really quickly (5seconds) then it fails everytime. If I wait 10seconds then hit enter, it works. Could this be why autologin isn't working? |
That is unrelated. As stated before, you do can enable autologin, but only if you do NOT need writable storage. |
Just installed buster server und tried to enable autologin the way steted above. |
That message should not affect your changes. |
How to enable automatic logon in the system on the raspberry pi.
The text was updated successfully, but these errors were encountered: