태그 보관물: kiosk

kiosk

데비안 기반 시스템, 단 하나의 GUI 프로그램, 다른 것 없음 있고 다른 그래픽

부팅 할 때 하나의 GUI 프로그램 만 열 수 있고 다른 그래픽 인터페이스, 최소화 또는 해당 프로그램과 다른 X 만 열 수있는 데비안 시스템을 만들고 싶습니다. 가능한 경우 데비안에서 수행 할 수있는 방법이 있습니까? 맞춤 배포판? 방금 프로그램을 부팅하고 사용자가 해당 프로그램 만보고 사용할 수있게하려고합니다.



답변

우분투 (데비안 기반) 로이 작업을 수행했지만이 기술은 다른 배포판에도 적용된다고 생각합니다. 여기에 몇 가지 설명과 함께 단계를 요약하겠습니다 . 스크립트에 대해서는 ” 맨손으로 창 관리자를 사용하여 Linux 실행 “을 참조하십시오 .

  1. 에 파일을 작성하여 사용자 정의 세션을 추가하십시오 /usr/share/xsessions/metacity-session.desktop. 이 파일은 로그인 관리자에게 세션에 대해 알려줍니다.
  2. (1)에 추가 된 세션에서 실행할 파일을 작성하십시오. /usr/local/bin/metacity-session
  3. 사용자 별 구성 파일을 작성하십시오 ~/.metacity-session. 이 파일은 (2)에서 추가 된 파일에 의해 실행됩니다. 내용은 실행하려는 프로그램이어야하며 그 뒤에 앰퍼샌드가 있어야합니다.

    firefox &

  4. 선택적으로 사용자를 자동 로그인하고 사용자 정의 세션을 사용자의 기본 세션으로 설정하십시오.

여기서는 Metacity를 단순성을 위해 창 관리자로 사용합니다. 원하는 경우 Compiz를 사용할 수 있습니다.

시스템을 잠그는 도구가 있습니다. 검색하면 sabayonpessulus 와 같은 도구가 생성됩니다 . 나는 추천을하기 위해 그것들을 사용하지 않았습니다.

키오스크 모드에 특화된 배포판도 있지만 가장 유망한 것은 Fedora 키오스크 모드 인 것 같습니다 . 비록 데비안 기반이 아닙니다.


답변

나는 이것이 조금 오래되었다는 것을 알고 있지만 PC와 Raspberry PI에서 작동하는 간단한 방법을 작성했습니다.

    Creating a Debian Chromium Kiosk (PC or Raspberry PI)

  - download and install debian
    - PC x64 or i386 : download "standard" iso from debian.org
    - raspberry pi 2/3 : download "raspbian lite" from raspberryip.org
      - use Win32DiskImager to write img to SD card

  - after install use apt to install packages
apt install --no-install-recommends xorg openbox lightdm chromium pulseaudio
    - on raspberry pi chromium package is chromium-browser
    - installing packages is slow on raspberry, get a FAST SD card (class 10 or better)

  - configure lightdm for autologin
    - edit /etc/lightdm/lightdm.conf goto [SeatDefaults] section, uncomment "autologin-user"
[SeatDefaults]
autologin-user={USER}
    - {USER} is defined during debian installer for PC
    - {USER} is 'pi' for raspberry pi

  - configure openbox to start chromium automatically
    - edit /etc/xdg/openbox/autostart or create ~/.config/openbox/autostart and add these lines:
xset -dpms
xset s off
chromium --kiosk http://google.com
    - change google.com to whatever you need
    - the xset commands disable screen savers
    - on raspberry pi chromium is chromium-browser

  - to auto connect to Wifi
    - edit /etc/network/interfaces and write:
auto wlan0
iface wlan0 inet dhcp
  wpa-ssid {ssid}
  wpa-psk  {password}
    - replace {ssid} and {password} with your respective WiFi SSID and password


답변