LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux OS (https://www.linuxquestions.org/questions/linux-software-2/linux-os-4175504382/)

cheesewizz 05-08-2014 06:52 PM

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

jefro 05-08-2014 06:56 PM

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.

cheesewizz 05-08-2014 07:16 PM

Quote:

Originally Posted by jefro (Post 5167337)
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

cheesewizz 05-09-2014 12:48 AM

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: chrome:plugins [/QUOTE:]


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


thanks

cheesewizz 05-09-2014 03:58 AM

Hello

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


Thanks

jefro 05-09-2014 02:51 PM

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.

rokytnji 05-09-2014 03:52 PM

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



All times are GMT -5. The time now is 04:55 PM.