This is an old revision of the document!
brick.home.art-core.org
- brick is a
- Intel NUC DC3217IYE
- i3-3217U (Q4 2012)
- 2 GB RAM - KVR1333D3S8N9/2G 2GB 1Rx8 256M x 64-Bit PC3-10600 CL9 240-Pin DIMM
- 16 GB RAM - Corsair Vengeance 16GB (2x8GB) DDR3 1600 MHz (PC3 12800) Desktop Memory 1.5V
- 30 GB Kingston mSATA SSD
- running ArchLinux
# Basic setup pacman -S zsh htop powertop tmux git colordiff wget openssh neovim pacman -S sway foot wlr-randr fuzzel pacman -S i3 keepassxc xorg-xrandr dmenu 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. ``` /etc/systemd/sleep.conf.d/sleep.conf [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 /opt/src/aur git clone https://aur.archlinux.org/xrdp.git cd xrdp makepkg sudo pacman -U xrdp.... cd .. git clone https://aur.archlinux.org/xorgxrdp.git cd xorgxrdp makepkg sudo pacman -U xorgxrdp.... ``` now add an `.xinitrc` (What year is it?) ``` cp /etc/X11/xinit/xinitrc $HOME/.xinitrc chmod +x $HOME/.xinitrc ``` and replace the last lines with: ``` export XDG_SESSION_TYPE=x11 export GDK_BACKEND=x11 exec i3 ``` finally ``` systemctl enable xrdp.service xrdp-sesman.service systemctl start xrdp.service xrdp-sesman.service ``` Also make sure that `ls -al /etc/systemd/system/display-manager.service` is a symlink to `gdm.service` - didn't seem to work with sddm. @TODO inspired by https://www.dokuwiki.tachtler.net/doku.php?id=tachtler:xrdp_archlinux