LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2014, 06:52 PM   #1
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Linux OS


Hi

i just want to ask if there is some Linux OS looks like an andoird application
what i mean is we have planning to establish public pc were end -users they can able to browse only

mostly we tried linux and installed the only problem is when end-users used they can able to manupulate the system even we hide and remove some program.



hope can someone understand


thanks
 
Old 05-08-2014, 06:56 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
The term we use for that is Kiosk. Many distro's offer a kiosk mode. Some distro's are only kiosk mode.

Almost all linux can be configured to be mostly secure from common users. Anyone with physical access could take over the system still.
 
1 members found this post helpful.
Old 05-08-2014, 07:16 PM   #3
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jefro View Post
The term we use for that is Kiosk. Many distro's offer a kiosk mode. Some distro's are only kiosk mode.

Almost all linux can be configured to be mostly secure from common users. Anyone with physical access could take over the system still.
Hi


Thanks for our reply
I've searched in the google yes u are right kiosk is the right term now i know

do you have any recommendation which is linux is best for kiosk, right now we have OLD Hardware of computer we installed XUBUNTU.



Thanks in advance
 
Old 05-09-2014, 12:48 AM   #4
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Hi


So happy today because i made it it worked...

here is my steps: with flash plugins how to:

[QUOTE:]

======================================

cat /usr/share/xsessions/kiosk.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Kiosk Mode
Comment=Chromium Kiosk Mode
Exec=/usr/share/xsessions/chromeKiosk.sh
Type=Application


=====================================

Create File: sudo nano /usr/share/xsessions/chromeKiosk.sh

[Add]
#!/bin/bash

#get current resolution from xrandr and save the screen size into the chrome Preferences. If not done chome starts in fullscreen with the size of the last window.
cat ~/.config/google-chrome/Default/Preferences | perl -pe "s/\"bottom.*/\"bottom\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f2),/" > ~/.config/google-chrome/Default/Preferences
cat ~/.config/google-chrome/Default/Preferences | perl -pe "s/\"right.*/\"right\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f1),/" > ~/.config/google-chrome/Default/Preferences

while true;
do chromium-browser %u --proxy-server=x.x.x.x:xxx http://www.yourwebsite --start-maximied; sleep 5s; done

#Turn off screensaver
xset s off

#turn off power management
xset -dpms

========================================

How to install Flash Player or plugins in CHROMIUM Browser
http://www.webupd8.org/2013/04/insta...layer-for.html


sudo add-apt-repository ppa:skunk/pepper-flash
sudo apt-get update
sudo apt-get install pepflashplugin-installer


sudo apt-get install gksu #it`s not installed by default in Ubuntu 13.04
gksu gksu gedit /etc/chromium-browser/default

==and in that file, paste the following line at the bottom of the file (after the CHROMIUM_FLAGS="" line):==
CODE:
. /usr/lib/pepflashplugin-installer/pepflashplayer.sh
((yes, there's a dot in the beginning of the line, then a space!))


Address Bar: chromelugins [/QUOTE:]


One question: is it possible to set wallpaper in the background?


thanks
 
Old 05-09-2014, 03:58 AM   #5
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Hello

is there any idea how to stop BLANK Screen after 10 minutes using KIOSK from UBUNTU.


Thanks
 
Old 05-09-2014, 02:51 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Great that you found a solution so quickly to the kiosk. Further thanks for posting how you did it.

There are a few reasons that the screen might go black. You'd have to check each one. One is default screen saver. Two might be acpi or apm power management settings. Three might be monitor settings. Since you set some of them, you may have to go back as diag the settings as well. Wonder if bios might do it.

In some cases, you have to boot with acpi or apm off. Not sure of your hardware but it could still be apm.

Might be other reasons too.

Someone else may know the other questions or help too.

Last edited by jefro; 05-09-2014 at 02:54 PM.
 
Old 05-09-2014, 03:52 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Look into

System Settings -> Brightness and Lock

Edit; maybe my bad. Not knowing what Window Manager or Desktop Environment Ubuntu Kiosk uses.

?

Code:
xset s off
is your file executable?
Code:
chmod a+x name of file below
Code:
#!/bin/bash

#get current resolution from xrandr and save the screen size into the chrome Preferences. If not done chome starts in fullscreen with the size of the last window.
cat ~/.config/google-chrome/Default/Preferences | perl -pe "s/\"bottom.*/\"bottom\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f2),/" > ~/.config/google-chrome/Default/Preferences
cat ~/.config/google-chrome/Default/Preferences | perl -pe "s/\"right.*/\"right\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f1),/" > ~/.config/google-chrome/Default/Preferences

while true;
do chromium-browser %u --proxy-server=x.x.x.x:xxx http://www.yourwebsite --start-maximied; sleep 5s; done

#Turn off screensaver
xset s off

#turn off power management
xset -dpms

Last edited by rokytnji; 05-09-2014 at 04:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration