WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Solved: How to Lock the Screen after given time in tinycore  (Read 3256 times)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
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
« Last Edit: July 01, 2014, 08:31:42 AM by malikawan »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: How to Lock the Screen after given time in tinycore
« Reply #1 on: June 26, 2014, 12:26:20 AM »
In X or in console?

In X there are several screen lockers, from xscreensaver to some lighter ones like xtrlock.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: How to Lock the Screen after given time in tinycore
« Reply #2 on: June 26, 2014, 02:14:28 AM »
Thanx for reply curaga

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: How to Lock the Screen after given time in tinycore
« Reply #3 on: June 27, 2014, 12: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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: How to Lock the Screen after given time in tinycore
« Reply #4 on: June 27, 2014, 01:18:19 AM »
How do they not auto-lock? You need to be more descriptive.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: How to Lock the Screen after given time in tinycore
« Reply #5 on: June 30, 2014, 09:59:00 AM »
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: How to Lock the Screen after given time in tinycore
« Reply #6 on: July 01, 2014, 12: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.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: How to Lock the Screen after given time in tinycore
« Reply #7 on: July 01, 2014, 02: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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to Lock the Screen after given time in tinycore
« Reply #8 on: July 01, 2014, 04:25:02 AM »
Add etc/passwd and etc/shadow to /opt/.filetool.lst and do a backup.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Solved : Re: How to Lock the Screen after given time in tinycore
« Reply #9 on: July 01, 2014, 08: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
« Last Edit: July 01, 2014, 08:31:16 AM by malikawan »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Solved: How to Lock the Screen after given time in tinycore
« Reply #10 on: July 01, 2014, 08:40:16 AM »
It should be 660 root:staff.