Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| pub:brick [2025/10/16 20:31] – created fa | pub:brick [2026/01/09 22:52] (current) – fa | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * Intel NUC DC3217IYE | * Intel NUC DC3217IYE | ||
| * [[https:// | * [[https:// | ||
| - | * 2 GB RAM - KVR1333D3S8N9/ | + | * <del>2 GB RAM - KVR1333D3S8N9/ |
| - | * 16 GB RAM - Corsair Vengeance 16GB (2x8GB) DDR3 1600 MHz (PC3 12800) Desktop Memory 1.5V | + | * < |
| - | * 30 GB Kingston | + | * 16 GB RAM - Corsair Vengeance 16GB (2x8GB) DDR3 1600 MHz (PC3 12800) Desktop Memory 1.5V (stolen from x230) |
| + | * 500 GB Orico mSATA SSD (50 EUR) | ||
| * running ArchLinux | * running ArchLinux | ||
| + | |||
| + | < | ||
| + | archinstall / LVM on LUKS | ||
| + | |||
| + | echo brick > / | ||
| + | |||
| + | ``` | ||
| + | # / | ||
| + | |||
| + | [Match] | ||
| + | Name=eno1 | ||
| + | |||
| + | [Network] | ||
| + | DHCP=no | ||
| + | Address=192.168.xx.xx/ | ||
| + | Gateway=192.168.xx.1 | ||
| + | DNS=9.9.9.9 | ||
| + | |||
| + | ``` | ||
| + | |||
| + | # Basic setup | ||
| + | |||
| + | ``` | ||
| + | pacman -S zsh htop powertop tmux git colordiff wget openssh neovim ripgrep tig jq | ||
| + | pacman -S podman podman-compose podman-docker | ||
| + | pacman -S gdm xfce4 keepassxc xorg-xrandr dmenu | ||
| + | |||
| + | ## pacman -S sway foot wlr-randr fuzzel | ||
| + | |||
| + | systemctl enable sshd | ||
| + | systemctl start sshd | ||
| + | ``` | ||
| + | |||
| + | |||
| + | The NUC seemed to be very happy to just suspend after some time of perceived (not real) idle time, this seems to have fixed it. | ||
| + | |||
| + | ``` | ||
| + | # / | ||
| + | |||
| + | [Sleep] | ||
| + | # Disable suspend | ||
| + | AllowSuspend=no | ||
| + | AllowHibernation=no | ||
| + | AllowSuspendThenHibernate=no | ||
| + | AllowHybridSleep=no | ||
| + | ``` | ||
| + | |||
| + | # RustDesk was laggy, `wayvnc -v 0.0.0.0` didn't seem to do anything (or crash gnome-session), | ||
| + | # so what I ended up doing was: | ||
| + | |||
| + | ``` | ||
| + | cd / | ||
| + | git clone https:// | ||
| + | cd xrdp | ||
| + | makepkg | ||
| + | sudo pacman -U xrdp... | ||
| + | |||
| + | cd .. | ||
| + | git clone https:// | ||
| + | cd xorgxrdp | ||
| + | makepkg | ||
| + | sudo pacman -U xorgxrdp... | ||
| + | ``` | ||
| + | |||
| + | now add an `.xinitrc` (What year is it?) | ||
| + | |||
| + | ``` | ||
| + | cp / | ||
| + | chmod +x $HOME/ | ||
| + | ``` | ||
| + | |||
| + | and replace the last lines with: | ||
| + | |||
| + | ``` | ||
| + | export XDG_SESSION_TYPE=x11 | ||
| + | export GDK_BACKEND=x11 | ||
| + | exec xfce4-session | ||
| + | ``` | ||
| + | |||
| + | finally | ||
| + | |||
| + | ``` | ||
| + | systemctl enable gdm.service | ||
| + | systemctl enable xrdp.service xrdp-sesman.service | ||
| + | systemctl start xrdp.service xrdp-sesman.service | ||
| + | ``` | ||
| + | |||
| + | Also make sure that `ls -al / | ||
| + | |||
| + | inspired by https:// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | I wanted to connect my speakers to the NUC so I had audio that is separated from the machine I am currently working on. | ||
| + | |||
| + | I chose pipewire and ordered a C-Media USB sound card for 7 EUR. | ||
| + | |||
| + | 0d8c:0012 C-Media Electronics, | ||
| + | |||
| + | pacman -S alsa-lib alsa-utils pipewire pipewire-pulse wiremix wireplumber | ||
| + | |||
| + | Overall it was a terrible experience because I did not know that xrdp would not work with local sound. | ||
| + | |||
| + | mpd | ||
| + | ncmpcpp | ||
| + | cantata | ||
| + | rmpc | ||
| + | ampd | ||
| + | </ | ||