Page 1 of 1

Remove auto login LxPupSc-64 SOLVED

Posted: Tue Mar 23, 2021 4:14 am
by proebler

I would like to remove the auto login/add a PW login In LxPupSc-64.
How can I do it?
thanks proebler


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 4:36 am
by bigpup

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?


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 5:35 am
by proebler
bigpup wrote: Tue Mar 23, 2021 4:36 am

Why?

.. 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.


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 7:06 am
by peebee
proebler wrote: Tue Mar 23, 2021 5:35 am

Also, I have found that an encrypted savefile is not possible with LxPupSc-64.

How is your disk formatted?
An encrypted savefile should be offered if it is a Linux filesystem...


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 7:21 am
by peebee

Just checked - works fine - but suggest you update to interim release LxPupSc64-21.01+1-T.iso

https://sourceforge.net/projects/lxpup/ ... /interims/
.

Screenshot.png
Screenshot.png (84.73 KiB) Viewed 740 times

Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 8:30 am
by proebler

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.


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 1:33 pm
by peebee
proebler wrote: Tue Mar 23, 2021 8:30 am

The version I used for the remaster is 20.01.
I use roxfiler and the JWM desk environment.

Then why on earth are you using LxPupSc64?????????????????????????????

You should be using ScPup64 - i.e. without LXDE!


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 2:16 pm
by bigpup
proebler wrote: Tue Mar 23, 2021 4:14 am

I would like to remove the auto login/add a PW login In LxPupSc-64.
How can I do it?

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.


Re: Remove auto login LxPupSc-64 SOLVED

Posted: Tue Mar 23, 2021 10:20 pm
by proebler

Thanks a lot bigpup !
I changed passwd and edited /bin/autologin as you suggested.
It works as desired.
:thumbup:


Re: Remove auto login LxPupSc-64

Posted: Tue Mar 23, 2021 10:24 pm
by proebler

@ 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


Re: Remove auto login LxPupSc-64

Posted: Wed Mar 24, 2021 9:06 am
by peebee
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


Re: Remove auto login LxPupSc-64 SOLVED

Posted: Wed Mar 24, 2021 10:54 am
by proebler
peebee wrote: Wed Mar 24, 2021 9:06 am

You seem to be using LXPupSc64 in a way that was not foreseen and certainly not tested.

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 !!???? :o

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.