Cubietruck (Cubie Board 3) - Configurar Kiosk com rdesktop

Cubietruck (Cubie Board 3) - Configurar Kiosk com rdesktop

# sudo su

# apt-get install matchbox-window-manager xscreensaver rdesktop autofs5 usbmount pmount lxshortcut

# vi /etc/xdg/autostart/rdesktop.sh

#!/bin/bash

xset s off

xset -dpms

matchbox-window-manager &

xscreensaver -nosplash &

sudo /usr/bin/rdesktop -5 -z -a 16 -g 1024x768 -k pt-br -f -r disk:usb=/media/usb -d dominio wts.dominio.com.br

# chmod 755 /etc/xdg/autostart/rdesktop.sh

# vi /home/linaro/Desktop/rdesktop.desktop

[Desktop Entry]

Encoding=UTF-8

Name=WTS

Type=Application

Icon=xfce4-backdrop

Exec=/etc/xdg/autostart/rdesktop.sh

Comment=WTS

# vi /etc/lightdm/lightdm.conf

[SeatDefaults]

greeter-session=lightdm-gtk-greeter

user-session=Lubuntu

autologin-user=linaro

autologin-guest=false

autologin-user-timeout=delay

# vi /etc/usbmount/usbmount.conf

MOUNTPOINTS="/media/usb"

FS_MOUNTOPTIONS="uid=1000,gid=1000"

# vi /etc/default/keyboard

XKBMODEL="abnt2"

XKBLAYOUT="br"

XKBVARIANT=""

XKBOPTIONS="lv3:alt_switch,compose:rctrl"