Voldemort
Jump to navigation
Jump to search
Pi-is-four is our new Raspberry Pi 4 that shall replace Xbcmcbuntu for browsing / downloading / ...
Information
- CPU is a armv8, but as raspbian is 32-bit, it is reported as a 32-bit armv7l [1]:
lscpu
# Architecture: armv7l
# Byte Order: Little Endian
# CPU(s): 4
- We need usual Debian ARM to get 64-bit apps running. But this may also not be as optimized as Raspbian.
Configuration
- Install Raspbian Buster 32-bit (2020-08-20-raspios-buster-armhf-full.zip) using imager_1.4_amd64.deb.
- Install NoMachine server (armv7 because 32-bit OS, also 64-bit is reported as not being optimized).
- Enable hardware acceleration in server settings.
- Add to /etc/NX/server/localhost/server.cfg [2]:
AvailableSessionTypes unix-remote,unix-console,unix-default,unix-application,shadow,unix-xsession-default,unix-gnome,unix-xdm,windows,physical-desktop
- Restart the server
/etc/NX/nxserver --restart
.
- Restart the server
- Use static IP by editing /etc/dhcpcd.conf [3]:
+interface wlan0
+static ip_address=192.168.1.96/24
+#static ip6_address=fd51:42f8:caae:d92e::ff/64
+static routers=192.168.1.1
+static domain_name_servers=192.168.1.1 8.8.8.8 fd51:42f8:caae:d92e::1
- Enable ssh server. The simplest is to [4]:
# Either touch a file and reboot the device
sudo touch /boot/ssh
sudo reboot
# Or enable through systemd
sudo systemctl enable ssh
sudo systemctl start ssh
- Add to ~/.config/autostart/set_belgian_kbd.desktop:
[Desktop Entry]
Type=Application
Name=Set Belgian autostart
Comment=Set keyboard to Belgian layout
NoDisplay=true
Exec=sh -c '/usr/bin/setxkbmap be'
- This should fix the wrong keyboard layout issue.
- Install Ratio Ghost, and add to autostart.
- Install Transmission, and add to autostart.
- Add custom launcher exe /usr/local/bin/transmission-gtk to set
http_proxy
to point to ratio ghost port. - Enable remote connection.
- Add custom launcher exe /usr/local/bin/transmission-gtk to set
Issues
- When booting headless, the session is not the same as the one we get when we boot with hdmi connected.