Sunday, November 17, 2024

Low latency remote deskktop for gaming: Sunshine + Moonlight

 Server: https://github.com/LizardByte/Sunshine/releases

Clients: https://moonlight-stream.org/

Hotkeys:

  • Ctrl+Alt+Shift+Q - Quit the streaming session (leaving the game running on the host PC)
  • Ctrl+Alt+Shift+Z - Toggle mouse and keyboard capture
  • Ctrl+Alt+Shift+L - Toggle locking the mouse pointer to the video area (requires "Optimize mouse for remote desktop instead of games" checkbox enabled)

Friday, October 25, 2024

Access Github using SSH

  1.  ssh-keygen -t ed25519 -C "first.last@company.com"
  2.  eval "$(ssh-agent -s)"
  3. pbcopy < ~/.ssh/id_ed25519.pub
  4. Github -> Profile -> Settings -> SSH and GPG Keys

References:

  • https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection


Sunday, July 16, 2023

How to install Windows 11 without TPM

 If you encounter this message below, it's likely you don't have a TPM module.

"This PC can't run Windows 11"


How to go around it:

Step 1: Press Shift - F10

Step 2: Type regedit

Step 3: Navigate to Computer -> HKEY_LOCAL_MACHINE -> System -> Setup

Step 4: Right click on Setup and click New -> Key. Name it "LabConfig".  (Note the capitalization)

Step 5: Create new DWORD32. Name it "BypassTPMCheck". Value "1".

Step 6: Create new DWORD32. Name it "BypassSecureBootCheck". Value "1".

Step 7: Close regedit and return to installer.

Saturday, July 15, 2023

How to install Ubiquiti Network Application on Ubunutu 22.04

Get latest instructions from this post. Below are the steps I did:

Step 1: Login as root

    sudo -i

Step 2: Update system

    apt-get update; apt-get install ca-certificates wget -y

Step 3: Get script

    wget https://get.glennr.nl/unifi/install/unifi-7.3.83.sh

Step 4: Execute script

    bash unifi-7.3.83.sh

Step 5: Open web browser

    https://192.168.XX.XX:8443/


Uninstall using following:
    apt-get purge unifi


References:

Sunday, January 8, 2023

OpenVPN Server on Ubuntu 22.04 LTS Desktop VMWare Virtual Machine

Hardware & Software

  • Host: Windows 11
  • Host: VMWare Workstation Pro 18
  • Guest: Ubuntu 22.04 LTS Desktop
  • OpenVPN

VMWare Guest Configuration



  • VMWare Network: Bridged
  • Install Ubuntu 22.04 LTS Desktop
  • In Ubuntu, set Static IP Address (e.g. 192.168.26.60/24)

OpenVPN Server Installation

  • Update System
    • sudo apt update
    • sudo apt upgrade
  • Get OpenVPN
    • wget https://git.io/vpn -O openvpn-ubuntu-install.sh
    • chmod -v +x openvpn-ubuntu-install.sh
  • Install OpenVPN
    • sudo ./openvpn-ubuntu-install.sh
    • Public IP address or hostname: <your DDNS hostname>
    • Protocol: UDP
    • Port: 1194
    • DNS: 1.1.1.1
    • Client Name: phone
  • Additional options in /etc/openvpn/server/server.conf
    • duplicate-cn
    • client-to-client
  • Manage OpenVPN
    • sudo systemctl stop openvpn-server@server.service
    • sudo systemctl start openvpn-server@server.service
    • sudo systemctl restart openvpn-server@server.service

Configure Router / Gateway


OpenVPN Client Installation

  • Transfer /root/phone.ovpn to your device
  • Import phone.ovpn in OpenVPN

References:

  • https://www.cyberciti.biz/faq/ubuntu-20-04-lts-set-up-openvpn-server-in-5-minutes/


Tuesday, November 16, 2021

Mac Virtual Desktops

Hotkeys:

  • ⌘ - ↑ : Show Mission Control
  • ⌘ - ← : Go one desktop to left 
  • ⌘ - → : Go one desktop to right
  • ⌘ - 1 : Go to desktop 1
  • ⌘ - 2 : Go to desktop 2
  • ⌘ - 3 : Go to desktop 3