Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: malikawan on June 26, 2014, 01:26:02 AM

Title: Solved: How to Lock the Screen after given time in tinycore
Post by: malikawan on June 26, 2014, 01:26:02 AM
i am using tinycore 4.7.7. I want
When my tiny boot first it ask for password for logon then after giving correct password it logon and after 10 sec or 30 sec it lock the system itself.
Any suggestion and idea.

Malik Awan
Title: Re: How to Lock the Screen after given time in tinycore
Post by: curaga on June 26, 2014, 03:26:20 AM
In X or in console?

In X there are several screen lockers, from xscreensaver to some lighter ones like xtrlock.
Title: Re: How to Lock the Screen after given time in tinycore
Post by: malikawan on June 26, 2014, 05:14:28 AM
Thanx for reply curaga
Title: Re: How to Lock the Screen after given time in tinycore
Post by: malikawan on June 27, 2014, 03:48:13 AM
curaga basically i need logon and logout system but these extension do not fill my requirement i need only one thing that my pc auto lock when pc idle or not use for 1 mint or 5 minute and when pc boot it ask for password for logon
Title: Re: How to Lock the Screen after given time in tinycore
Post by: curaga on June 27, 2014, 04:18:19 AM
How do they not auto-lock? You need to be more descriptive.
Title: Re: How to Lock the Screen after given time in tinycore
Post by: malikawan on June 30, 2014, 12:59:00 PM
curaga thanx for reply basically i want to secure my pc when i am not avaialble my pc is locked and some time if i manully not lock my pc then it lock itself after given time in these screen like xscreensaver only give screen wallpaper and when i press keyboard key then it donot ask for password. and xtrlock is best it lock pc when i start it on startup but it donot lock pc itself it need to manually lock pc sorry for weak english but i think you understand what i need

Malik Awan
Title: Re: How to Lock the Screen after given time in tinycore
Post by: curaga on July 01, 2014, 03:50:51 AM
There is a problem in the xscreensaver extension that the main binary is not setuid root. Other than that, it works fine when configured to lock the screen (and a password has been set, obviously).

Please PM the extension creator about the permission issue.
Title: Re: How to Lock the Screen after given time in tinycore
Post by: malikawan on July 01, 2014, 05:45:45 AM
But when i copy passwd and shadow file to save my old password then after reboot it doesnot work fine. yes it work fine if i install and that time i give password after then i lock it its work fine but after restat its not working
and plz tell me how i start the xscreensaver daemon because with command xscreensaver it open setting pannel

plz help me in brief

thanx in advance curaga
Title: Re: How to Lock the Screen after given time in tinycore
Post by: gerald_clark on July 01, 2014, 07:25:02 AM
Add etc/passwd and etc/shadow to /opt/.filetool.lst and do a backup.
Title: Solved : Re: How to Lock the Screen after given time in tinycore
Post by: malikawan on July 01, 2014, 11:29:39 AM
i m using boot code norestore so i copy these files manually to save my password and its work fine the problem is solved to give read permission to tc user of file shadow now its work fine with out any error
Title: Re: Solved: How to Lock the Screen after given time in tinycore
Post by: gerald_clark on July 01, 2014, 11:40:16 AM
It should be 660 root:staff.