Kind of complicated, but works. Proxmox uses NoVNC to connect to the primary user (in my case, pi=1000). I can start another Xsession at :1 but the desktop sharing doesn’t work well. pcmanfm-qt loads new windows in the :0 session instead of :1, and things aren’t well separated. Easier to just create a new user…
Add a new repository source
InfluxDB as an example (taken from here): 1. Obtain and verify the new key : wget -q https://repos.influxdata.com/influxdata-archive_compat.key gpg –with-fingerprint –show-keys ./influxdata-archive_compat.key 2. Install the new key: cat influxdata-archive_compat.key | gpg –dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null 3. Update your APT sources to use the new key: echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' |…
network interfaces
purge a bad config: sudo ifdown –force -vvv wlp3s0 sudo ip address flush dev wlp3s0 sudo ip link set wlp3s0 down sudo ifup -vvv wlp3s0 sudo nmcli connection down 'RNDIS 4G' sudo nmcli connection modify 'RNDIS 4G' ipv4.route-metric 600 sudo nmcli connection up 'RNDIS 4G'
LXQT Autologin
Taken from Debian User Forums # Determine your display manager # Determine your session(s) # Make a /etc/sddm.conf.d/autologin.conf file and add info: (only for SDDM display manager) # Add to the file:
Openstick commands and procedures
Plug in stick, log in. http://192.168.100.1/usbdebug.html Reboot (unplug, replug) adb shell setprop service.adb.root 1; busybox killall adbdadb reboot edledl rf uz801-stock.bin Then download individual partitions. edl rl uz801_stock –genxml Reboot (unplug, replug) adb reboot bootloader cd OpenStick/flash/./flash.sh sudo mount -o loop ~/firmwares/uz801_stock/modem.bin /mnt/test to mount the modem.bin file then copy all the files over to…
OpenVPN in LXC
OpenVPN will fail to start in an unprivileged LXC with the following error as shown in journalctl -xeu openvpn@server: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) The Proxmox wiki has a nice guide to solving this problem.
Journal file size
journal size grows huge in a default debian installation, but can be limited by editing /etc/systemd/journald.conf and adding a limit on the line SystemMaxUse=. Something like 100M.
EFI Shell commands
Sometimes the GRUB bootloader gets messed up, and you get dumped into the EFI Shell. A few key commands to get things working again… map gets a list of all the discovered partitions FS0: gets you to the file structure of the FS0 partition bcfg boot dump -b lists all the EFI boot entries bcfg…
VNC access to Debian LXQT
Debian LXQT desktop environment (DE) doesn’t come with a pre-installed VNC server. I usually want to log into an existing Xsession, and X11VNC is the easiest VNC server I’ve found to do that. Others like TigerVNC or TightVNC were harder to configure to connect to existing X sessions. So I did sudo apt install x11vnc…