Remove auto login LxPupSc-64 SOLVED

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Remove auto login LxPupSc-64 SOLVED

Post by proebler »

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

Last edited by proebler on Tue Mar 23, 2021 10:27 pm, edited 1 time in total.
User avatar
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

Post 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?

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

proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Re: Remove auto login LxPupSc-64

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

User avatar
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

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

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

User avatar
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

Post 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 812 times

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Re: Remove auto login LxPupSc-64

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

User avatar
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

Post 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!

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

User avatar
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

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

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

proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Re: Remove auto login LxPupSc-64 SOLVED

Post by proebler »

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

proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Re: Remove auto login LxPupSc-64

Post 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

User avatar
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

Post 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

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

proebler
Posts: 87
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 23 times

Re: Remove auto login LxPupSc-64 SOLVED

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

Post Reply

Return to “Users”