From b22b438f2fdbbe29fcb1f612124f8849fdabb32a Mon Sep 17 00:00:00 2001 From: Steffen Probst Date: Tue, 10 Aug 2021 14:41:31 +0200 Subject: [PATCH] Xorg zum laufen gebracht. WLAN vor konfiguriert. --- README.md | 8 +++++++- etc/X11/Xwrapper.config | 16 ++++++++++++++++ etc/default/grub | 4 ++-- etc/network/interfaces.d/wlan0 | 4 ++++ etc/rc.local | 2 +- 5 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 etc/X11/Xwrapper.config create mode 100644 etc/network/interfaces.d/wlan0 diff --git a/README.md b/README.md index 61ff88d..324aa72 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Part|Size|Type|Optional ### Pakete Liste Debian 10 ```bash -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 +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 ``` ```bash @@ -26,8 +26,14 @@ 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 ``` +##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 diff --git a/etc/X11/Xwrapper.config b/etc/X11/Xwrapper.config new file mode 100644 index 0000000..26e0494 --- /dev/null +++ b/etc/X11/Xwrapper.config @@ -0,0 +1,16 @@ +# Xwrapper.config (Debian X Window System server wrapper configuration file) +# +# This file was generated by the post-installation script of the +# xserver-xorg-legacy package using values from the debconf database. +# +# See the Xwrapper.config(5) manual page for more information. +# +# This file is automatically updated on upgrades of the xserver-xorg-legacy +# package *only* if it has not been modified since the last upgrade of that +# package. +# +# If you have edited this file but would like it to be automatically updated +# again, run the following command as root: +# dpkg-reconfigure xserver-xorg-legacy +allowed_users=anybody +needs_root_rights=yes diff --git a/etc/default/grub b/etc/default/grub index 1180a58..739f9d2 100644 --- a/etc/default/grub +++ b/etc/default/grub @@ -4,9 +4,9 @@ i# If you change this file, run 'update-grub' afterwards to update # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 -GRUB_TIMEOUT=5 +GRUB_TIMEOUT=1 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` -GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 quiet" +GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 quiet splash acpi_osi=" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs diff --git a/etc/network/interfaces.d/wlan0 b/etc/network/interfaces.d/wlan0 new file mode 100644 index 0000000..0a67c89 --- /dev/null +++ b/etc/network/interfaces.d/wlan0 @@ -0,0 +1,4 @@ +allow-hotplug wlan0 +iface wlan0 inet dhcp + wpa-ssid ESSID + wpa-psk PASSWORD diff --git a/etc/rc.local b/etc/rc.local index dd9d848..fe1acd2 100755 --- a/etc/rc.local +++ b/etc/rc.local @@ -35,7 +35,7 @@ echo thin$(cat /sys/class/net/wlan0/address | sed '/://g') > /tmp/hostname && ho # start X environment if [ -f /boot/client-cfg/xinitrc ]; then ln -fs /boot/client-cfg/xinitrc /home/thinnote/.xinitrc; - su -l thinnote -s /bin/bash -c 'startx' & + su -l thinnote -s /bin/bash -c 'startx -- vt1' & fi exit 0