Monday, December 15, 2025

lsblk: list model name of hard drive

lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL

gentoo: VirtualBox can't operate in VMX root mode

sudo modprobe -r kvm_amd
sudo modprobe -r kvm_intel

Arch: Install matlab

mpm install --release=R2024b --destination=/mnt/b/opt/matlab MATLAB Parallel_Computing_Toolbox
https://wiki.archlinux.org/title/MATLAB

X forwarding from a distrobox on a remote host

X11 connection rejected because of wrong authentication.

Assuming ssh is set to allow X11Forwarding, on a remote host .Xauthority will be created. But if you enter a distrobox on the remote host, the file can't be found. So in distrobox, export `XAUTHORITY` to point to the host's .Xauthority
distrobox-enter archbox
export XAUTHORITY=/run/host/home/username-on-host/.Xauthority
xeyes
It also works same when waypipe is used.

tigervnc: Service deactivets immedietly after start

cd /etc/X11/Sessions
mv Xsession Xsession.backup
ln -s fluxbox Xsession

from: https://forums.gentoo.org/viewtopic-t-1150142.html

tigervnc: logs location

are in `~/.local/state/tigervnc`

Tuesday, December 09, 2025

waypipe: "Error: Can't open display:" when using waypipe in Fedora distrobox

In ssh inside distrobox enable ForwardX11:
sudo vim /etc/ssh/ssh_config

Enable ForwardX11
ForwardX11 yes

Sunday, December 07, 2025