Home - marco1475/linux-htpc GitHub Wiki

This Wiki contains all information (instructions, command snippets, and files) necessary to set up a Linux HTPC.

  1. Prerequisites
  2. Installation
  3. Data Disks
  4. Configuration
  5. Monitoring
  6. Security
  7. Audio
  8. Video
  9. Multimedia
  10. Common Tasks

ToDo:

  • iptables doesn't seem to work

Ports:
HTTP: 80
HTTPS: 443
FTP: 6621
SSH: 6622
???: 14183
MPD Control: 65534
MPD Stream: 65535

Virtual Machines

  • Hyper-V is a level-1 hypervisor, which means that it is not an application running on the host OS, abstracting the HW, but it is lower-level - it abstracts (at least) the CPU for the host OS as well
  • Hyper-V makes it difficult to passthrough USB from the host OS to the guest OS - you need USB-to-IP crapware to make Yubikeys et al. work in the guest OS; VirtualBox and other level-2 hypervisor support USB passthrough natively
  • VirtualBox needs Guest Additions (which need to installed within the guest OS) in addition to the VirtualBox extensions - only after you have the Guest Additions installed will your guest OS resolution selection match your host OS
  • To passthrough USB in VirtualBox you need to setup a USB filter in the VM settings that can either passthrough specific devices (based on DeviceID) or USB ports (based on port number) [0] - be careful when passing through ports, if you passthrough the port where the mouse is connected, you will lose mouse input in the host OS
  • VirtualBox 5.2.20 seems to have audio issues where you can't play audio from within the guest OS without distortion if your host OS is Windows 10 Fall Creators Update
  • Spotify does not recognize a Spotify instance running on the host OS as another device when running Spotify in the guest OS - possibly because it thinks it's the same machine (based on IP?)?

[0] https://bgill.eu/2018/02/05/usb-mapping/