7fca23b524
x11vnc dokmentiert
4.7 KiB
4.7 KiB
thinclient
Repo fuer Raspi Image bzw. andere Thinclients
Debian als ThinClient für x86
Partitionslayout
Part | Size | Type | Optional |
---|---|---|---|
1 | 1GB | EFS | Wenn EFI Boot |
2 | 1GB | boot | |
3 | 8GB | root |
- einen Beutzer mit Namen thinnote anlegen. Kann auch ggf. ein andere Benutzer sein. Dann muss aber xinitrc und rc.local angepasst werden.
Pakete Liste Debian 10
apt install acl adduser adwaita-icon-theme alsa-utils apt apt-listchanges apt-transport-https apt-utils aptitude aptitude-common at-spi2-core avahi-daemon base-files base-passwd bash bash-completion bind9-host binutils bluez bluez-firmware bridge-utils bsd-mailx bsdmainutils bsdutils build-essential busybox bzip2 ca-certificates cabextract chromium chromium-l10n console-setup console-setup-linux coreutils cpio crda cron curl dash dbus dc dconf-gsettings-backend dconf-service debconf debconf-i18n debconf-utils debianutils debsums device-tree-compiler dhcpcd5 diffutils dirmngr distro-info-data dmidecode dosfstools dpkg dpkg-dev e2fsprogs ed fbset file findutils firmware-atheros firmware-brcm80211 firmware-realtek fonts-dejavu-core gconf2-common gdb gdbserver gettext-base gnome-icon-theme gnupg gnupg-agent gnupg-l10n gpgv grep groff-base gsettings-desktop-schemas gtk-update-icon-cache gzip hardlink hicolor-icon-theme hostname ifupdown info init init-system-helpers initramfs-tools initramfs-tools-core initscripts insserv install-info iproute2 iptables iputils-ping isc-dhcp-client isc-dhcp-common iso-codes iw joe kbd keyboard-configuration keyutils kmod less linux-base locales login logrotate lsb-base lsb-release lsof lua5.1 luajit make makedev man-db manpages manpages-dev matchbox matchbox-common matchbox-desktop matchbox-keyboard matchbox-keyboard-im matchbox-panel matchbox-panel-manager matchbox-window-manager mawk mc mc-data mime-support mount multiarch-support nano ncdu ncurses-base ncurses-bin ncurses-term net-tools netbase netcat-openbsd netcat-traditional nfs-common ntp openresolv openssh-client openssh-server openssh-sftp-server openssl parted passwd patch perl perl-base perl-modules perl-openssl-defaults pinentry-curses plymouth procps psmisc publicsuffix python python-minimal python2.7 python2.7-minimal python3 python3-minimal python3.5 python3.5-minimal rename rfkill rpcbind samba-common sed sensible-utils sgml-base shared-mime-info sqlite3 startpar strace sudo systemd systemd-sysv sysv-rc sysvinit-utils tar tasksel tasksel-data tcpd traceroute tree triggerhappy ttf-mscorefonts-installer tzdata ucf udev unzip usb-modeswitch usb-modeswitch-data usbutils util-linux v4l-utils vim-common vim-tiny wget whiptail wireless-regdb wireless-tools wpasupplicant x11-common x11-utils x11-xkb-utils x11-xserver-utils xauth xdg-user-dirs xdg-utils xfonts-base xfonts-encodings xfonts-utils xinit xkb-data xml-core xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-fbdev xwit xxd xz-utils busybox-syslogd xserver-xorg-video-intel xserver-xorg-input-synaptics xserver-xorg-video-vesa grub-splashimages
apt install $(apt-cache search ^firmware | grep -v microbit | cut -f 1 -d " ")
rc.local unter Debian
cp etc/systemd/system/rc-local.service /etc/systemd/system/rc-local.service
cp etc/rc.local /etc/rc.local
sudo chmod +x /etc/rc.local
sudo systemctl enable rc-local
sudo update-grub
sudo usermod -aG tty thinnote
sudo usermod -aG video thinnote
sudo rm /etc/chromium/master_preferences
sudo apt install laptop-mode-tools #Tools für Akkumanagment am Laptop https://wiki.ubuntuusers.de/laptop-mode-tools/
VNC fuer die Fernwartung
sudo apt install x11vnc
sudo x11vnc -storepasswd /etc/x11vnc.pass #Password fuer x11vnc setzen
sudo cat << EOF > /etc/systemd/system/x11vnc.service
[Unit]
Description=Start X11VNC
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable x11vnc.service
FAQ
Wenn der X11/Xorg Server nicht startet, mal in hosts/hostname ob der korrekt Name server angegeben ist.
ToDo
- boot Scripte / config xinitrc fuer Raspi
- Script fuer hostname / hosts - fuer eindeutigen Rechnernamen
- kleine Ankeitung fuer ReadOnly unter Raspi
- Installation von lighttpd + fastcgi / php fuer lokale Loginseite
- Settings fuer Chrome
- VNC Server mit passendem Passwort installieren
- ansibel Scripte fuer Rollout
- Netzwerkboot fuer Raspis inkl. Anleitung
- Druckerunterstützung inklusive DokumentenBox
- LDAP Authentifizierug (?) <- mach das Sinn? Müsste ggf. Serverseitig gelöst werden
Links
- chrome://chrome-urls/