Search found 390 matches

by peter_b
Fri Feb 07, 2025 9:52 pm
Forum: Knowledge Base
Topic: Pandoc HTML to PDF: createProcess: posix_spawnp: does not exist
Replies: 0
Views: 113

Pandoc HTML to PDF: createProcess: posix_spawnp: does not exist

[PROBLEM] Trying to `pandoc test.html -o test.pdf`: :shock: :( [WARNING] Could not fetch resource : replacing image with description [WARNING] Could not convert image /tmp/tex2pdf.-b88a2ed6c68716a2/f83e1f09c250858dedf0cb5e1214b94760791e49.svg: check that rsvg-convert is in path. rsvg-convert: creat...
by peter_b
Fri Dec 20, 2024 5:39 pm
Forum: HowTo's
Topic: XFCE4 notes: Migrate to new system
Replies: 1
Views: 5340

XFCE4 Thunar: Migrate bookmarks and custom actions

Thunar's bookmarks (shortcuts) are stored in: ~/.config/gtk-3.0/bookmarks Custom actions are stored in: ~/.config/Thunar/uca.xml Make sure to *close* all thunar instances, then copy (overwrite) those files from a backup - and then restart Thunar. (If you have Thunar windows open while copying those ...
by peter_b
Fri Dec 20, 2024 12:38 am
Forum: HowTo's
Topic: Xubuntu: Purge unneeded locales frees time and space
Replies: 0
Views: 651

Xubuntu: Purge unneeded locales frees time and space

In `/var/lib/locales/supported.d` there are textfiles for each language code. By default (on ubuntu) there's a file called "en". And it contains "English" locales: en_HK.UTF-8 UTF-8 en_DK.UTF-8 UTF-8 en_IN UTF-8 en_IL UTF-8 en_ZM UTF-8 en_ZW.UTF-8 UTF-8 en_NZ.UTF-8 UTF-8 en_PH.UT...
by peter_b
Wed Nov 27, 2024 11:38 am
Forum: Knowledge Base
Topic: Samba: No such file or directory (BAD_NETWORK_NAME)
Replies: 0
Views: 2135

Samba: No such file or directory (BAD_NETWORK_NAME)

Tried to mount a samba share, and got this error: mount error(2): No such file or directory dmesg said: kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\sharename [SOLUTION] It was actually so, that the wrong /etc/samba/smb.conf was loaded - so "sharename" was not present. Make sure that &...
by peter_b
Wed Nov 20, 2024 4:51 pm
Forum: HowTo's
Topic: yt-dlp: select resolution and file format
Replies: 1
Views: 3250

Re: yt-dlp: add metadata!

yt-dlp supports extended file attributes (EAs) - aka "xattrs" on Linux/MacOS: --xattrs Write metadata to the video file's xattrs (using dublin core and xdg standards) This stores descriptive metadata *with* the downloaded object/file. For example, the following video "Vessel" (by...
by peter_b
Fri Nov 15, 2024 10:04 pm
Forum: Knowledge Base
Topic: Xubuntu 20.04 & snap: "127.0.0.1:443: connect: connection refused"
Replies: 0
Views: 2128

Xubuntu 20.04 & snap: "127.0.0.1:443: connect: connection refused"

[PROBLEM] sudo snap install btop [sudo] password for user: error: cannot install "btop": Post "https://api.snapcraft.io/v2/snaps/refresh": dial tcp 127.0.0.1:443: connect: connection refused [SOLUTION] I had the following lines in my "/etc/hosts": # Hack to disable aut...
by peter_b
Tue Aug 27, 2024 12:02 pm
Forum: Knowledge Base
Topic: Linux: /sbin/init not found - won't boot
Replies: 0
Views: 3179

Linux: /sbin/init not found - won't boot

For some reason (*) my /lib was suddenly empty. Very nasty. Long story short, here's how I fixed it: * boot a live distro (of similar OS version/flavor) * In my case: Xubuntu 20.04.6 (live) over 20.04.5 (=compatible, but slight library/version deviation) * Mount the broken OS system disk. * rsync -a...
by peter_b
Sat Aug 24, 2024 2:21 pm
Forum: HowTo's
Topic: yt-dlp: select resolution and file format
Replies: 1
Views: 3250

yt-dlp: select resolution and file format

The following parameter selects a maximum resolution of 720 pixels (height), avc1 (=h.264) as video codec and mp4 as container format:

Code: Select all

$ yt-dlp -f "bv*[height<=720][ext=mp4][vcodec^=avc1]+ba*[ext=m4a]" URL
by peter_b
Tue Jun 18, 2024 5:23 pm
Forum: Knowledge Base
Topic: Samba & mpv: NT_STATUS_WRONG_CREDENTIAL_HANDLE
Replies: 0
Views: 4530

Samba & mpv: NT_STATUS_WRONG_CREDENTIAL_HANDLE

Here's an error that MPV throws when trying to open a file from a network (Samba on Linux) share: Using netbios name HOSTNAME1 Using workgroup DVA-PROFESSION. gensec_spnego_client_negTokenTarg_step: SPNEGO(ntlmssp) login failed: NT_STATUS_WRONG_CREDENTIAL_HANDLE [smb] Could not open from LAN: smb://...
by peter_b
Tue Jun 18, 2024 5:18 pm
Forum: Knowledge Base
Topic: Samba: Anonymous/guest access fails (or timeout)
Replies: 0
Views: 3724

Samba: Anonymous/guest access fails (or timeout)

[PROBLEM] I have a known-to-be-working smb.conf which shares a local folder with write-access for certain logins, and read-only access for guests/anonymous. Authenticated login (using a smbpasswd-mapped account) works. The config is known to be stable and working on many hosts (in my setups), but o...
by peter_b
Fri Jun 07, 2024 1:38 pm
Forum: Knowledge Base
Topic: Samba: mount error(13): Permission denied
Replies: 4
Views: 13688

Samba: mount error(22): Invalid argument

On Debian 10, I had "noatime" as argument in the fstab.
Removing it fixed the problem.

However, on Debian 12, "noatime" in the arguments in fstab for mounting cifs/smb share worked.
by peter_b
Wed May 22, 2024 9:08 pm
Forum: Knowledge Base
Topic: PVE/Proxmox: Stuck in a boot-reset loop after adding kernel parameter
Replies: 0
Views: 5200

PVE/Proxmox: Stuck in a boot-reset loop after adding kernel parameter

[PROBLEM] After adding new kernel parameters for full IOMMU separation of hardware devices (See Proxmox PVE: passthrough of non-GPU + split IOMMUs ). Seems like loading the kernel module (?) for `pcie_acs_override` support, triggers to load the mokmanager.efi boot image: proxmox_pve-mokmanager_boot...
by peter_b
Wed May 08, 2024 11:59 am
Forum: HowTo's
Topic: Proxmox PVE: passthrough of non-GPU + split IOMMUs
Replies: 0
Views: 5046

Proxmox PVE: passthrough of non-GPU + split IOMMUs

I'm passing through a Blackmagic Decklink SDI video capture card to a virtual machine on Proxmox PVE. The mainboard is an MSI Mortar B450M Max. Using any of the available 2 PCIe slots always put my Decklink card into a shared IOMMU group - that also contained many other onboard devices, such as netw...
by peter_b
Thu Apr 04, 2024 6:23 pm
Forum: Knowledge Base
Topic: Linux+Firefox+Github+Yubikey = "passkey registration failed"
Replies: 0
Views: 6189

Linux+Firefox+Github+Yubikey = "passkey registration failed"

PROBLEM =============== I was basically forced to buy a yubico key (2 actually: 1 backup) although I didn't want to: The model is a 30 EUR Yubico "Security Key C NFC" . Now Github 2 factor authentication was pissing me off for quite a while now, because I very often DO NOT have my phone w...
by peter_b
Fri Mar 15, 2024 3:13 pm
Forum: Knowledge Base
Topic: No route to host: missing cifs-utils package
Replies: 0
Views: 6005

No route to host: missing cifs-utils package

[PROBLEM] Trying to mount an smb/cifs share using a proper, working /etc/fstab entry: mount: /mnt/inbox/bd1-inbox: mount(2) system call failed: No route to host. The same config works perfectly on another machine - and the IP route to host (including name-resolution) works perfectly. [SOLUTION] $ a...