I would like to remove the auto login/add a PW login In LxPupSc-64.
How can I do it?
thanks proebler
Remove auto login LxPupSc-64 SOLVED
Moderator: Forum moderators
Remove auto login LxPupSc-64 SOLVED
- bigpup
- Moderator
- Posts: 6985
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 906 times
- Been thanked: 1522 times
Re: Remove auto login LxPupSc-64
Why?
Puppy Linux is a one user operating system.
That user is you root user.
You are not going to be logging on as a different user.
So, what are you trying to do?
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected
Re: Remove auto login LxPupSc-64
.. Because the system is on a lap top which will travel.
It used to be the case that one could edit inittab, but the auto login is not here anymore.
Also, I have found that an encrypted savefile is not possible with LxPupSc-64.
I like to use this OS because I remastered it so that it works very well on the Acer C720.
- peebee
- Posts: 1636
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 714 times
- Contact:
Re: Remove auto login LxPupSc-64
How is your disk formatted?
An encrypted savefile should be offered if it is a Linux filesystem...
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
- peebee
- Posts: 1636
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 714 times
- Contact:
Re: Remove auto login LxPupSc-64
Just checked - works fine - but suggest you update to interim release LxPupSc64-21.01+1-T.iso
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
Re: Remove auto login LxPupSc-64
The version I used for the remaster is 20.01.
I use roxfiler and the JWM desk environment.
There is also an oddity when switching to the PCManFM in that all the files which are in ~/.config/autostart must be individually accepted for running - (there is a window popping up) at the time the desktop comes up after booting. Only after accepting, do the related applications like firewallstatus, freememapplet ect. get loaded and appear in the tray.
I could not find a way to change that behavior. I does not happen when using roxfiler.
I wonder if the two issues, of not being offered the encrypted savefile and the above are somehow related.
I work with a frugal install on an ext3 partition.
I am not so keen to update to the interim release suggested because I would probably have to remaster again for my needs on the Acer C720. Except for being unable to make it ask for a login PW, it works fine.
- peebee
- Posts: 1636
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 714 times
- Contact:
Re: Remove auto login LxPupSc-64
Then why on earth are you using LxPupSc64?????????????????????????????
You should be using ScPup64 - i.e. without LXDE!
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
- bigpup
- Moderator
- Posts: 6985
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 906 times
- Been thanked: 1522 times
Re: Remove auto login LxPupSc-64
See if this will work, it does for me in a different newer Puppy.
First make sure you have the boot menu option to boot not using the save. (pfix=ram)
If it does not work.
You can boot not using the save and delete from the save the bad file.
For some reason to get it working had to first change the root password.
in a terminal.
Code: Select all
passwd
change password and remember it.
Edit this file:
/bin/autologin
on line 7
Remove the -f after login
Line 7 now looks like this:
Code: Select all
exec login $LOGINUSER
It now boots to a point that you must enter the password for root.
If this does not work.
Boot not using the save.
Open the save and navigate to /bin/
Delete the autologin file.
Now the save will boot using the original autologin.
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected
Re: Remove auto login LxPupSc-64 SOLVED
Thanks a lot bigpup !
I changed passwd and edited /bin/autologin as you suggested.
It works as desired.
Re: Remove auto login LxPupSc-64
@ peebee
LXDE is a side issue.
I prefer JWM and ROX.
But he lap top I am setting up is for a friend who is not used to ROX.
LXPupSc64 offers PCManFM.
The oddity at boot only happens when the file manager is changed from ROX to PCManFM with the Default Applications Chooser !
It does not happen when, as a ‘workaround’, I set the “Home” desktop icon to use /usr/share/applications/pcmanfm.desktop rather than the default-filemanager. (the latter being ROX).
Of course each file manager can be chosen at any time through the main menu > File system >.
proebler
- peebee
- Posts: 1636
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 714 times
- Contact:
Re: Remove auto login LxPupSc-64
proebler wrote: ↑Tue Mar 23, 2021 10:24 pm@ peebee
LXDE is a side issue.
I prefer JWM and ROX.
But he lap top I am setting up is for a friend who is not used to ROX.
LXPupSc64 offers PCManFM.The oddity at boot only happens when the file manager is changed from ROX to PCManFM with the Default Applications Chooser !
It does not happen when, as a ‘workaround’, I set the “Home” desktop icon to use /usr/share/applications/pcmanfm.desktop rather than the default-filemanager. (the latter being ROX).
Of course each file manager can be chosen at any time through the main menu > File system >.
proebler
Hi @proebler
You seem to be using LXPupSc64 in a way that was not foreseen and certainly not tested.
I would hope that you provide the laptop to your friend with LXDE as the default as intended.
The ability to "drop back" to JWM was only really provided as a debug tool and because it was there.
The startup problems are probably due to startup items that need to be disabled in /root/.config/autostart or /etc/xdg/autostart
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
Re: Remove auto login LxPupSc-64 SOLVED
Yes, I am doing the testing.
A bit late, I know, but I can learn things.
Something that is worth mentioning to you as a/the developer, is the surprise discovery that a root password set as abcdef4 (not the real one)
can be entered as abcdef04 or abcdef during boot up and gets accepted. That is with the auto login removed as per earlier in this thread.
How can that be !!????
Another 'bug' due to the LXDE/JWM & PCManFM/ROX hybrid is, that pasyscale does not work when one drags a picture file from PCManFM into peasyscale. In that case the path becomes such that peasyscale or viewnior cannot handle it. No problem when the file is dragged from ROX.