Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 12:49
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to make a Precise Puppy 5.4 kiosk
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Wed 03 Apr 2013, 14:57    Post_subject: specific lines in the scripts  

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.
Back to top
View user's profile Send_private_message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Wed 03 Apr 2013, 14:59    Post_subject: Disable Save on Shutdown  

Dean: I will post an update, if I have time.
Back to top
View user's profile Send_private_message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Thu 11 Apr 2013, 16:53    Post_subject: Disable Save on Shutdown in Precise Puppy 5.5  

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:
Quote:
#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:
Quote:
shutdownconfig #dlgs for creating save-file.


Edit file /usr/bin/wmreboot:
Comment out line 24.
The line that needs to be commented out is:
Quote:
shutdownconfig #dlgs for creating save-file.
Back to top
View user's profile Send_private_message 
anikin

Joined: 10 May 2012
Posts: 506

PostPosted: Sat 13 Apr 2013, 10:01    Post_subject: Re: Disable Save on Shutdown in Precise Puppy 5.5  

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.
Back to top
View user's profile Send_private_message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 15 Apr 2013, 12:11    Post_subject: Thanks where thanks is due. :-)  

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! Smile
Back to top
View user's profile Send_private_message 
megasewertoad

Joined: 05 Jun 2013
Posts: 6

PostPosted: Wed 05 Jun 2013, 18:15    Post_subject: Thanks shadower_sc!  

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.

Back to top
View user's profile Send_private_message 
cthisbear

Joined: 29 Jan 2006
Posts: 3431
Location: Sydney Australia

PostPosted: Thu 06 Jun 2013, 01:44    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
megasewertoad

Joined: 05 Jun 2013
Posts: 6

PostPosted: Thu 06 Jun 2013, 12:32    Post_subject:  

cthisbear wrote:

Yes. Please post this for testing.

Okay, here it is. can_bike_os_kiosk_edition-5.5.iso
md5sum = 300c9935223f66d5f26771bbdb7e0146




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 Wink
- No sessions saved
Back to top
View user's profile Send_private_message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Thu 13 Jun 2013, 19:42    Post_subject: RE: megasewertoad's posts  

I am glad that you were able to make good use of my guide. Very Happy

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. Smile
Back to top
View user's profile Send_private_message 
arseh2

Joined: 30 Aug 2013
Posts: 45

PostPosted: Sun 17 Nov 2013, 16:08    Post_subject:  

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)
Back to top
View user's profile Send_private_message 
ally


Joined: 19 May 2012
Posts: 851
Location: lincoln

PostPosted: Sun 17 Nov 2013, 17:00    Post_subject:  

mirrored here:

http://archive.org/details/can_bike_os_kiosk_edition-5.5.iso

Smile
Back to top
View user's profile Send_private_message Visit_website 
arseh2

Joined: 30 Aug 2013
Posts: 45

PostPosted: Sun 17 Nov 2013, 17:40    Post_subject:  

Thanks Ally Very Happy

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?
Back to top
View user's profile Send_private_message 
ally


Joined: 19 May 2012
Posts: 851
Location: lincoln

PostPosted: Sun 17 Nov 2013, 17:47    Post_subject:  

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


Smile
Back to top
View user's profile Send_private_message Visit_website 
DPUP5520

Joined: 16 Feb 2011
Posts: 801

PostPosted: Mon 18 Nov 2013, 02:18    Post_subject:  

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.

_________________
PupRescue 2.5
Puppy Crypt 528
Back to top
View user's profile Send_private_message 
arseh2

Joined: 30 Aug 2013
Posts: 45

PostPosted: Mon 18 Nov 2013, 15:52    Post_subject:  

Dpup, worked perfectly,

Thanks!
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 11 (0.0026s) ][ GZIP on ]