How to make a Precise Puppy 5.4 kiosk

How to do things, solutions, recipes, tutorials
Message
Author
shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

specific lines in the scripts

#16 Post by shadower_sc »

anikin: The text of the lines in the scripts may vary as well. I have included the text in some of my previous kiosk instructions, but apparently I didn't in this write-up. I will see what I can do, but I may not have time to work on it for a while. Thanks for the suggestion.

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

Disable Save on Shutdown

#17 Post by shadower_sc »

Dean: I will post an update, if I have time.

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

Disable Save on Shutdown in Precise Puppy 5.5

#18 Post by shadower_sc »

Disable Save on Shutdown in Precise Puppy 5.5

Comment out lines in the following files by placing a # symbol in front of each line to be commented out.

Edit file rc.shutdown:
Comment out lines 297 to 311.
These are the lines that need to be commented out:
#first time booted puppy, there may not have been any persistent storage...
if [ $PUPMODE -eq 5 ];then #ifpupmode5

#110919 code moved out to /usr/sbin/shutdownconfig.
#note, shutdownconfig normally called via /usr/bin/wmreboot or wmpoweroff when want shutdown from X.
unset PUPSAVE SAVEFS SAVEPART SAVEFILE NAMEONLY SAVEPATH MYPASSWORD SFEXT xPDEV xDEVFS
if [ ! -f /tmp/shutdownconfig_results ];then
shutdownconfig
fi
if [ -s /tmp/shutdownconfig_results ];then
. /tmp/shutdownconfig_results #supplies variables PUPMODE SAVEFS PUPSAVE SAVEPART SAVEFILE NAMEONLY SAVEPATH MYPASSWORD SFEXT
rm -f /tmp/shutdownconfig_results #precaution.
fi

fi #end ifpupmode5
Edit file /usr/bin/wmpoweroff:
Comment out line 24.
The line that needs to be commented out is:
shutdownconfig #dlgs for creating save-file.
Edit file /usr/bin/wmreboot:
Comment out line 24.
The line that needs to be commented out is:
shutdownconfig #dlgs for creating save-file.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

Re: Disable Save on Shutdown in Precise Puppy 5.5

#19 Post by anikin »

shadower_sc wrote:Disable Save on Shutdown in Precise Puppy 5.5
Performed a quick test in Upup Raring 3.8.4.2 - works perfectly well.

I'm moving away from the save file, as I see no purpose in using it. Your tutorial couldn't have come at a better time and is inspiring in many other ways, than its stated goal.

Many thanks to you, shadower_sc.

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

Thanks where thanks is due. :-)

#20 Post by shadower_sc »

It would have been next to impossible for me to have done this on my own. The real credit goes to the people who make Puppy Linux. Thanks to Barry, the developers, and the community. Thanks for the great Documentation in the code too! :-)

megasewertoad
Posts: 6
Joined: Wed 05 Jun 2013, 21:47

Thanks shadower_sc!

#21 Post by megasewertoad »

Thanks shadower_sc! Your guide was very helpful.

Made a live-CD web browser kiosk using precise 5.5. Though with some differences. Namely external USB drives remain accessible, but not internal hard drive.

I made this for kids and guests to allow them to surf the web, but protect the computers hard drives.

If any interest from the community, I'll make the ISO available for download.

ImageImage

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#22 Post by cthisbear »

megasewertoad :

Good day mate.

" If any interest from the community, I'll make the ISO available
for download."

Yes. Please post this for testing.

Regards....Chris.

megasewertoad
Posts: 6
Joined: Wed 05 Jun 2013, 21:47

#23 Post by megasewertoad »

cthisbear wrote: Yes. Please post this for testing.
Okay, here it is. can_bike_os_kiosk_edition-5.5.iso
md5sum = 300c9935223f66d5f26771bbdb7e0146

Image
Image

Key Points:
- Web Browser Kiosk for kids and guests
- Set default local to Canada/Eastern
- Simple design for kids
- Browser's full privacy enabled by default. Websites told not to track user. All history, data, cache, etc, are deleted when the browser is closed.
- Limit access to internal hard drives from desktop. pmount will not display or mount them.
- External USB storage access allowed for saving files (downloads,etc), media viewing (pictures, videos), and limited work. There's still a full Precise 5.5 under the hood ;)
- No sessions saved

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

RE: megasewertoad's posts

#24 Post by shadower_sc »

I am glad that you were able to make good use of my guide. :D

Allowing access to an external device of any sort creates security loopholes galore. Especially considering that Puppy Linux is designed to run as root. Most of your users probably would not be able to find their way out of a wet paper bag, but do not underestimate the power of Google and idle hands. :wink:

That being said, I would not worry about something like that for a home use application. Hope you get a lot of good use out of Puppy Linux. :)

arseh2
Posts: 45
Joined: Sat 31 Aug 2013, 03:30

#25 Post by arseh2 »

Hi Shadower,

What I just want is Puppy not save anything, even with or without confirmation, on exit.

I am using Slacko 5.6.

I followed your instructions:

Deleted lines 293 to 306 in rc.shutdown, deleted lines 23 in wmpoweroff and wmreboot.

However, this time when I click on restart, or shutdown, the "first shutdown: save session" confirmation dialog appears, and I click "do not save", it does nothing to shutdown or reboot, and puppy remains open.

I just have to keep the power button pressed to shutdown immediately.

But - what if I come across a computer that the power button does not work manually? I will have to keep the computer open. Even with the Puppy session I worked on.

So - is there any way to avoid this? I do not want to save on shutdown and confirmation. But I want to have the ability to shutdown or reboot with the usual menu of Puppy.

Am I doing something wrong? Or, the line numbers I deleted are different in the version I use? (Slacko 5.6)

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#26 Post by ally »


arseh2
Posts: 45
Joined: Sat 31 Aug 2013, 03:30

#27 Post by arseh2 »

Thanks Ally :D

But I just want the problem I mention to be solved (not saving at shutdown, without the problem I summarize in the above post).

I just want to edit a few lines, manually. As Shadowers initial post guides, but without the problem I see.

Any suggestions?

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#28 Post by ally »

sorry, way above my pay grade......


:)

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#29 Post by DPUP5520 »

arseh2 I'm just assuming it has something to do with the shutdownconfig file (which is also present in Precise) so i'm checking it out like I said I would but haven't figured it out yet as I just started looking at it.

Edit: Fixed it. In rc.shutdown Comment Out lines 298-306.
In wmpoweroff and wmreboot Comment Out lines 23-27.
This will power you off or reboot you in Slacko 5.6 without saving.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

arseh2
Posts: 45
Joined: Sat 31 Aug 2013, 03:30

#30 Post by arseh2 »

Dpup, worked perfectly,

Thanks!

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

Puppy Kiosk Update

#31 Post by shadower_sc »

I have tried booting the most recent versions of puppy linux in virtualbox and have been unsuccessful. I have tried 5.6 to 5.7, precise puppy, and slacko puppy. None of them boot using virtualbox. I use virtualbox to do all of my kiosk testing. I will probably not be updating my kiosk instructions until I figure out what's wrong or a new version comes out that works with virtualbox.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#32 Post by MochiMoppel »

Why do you need virtualbox?

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to make a Precise Puppy 5.4 kiosk

#33 Post by Sky Aisling »

shadower_sc

Hello, :)
Please excuse my ignorance in following this thread. :oops:

Where do you get the original kiosk download?
or
Is this thread about building your own kiosk mode?

I attempted to download Open Kiosk 2.13 from addons.mozilla.org. to apply to SeaMonkey 2.19 running with Precise Puppy 5.7.1.

However, I got this message:
The add-on downloaded from addons.mozilla.org could not be installed because it appears to be corrupt.
Will your kiosk mode work with Precise Puppy 5.7.1?

Your patience is appreciated.
Thank you

shadower_sc
Posts: 136
Joined: Wed 21 Apr 2010, 23:03
Location: Texas

RE: Subject description: Where is kiosk download?

#34 Post by shadower_sc »

Hi Sky Aisling, This thread is about creating your own Kiosk environment using Puppy Linux as a base. It involves locking down Puppy Linux and locking down Firefox. The end result should be an Operating System that even you can't change. :lol: Sincerely, Joe

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to make a Precise Puppy 5.4 kiosk

#35 Post by Sky Aisling »

Hello Joe,
Thank you for the clarification. :)
Sky

Post Reply