MacOS – Jeffrey Pine Hein https://jphein.com Just plain helpful. Wed, 04 Nov 2026 15:38:51 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://jphein.com/wp-content/uploads/2020/08/jphein-logo-cropped-100x100.png MacOS – Jeffrey Pine Hein https://jphein.com 32 32 109828812 Least Expensive, Quality, 720p@60fps or 1080p@30fps “Webcam” You Can Buy Right Now at $40 https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/ https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/#respond Thu, 13 Aug 2020 23:17:45 +0000 https://blog.jphein.com/?p=9153 GoPro Hero 3 White + HDMI to Micro HDMI (D) Cable + HDMI to USB 2.0 Capture Card

Right now there is a serious shortage of inexpensive quality Webcams. So, we have to get a bit creative. This setup works great in Linux for OBS, Duo, and Google Meets. It also works for Windows and MacOS. You can always buy a HDMI, OR USB extension cable if you need a longer cable. This setup can also do 1080p at 30fps. I would have loved to have the capture card use USB 3.0, but couldn’t find one for this low price. You can stream from the GoPro Wirelessly, but it adds too much latency for live streaming.

  • $25 – Used GoPro Hero 3 White
    https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=11800&pub=5575164288&campid=5337848787&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2FUsed-GoPro-HERO-3-White-1080P-5MP-HD-Sport-Action-Digital-Camera-Camcorder-WiFi%2F333445833543%3Fhash%3Ditem4da2eba347%253Ag%253AFdMAAOSwp2Vd%257EYg9%26LH_BIN%3D1%26autorefresh%3Dtrue
  • $5 – HDMI to Micro HDMI (D) Cable
    https://amzn.to/33IPZzN
  • $10 – HDMI to USB 2.0 Capture Card
    https://amzn.to/33KJDA2
GoPro Hero 3 camera, front view

Pros:
Great quality
Wide angle lens
Price

Cons:
There is a very slight delay. Maybe 20-40ms?
There are two cables coming from your Webcam (USB power & HDMI.)

Capture Card Info and Reviews

USB ID: 534d:2109
Chip: MacroSilicon MS2109 ASIC
https://www.cnx-software.com/2020/06/05/11-hdmi-to-usb-2-0-video-capture-dongle-supports-up-to-1080p30-grabbing/
OBS Settings:
https://bigl.es/friday-fun-10-hdmi-to-usb-capture/

]]>
https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/feed/ 0 9153
How to Secure Windows Remote Desktop (RDP) with Wireguard VPN https://jphein.com/how-to-secure-windows-remote-desktop-rdp-with-wireguard-vpn/ https://jphein.com/how-to-secure-windows-remote-desktop-rdp-with-wireguard-vpn/#respond Thu, 25 Jun 2020 22:24:39 +0000 https://blog.jphein.com/?p=8895 There have been more and more RDP brute force hacks and subsequent ransomeware attacks. However, since the pandemic it’s important to have remote access to your windows infrastructure.

Luckily securing RDP with WireGuard is pretty easy. Plus there is a WireGuard app for most platforms. Windows, MacOS, Linux, iOS, Android, etc.. https://www.wireguard.com/install/

From: https://www.henrychang.ca/how-to-setup-wireguard-vpn-server-on-windows/

Setup firewall rules (just as you would for a Linux server setup: open and forward ports 51820, configure ddns etc)

You can use the handy graphical tool for setting up the VPN with Wireguard for Windows. Simply download, and install the Windows version, and run Wireguard.

From: https://golb.hplar.ch/2019/07/wireguard-windows.html

One feature I like is that the Windows version of WireGuard remembers the VPN connection state. When you reboot Windows while WireGuard is connected to the server, the software automatically reconnects and re-establishes the VPN tunnel when it starts up. This prevents you from accidentally connecting without a VPN.

My server conf

[Interface]
PrivateKey = 
ListenPort = 51820
Address = 10.5.4.1/32

[Peer]
PublicKey = 
AllowedIPs = 10.5.4.25/32

[Peer]
PublicKey = 
AllowedIPs = 10.5.4.20/32

To add another user just add another [Peer] section.

Then install your client App.

My client conf:

[Interface]
Address = 10.5.4.25
PrivateKey =    
#DNS = 10.5.5.1 #Server caching dnsmasq that forwards to azure
#DNS = 168.63.129.16 #Azure
DNS = 1.1.1.1 #Cloudflare

[Peer]
PublicKey = 
Endpoint = <serverip>:51820 
#Endpoint = 127.0.0.1:59401
#AllowedIPs = 0.0.0.0/0
AllowedIPs = 10.5.4.1/32

# This is for if you're behind a NAT and
# want the connection to be kept alive.
PersistentKeepalive = 25

To generate a keypair for your client I use:

wg genkey | tee privatekey | wg pubkey > publickey

To turn your conf file into a qr code use:

qrencode -t ansiutf8 < wg0.conf

Point your remote desktop software to 10.5.4.1 instead of the server’s public IP.

Don’t forget to close the RDP port if it’s still open to the internet.

]]>
https://jphein.com/how-to-secure-windows-remote-desktop-rdp-with-wireguard-vpn/feed/ 0 8895
How to Root the LG G5 T-Mobile H830 H83030C 8.0.0 Oreo Complete Guide https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/ https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/#respond Sat, 11 Apr 2020 17:46:21 +0000 https://blog.jphein.com/?p=6306 WARNING: This will completely wipe all your data multiple times. =]

You will need a USB-C to USB-A cable, and a computer. Most of it can be done on Linux, or MacOS, but the initial downgrade of the OS can only done on Windows. Unless you can run LGUP and Uppercut in WINE or a Virtual Machine.

Plus all these files:

  1. ADB
    https://dl.google.com/android/repository/platform-tools-latest-windows.zip
  2. LG drivers
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGMobileDriver_WHQL_Ver_4.1.1.exe
  3. LGUP
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGUP/LGUP_Store_Frame_Ver_1_14_3.msi
  4. Uppercut
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGUP/UPPERCUT_1.0.0.0.zip
  5. Downgrade rom
    http://downloads.codefi.re/autoprime/LG/LG_G5/H830/H83020a/H83020a_00_1107.kdz
  6. TWRP recovery
    https://dl.twrp.me/h830/
  7. Easy Recowvery (Download entire folder)
    https://github.com/yantis/EasyRecowvery
  8. Noverity disable forced encryption
    https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.1.zip
  9. Latest ROM
    http://downloads.codefi.re/autoprime/LG/LG_G5/H830/H83030c/LG-H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip
  10. Magisk
    https://github.com/topjohnwu/Magisk/releases

Unlock Bootloader (This will delete all your data!)

  1. Enable Developer mode and USB debugging
  2. Enable OEM unlock in the Developer options under device Settings, if present.
  3. Connect the device to your PC via USB.
  4. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
    1. adb reboot bootloader You can also boot into fastboot mode via a key combination: With the device powered off, hold Volume Up + Power.
  5. Once the device is in fastboot mode, verify your PC finds it by typing:
    1. fastboot devices TIP: If you see no permissions fastboot while on Linux or macOS, try running fastboot as root.
  6. Now type the following command to unlock the bootloader:
    1. fastboot oem unlock
    2. fastboot reboot
  7. Go through set up wizard

Downgrade to H83020A.
I used a Windows 10 machine to perform the following:

  1. Install LG drivers.
  2. Install LGUP
  3. Install Uppercut
  4. Flash .KDZ

Install TWRP custom recovery. I ran this is an Ubuntu terminal after making sure I had adb installed. You can use WSL (Windows Subsystem for Linux), or Windows cmd.

  1. Go through phone wizards and reenable developer and debugging on phone.
  2. Install adb: `sudo apt install adb`
  3. Download TWRP
    1. wget url
  4. Push to phone:
    1. adb push ~/Downloads/twrp-blahblah /sdcard/recovery.img
  5. Download and unzip “recowvery”. Open a terminal and change into the recowvery directory.
  6. Run the below commands:
#LINUX
TARGET=/data/local/tmp
adb shell rm -rf $TARGET/recowvery
adb shell mkdir $TARGET/recowvery
adb push dirtycow $TARGET/recowvery/
adb push recowvery.sh $TARGET/recowvery/
adb push recowvery-app_process64 $TARGET/recowvery/
adb push recowvery-applypatch $TARGET/recowvery/
adb push recowvery-run-as $TARGET/recowvery/
adb shell sh $TARGET/recowvery/recowvery.sh

Or

rem WINDOWS
set TARGET=/data/local/tmp
adb shell rm -rf %TARGET%/recowvery
adb shell mkdir %TARGET%/recowvery
adb push dirtycow %TARGET%/recowvery/
adb push recowvery.sh %TARGET%/recowvery/
adb push recowvery-app_process64 %TARGET%/recowvery/
adb push recowvery-applypatch %TARGET%/recowvery/
adb push recowvery-run-as %TARGET%/recowvery/
adb shell sh %TARGET%/recowvery/recowvery.sh

Wait for it to reboot. Disconnect and reconnect the USB cable.

adb shell sh $TARGET/recowvery/recowvery.sh --stage1 --nohash
adb shell sh $TARGET/recowvery/recowvery.sh --stage2 --nohash
adb reboot recovery

Wait for recovery

Install Decryption

adb push no-verity-opt-encrypt-6.1.zip /cache/recovery/
adb shell twrp install /cache/recovery/no-verity-opt-encrypt-6.1.zip
adb shell twrp wipe cache 

Install H83030C

  1. Download and install H83030C zip
    1. wget url
    2. adb push LG-H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip /sdcard
    3. adb shell twrp install /sdcard/H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip
  2. Install and wipe cache

Install Magisk (Root)

  1. Sideload Magisk
    1. download: wget url
    2. enable sideload under advanced in TWRP
    3. adb sideload Magisk-v20.1.zip
    1. reboot –> system

Done!


How to restore back to stock 8.0.0 Oreo H83030C

  1. Flash .KDZ
]]>
https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/feed/ 0 6306
Linux Terminal Service Project (LTSP) Supports MANY Desktops https://jphein.com/linux-terminal-service-project-ltsp-supports-many-desktops/ https://jphein.com/linux-terminal-service-project-ltsp-supports-many-desktops/#respond Mon, 12 Nov 2018 08:33:23 +0000 https://blog.jphein.com/?p=5244 Ubuntu and LTSP can provide a platform for providing desktops environments in many different ways.

LTSP already comes with these client scripts:

  • kiosk – Firefox running locally on thin client.
  • ldm – Linux desktop running remotely on local server.
  • menu – Interactive Menu
  • shell – Drop to root bash shell running locally on thin client.
  • ssh – Secure Shell for remote terminal on local or remote server.
  • telnet – unsecure ssh 😉 running remotely on local or remote server.
  • xdmcp – Raw Xorg linux desktop running remotely on server.
  • xfreerdp – RDP for Windows desktop running remotely on local or cloud server.
  • xterm – xterm terminal running locally on thin client.

This has been furthered by my BoXen Linux project to include:

  • freerdp-nightly – Nightly builds of xfreerdp to take advantage of Microphone redirection and the latest graphics codecs.
  • rdpgui – Gui for displaying a welcome website, and to prompt for credentials when using xfreerdp-nightly.
  • vdi – KVM-VDI LTSP client, see https://github.com/Seitanas/kvm-vdi/
  • vnc – VNCviewer for remote desktop on local or remote Android or MacOS computers.
  • spice – virt-viewer for KVM Virtualization software. Can provide remote access to local or remote desktops of ANY kind you can virtualize.
  • X2go – remote Linux desktop on remote server

LTSP seems to be a very good way of serving desktops.

]]>
https://jphein.com/linux-terminal-service-project-ltsp-supports-many-desktops/feed/ 0 5244
How to root the inWatch Z smart watch (Gain root level access), and install Google Play! https://jphein.com/howto-root-the-inwatchz-smart-watch-gain-root-level-access/ https://jphein.com/howto-root-the-inwatchz-smart-watch-gain-root-level-access/#respond Fri, 03 Jun 2016 05:50:33 +0000 https://blog.jphein.com/?p=3886 InWatch Z Smartwatch
aka inWatch Z2G

This guide is written for the original inWatch Z that came with Andriod 4.2.2, and has the bone conductivity speaker. Not the later version (Z3G) that shipped with Android 4.4. These instructions may work with the later one, but I have not tested it.
Chipset: MediaTek (MTK) MT6572 Why does it identify as a MT6227 via USB?
Specs: RAM: 1GB, ROM: 8GB, CPU: Dual Core,1.2GHz,Cortex-A7
WIFI: 802.11b/g/n wireless internet
GSM Cellular Frequencies: 2G 850/900/1800/1900MHz
GPS: Yes
Bluetooth: Yes
OS: Android 4.2.2
Price: $291.81 http://www.gearbest.com/cell-phones/pp_70817.html
Info: http://inwatchusa.com/
XDA thread: www.xda-developers.com?
Review: http://martian-imperium.blogspot.com/2014/07/one-week-with-inwatch-z.html

This smart watch is a pretty powerful little machine. If it was rooted and had Google play on it, I could use for all sorts of stuff. Unfortunately, it did not come with those features. The goal of this post to root this device, install a custom recovery, and install Google Play.

NOTE: There is an issue with the stock lock screen. After following this guide, you may have a your watch rebooting everytime you try to unlock it. To solve this issue, read this thread:
http://forum.xda-developers.com/smartwatch/other-smartwatches/inwatch-z-day-one-to-factory-t2984378

Required equipment:

  1. inWatch Z smart watch, and snap on charger.
  2. Ubuntu laptop (Works with MacOS or Windows as well. I used Ubuntu Linux 16.04 xenial.)
  3. A Windows virtual machine, or an actual Windows machine.
  4. Micro USB cable.
  5. A WIFI internet connection.
  6. ADB tools for your OS (In Ubuntu type “apt-get install android-tools”

Guide:

  1. Download all files needed here: https://goo.gl/H8zIcm to your Ubuntu laptop.

To root:

Navigate to kingoapp.com on your inWatchZ.
screenshot

Download the app for Android, and run the kingoapp. (As many times as it takes)
Worked! Holysmokes! I had to run it twice. o_o

Once it is successful continue on to the next step.


2.This step requires a Windows machine. I used a Windows 10 virtual machine under KVM. Virtualbox, VMWare and a Windows box all work.

To install custom recovery, so we can install Google Play. Follow the below guide.
https://devs-lab.com/clockworkmod-for-all-mediatek-device.html

to verify if you’ve successfully installed the recovery issue:

adb reboot recovery

You should see the CWM recovery screen. Press the power button to reboot.

Once you’ve verified that you can boot into recovery then continue.


3. Install Flashify APK to install Google Apps!

NOTE:
http://forum.xda-developers.com/showthread.php?p=54028344&highlight=welcome#post54028344
Let me save somebody some time! REMOVE OneTimeInitializer.apk and SetupWizard.apk! Otherwise, you’ll get this annoying “Welcome” and be soft bricked there, since the “OK” button was hard coded to dimensions greater than the screen size. Ugh.

  1. Connect to Wifi
  2. Install flahify apk from the download link above.
  3. Navigate to the Superuser app and give flashify acccess to root without asking (asking is incompatible with the small screen)
  4. Install Google Apps 4.2.2 <choose google apps 4.2.2> from within the flashify app. Have it download the recovery and write it to your watch.

It worked!


4. I’ve got Google Play installed. However the welcome choose language screen is not compatible with such a small screen. so…… (in a terminal issues the below commands)

adb shell
ps |grep com.google.android.setupwizard                                              
u0_a102   886   132   312336 30676 ffffffff 40087a90 S com.google.android.setupwizard
kill 886

Make sure you replace the 886 with whatever the PID on your watch is.

It worked!


5.  Now I can install any other app I need. =]

For example:

  • Teamviewer Host So I can remote in to the inWatchz with my laptop or phone and input passwords and any other thing that is awkward on the inwatchz keyboard. I also use it to manage applications and processes.
  • Google Voice and Hangouts for making free wifi calls and texts.
  • Fleksy, and Google keyboard for a keyboard that easier to use than the stock one. Keemple
  • IP Webcam for Android to use the watch as a small wireless video camera.
  • Portable Wifi Hotspot So I can share the Z’s cell connection with my laptop.
  • Set Orientation for allowing  rotation of the screen.
  • Tiny cam monitor for monitoring your webcams.
  • Pandora for listening to tunes.
  • Google Maps and GPS essentials.
  • Cyril Preiss’ SWApp Link
  • OpenMic+
  • CPUspy
  • Titanium Backup
  • Awesome On Off Smart Screen (Grandmaster Tools)
  • Mobdro
  • Gravity box
  • fqrouter2 (to make the inWatch Z a wifi repeater/extender) Link to come

Here is a MTK Tools backup of my inWatchZ rooted, with CWM custom recovery, and Google play installed.
Patched 4.2.2 for inWatch Z

Also, you can install the stock firnware for Kitkat 4.4 from inWatch.cc for inWatch Z


I’m now looking at the CWM recovery on my inWatchZ. The only problem is there is no volume control so, I cannot navigate within the recovery. =[

Now I’m in search of a touch recovery for the MT6572.

Tried with flashify the following recoveries for the MT6572:

http://tutfix.blogspot.com/2015/05/new-touch-recovery-cwm-clockworkmod-for.html

no worky

http://www.mediafire.com/download/iwlq1lavp3938l3/CTRv2.4.7z

No worky

http://www.mtkroms.com/2015/03/philz-touch-recovery-for-all-mtk-devices.html

http://www.mediafire.com/download/87ag7139go6macd/XoLo_A500S_PhilZ_recovery.img

No worky

I’ll try this one next:

https://devs-lab.com/twrp-recovery-for-all-mediatek-phones.html

Next step: Try spflash below:

To flash the new touch recovery:

https://androidmtk.com/smart-phone-flash-tool

Someone else is also looking for this:
http://nox4developper.blogspot.se/2014/12/request-for-touch-recovery-help-inwatch.html

Here is a guide on how to install the custom recovery with MTK tools. If I find it, and flashify and spflash do not work.
http://forum.xda-developers.com/showpost.php?p=38337401&postcount=5


A list of compatible custom roms for the MT6572

https://devs-lab.com/list-of-all-custom-custom-roms-for-mediatek-mtk6572-ext4-ubifs.html


If you need to modify an app windows size, because it’s not compatiple with the screen use:

  1. Compatibility mode in settings.
  2. Smaller font size.
  3. Finally if those fail:
    http://repo.xposed.info/module/de.robv.android.xposed.installer 
    With Module: App Settings Module, to adjust the dpi of Sim Card Apk to around 95. Tinker with it until everything is visible.

If everything has gone horribly wrong. Use this guide to restore your inWatch Z:
https://devs-lab.com/how-to-unbrick-mediatek-device.html


Custom clock faces


Install .zip’s without root:

Make sure you have a folder called “inwatchupdate” on the Z
Make sure the is an update.zip in the inwatchupdate folder
Go to “Settings”
Go to “About Phone”
Go to “Local Update”
Select “Install”
Follow the onscreen instructions
Device will reboot, leave it alone
The update will finish
Device will reboot again
Done


Factory reset

Do NOT do this:

adb shell wipe data; adb reboot;

You will unable to get past the welcome screen. AND adb will be disabled. Only thing you can do is spflash it back to your last mtk-tools backup or stock rom.


WARNING!!!:

When used SPFlash do not “Format all and download”

I did this, and now I have a totally useless bracelet.

]]>
https://jphein.com/howto-root-the-inwatchz-smart-watch-gain-root-level-access/feed/ 0 3886
Wireless thin client using Ubuntu 18.04.1 named BoXenbaby https://jphein.com/boxenbaby/ https://jphein.com/boxenbaby/#respond Sun, 15 May 2016 06:18:13 +0000 https://blog.jphein.com/?p=3627 UPDATE: BoXenbaby is simply Ubuntu 18.04.1 Desktop minimal install with OpenVPN,  FreeRDP-nightly, and other modern clients.

This document describes how to:

Automatic Install
Part 1 – PXE
Install BoXenbaby to a computer plugged into a BoXenbrain network.

Manual Install
Part 2 – USB
Install BoXenbaby with a USB drive.
Download the usb image here:

Check out BoXenLinux here: https://github.com/jphein/boxen

Goal: Make a tiny (< 50MB) thinclient OS that can be loaded by iPXE over LAN, WIFI, or WAN using HTTP and HTTPS. I should load completely into RAM. It should be able to support these client applications/protocols: RDP, VNC, SSH, SPICE, X2Go. It should also have a web browser kiosk mode (Google Chrome).

My project is to have a wireless PC using a 1MB iSCSI image on usb flash, booting into  Ubuntu 16.04 desktop, Windows 10 pro desktop, and MacOSX 10.11 desktop KVM virtual machines using the KVM-VDI project with virtual snapshots enabled.

Custom iPXE image made with rom-o-matic,
https://www.rom-o-matic.eu/
pointing to my fork of the boot.rackspace.com iPXE LiveCD project.
https://github.com/rackerlabs/boot.rackspace.com
New project is netboot.xyz
Good list of alternatives: http://www.rmprepusb.com/tutorials/ipxe

I want to use Thinstation as the running in RAM OS that iPXE boots. Not sure if x2go is supported in thinstation yet. Then by using the thinstation.conf create a remote-viewer Session wrapped by KVM-VDI script.

Here is someone who was able to iPXE boot thinstation:?
http://thinstation.4464.n7.nabble.com/OT-ipxe-chainloading-td24153.html
Here is a way to netboot a liveCD from iPXE:

iPXE Network booting for ISO images


Good iPXE guide: http://www.denverslair.co.uk/tech/iPXE.php

Procedure for running windows 10 or 2012r2 over lan with iPXE and iSCSI:
https://www.computeraudiophile.com/forums/topic/26705-diskless-windows-10-pc-setup-procedure/

Wireless iPxe: https://www.coreboot.org/IPXE

Not so hard, right?

It already supports integration with LTSP for wired zeroclients over PXE and thinclients over iPXE. LTSP, also offers thinclient and fatclient modes for shared Remote desktop if you don’t have the resources to offer a Virtual machine pool. Thinstation can also be a thinclient for shared or virtual machine resources.

I currently use Ubuntu LTSP with xfreerdp and I custom login script. That only supports wired zero clients. Wireless or WAN clients boot from a CD, USB, Hard drive or SD card.

Thinstation is needed for Wifi or WAN links, with iPXE downloading the image from the internet or local cache. Otherwise plain PXE works great!

X2Go is used if I want to offer shared Ubuntu desktops over WAN. FreeRDP for shared or virtual Windows desktop over WAN. RemoteAPPs for seamless desktop. VNC for shared MacOS over WAN. (or slow Wifi) SSH for admin. Spice for VDI with KVM. Chrome for web browsing and remoteapps.

Here is an amazing guide for thinstation and RDP over PXE :
https://hinchley.net/articles/use-thinstation-to-build-a-network-bootable-rdp-enabled-thin-client-image/

I am sooo close. I’ll I need is to able install and run remote-viewer, and x2goclient on thinstation, and have it remastered.

Here are the Thinstation Issue tickets for adding x2go and spice:
https://github.com/Thinstation/thinstation/issues/106
https://github.com/Thinstation/thinstation/issues/141

Here are some guides on how to do this with alternatives:

http://hinchley.net/2016/01/17/use-thinstation-to-build-a-network-bootable-rdp-enabled-thin-client-image/

https://github.com/Thinstation/thinstation/wiki/Getting-Started-with-Thinstation

[Outdated] http://tsomatic.agarwal-associates.com/index.php <– seems to be outdated.

Or

[DEFUNCT] LPS https://en.wikipedia.org/wiki/Lightweight_Portable_Security

Or,

[jbox color=green]make my own with lubuntu:

https://wiki.ubuntuusers.de/LiveCD_manuell_remastern/

http://pinguyos.com/2015/09/pinguy-builder-an-app-to-backupremix-buntu/

[/jbox]Couldn’t get Tinycore to work

TinyCore Linux

  1. Make custom version of TinyCore Linux with extensions embedded. http://forum.tinycorelinux.net/index.php?topic=17423.0
    1. You can make Pure64 version with FreeRDP
    2. An i386 version can be made with TigerVNC
  2. Host custom image on public or private server
  3. Make custom iPXE image here: https://rom-o-matic.eu/
    This should call the hosted iPXE script below.
  4. Copy and host iPXE script from: http://boot.rackspace.com
]]>
https://jphein.com/boxenbaby/feed/ 0 3627
KVM-VDI Session Screen Script for LTSP thin clients running under Ubuntu 16.04 xenial https://jphein.com/kvm-vdi-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu-16-04-xenial/ https://jphein.com/kvm-vdi-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu-16-04-xenial/#respond Fri, 13 May 2016 18:11:37 +0000 https://blog.jphein.com/?p=3598 Sweet new open source project: https://github.com/Seitanas/kvm-vdi

It is required to run the installation readme above to use KVM-VDI.

KVM-VDI does not come with a built in LTSP (client) script. So, I created one.
This is useful if you want your thinclients to be able to remote into a KVM-VDI, and want full control using lts.conf.

Run the following on your Ubuntu LTSP server, this will install packages you’ll need on the thinclient: (Replace <base> with whatever you used for ltsp-build-client –chroot <base>)

ltsp-chroot --arch <base> -m
apt-get xdotool x11-utils xwit python python-requests virt-viewer freerdp-x11 pulseaudio xinit
exit

[jbox]NOTE: You can also add this to the build client config file so that any time you upgrade or build your client image it automatically installs it. –> /etc/ltsp/ltsp-build-client.conf

Here is an example: ltsp-build-client.conf

[/jbox]
The /var/lib/tftpboot/ltsp/<base>/lts.conf options are:

#KVM-VDI Remote Desktop to Virtual Machine
SCREEN_07 = vdi

Here is an example: lts.conf

Put the below screen script into: vdi <– Right click and “Save link as”
/opt/ltsp/<base>/usr/share/ltsp/screen.d/
IMPORTANT: Be sure to name it “vdi“

The last step is to run

ltsp-update-image <base>

LTSP comes with these screen scripts by default:

kiosk ldm menu rdesktop shell ssh startx telnet xdmcp xfreerdp xterm

I created a VNC session script here, and a SPICE session script here.

(ldm is enabled on VT_07 by default)

 

]]>
https://jphein.com/kvm-vdi-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu-16-04-xenial/feed/ 0 3598
Spice Session Screen Script for LTSP thin clients running under Ubuntu https://jphein.com/spice-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/ https://jphein.com/spice-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/#comments Thu, 12 May 2016 00:55:27 +0000 https://blog.jphein.com/?p=3569 LTSP does not come with a built in Spice (client) script. So, I created one.
This is useful if you want your thinclients to be able to remote into a KVM VDI.

I use the virt-viewer package. Run the following on your Ubuntu LTSP server:

ltsp-chroot --arch <base> -m
apt-get install virt-viewer
exit

NOTE: You can also add this to the build client config file so that any time you upgrade or build your client image it automatically installs it. –> /etc/ltsp/ltsp-build-client.conf

The /var/lib/tftpboot/ltsp/<base>/lts.conf options are:

#Spice KVM Remote Desktop to Virtual Machine
SPICE_SERVER = "192.168.11.5"
SPICE_OPTIONS = "--kiosk-quit=on-disconnect --kiosk"
SCREEN_07 = remote-viewer

Put the below screen script goes into
/opt/ltsp/<base>/usr/share/ltsp/screen.d/
IMPORTANT: Be sure to name it “remote-viewer“

remote-viewer <– Right click and “Save link as”

The last step is to run

ltsp-update-image <base>

LTSP comes with these screen scripts by default:

kiosk ldm menu rdesktop shell ssh startx telnet xdmcp xfreerdp xterm

I created a vnc session script here

(ldm is enabled on VT_07 by default)

I use the menu screen script on VT_07 so that it gives me the option of what desktop to log into. My lts.conf looks like this: (lts.conf default location is: /var/lib/tftpboot/ltsp/i386/ or /amd64/ you may have to create it)

[default]
SCREEN_07 = menu

#RDP Windows Remote Desktop
RDP_SERVER = "/v:192.168.56.25"
RDP_OPTIONS = "/u:client /p:password /sound /microphone /multimedia /rfx /cert-ignore /drives /f"	
VNC_SERVER = 192.168.56.5
VNC_OPTIONS = "-fullscreen -autopass"
VNC_PASSWORD = "password"
SPICE_SERVER = "192.168.56.1"
SPICE_OPTIONS = "--kiosk-quit=on-disconnect --kiosk"

MENU_ITEM_01="Ubuntu 16.04 LTSP"
MENU_COMMAND_01="ldm"
MENU_ITEM_02="Windows 10 Professional"
MENU_COMMAND_02="xfreerdp"
MENU_ITEM_03="MacOS 10.11"
MENU_COMMAND_03="vncviewer"
MENU_ITEM_04="Android 5.5"
MENU_COMMAND_04="vncviewer 192.168.56.6"
MENU_ITEM_05="KVM Virtual Machine (Linux,MacOS,Windows)"
MENU_COMMAND_05="remote-viewer"
MENU_TITLE="Please choose a desktop: "

LDM_DIRECTX = True

As you can see this gives the thinclient to terminal into Linux, Windows, MacOS, or Android. Either shared, or personal virtual machines. o_o

You can view how to enable remote desktop in MacOS here:

https://help.ubuntu.com/community/AppleRemoteDesktop

]]>
https://jphein.com/spice-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/feed/ 2 3569
How to install MacOS 10.11 El Capitan on Virtualbox with Ubuntu 15.10 https://jphein.com/how-to-install-macos-10-11-el-capitan-on-ubuntu-15-10-using-virtualbox/ https://jphein.com/how-to-install-macos-10-11-el-capitan-on-ubuntu-15-10-using-virtualbox/#respond Tue, 12 Apr 2016 04:40:25 +0000 https://blog.jphein.com/?p=2944 Not working; use VMWare Player with the Unlocker.

http://www.insanelymac.com/forum/files/file/339-unlocker/

https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0

 

The below does not work for me!

http://techsviewer.com/how-to-install-mac-os-x-el-capitan-on-pc-on-virtualbox/

 

VBoxManage modifyvm “Your VM Name” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”
VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1

]]>
https://jphein.com/how-to-install-macos-10-11-el-capitan-on-ubuntu-15-10-using-virtualbox/feed/ 0 2944
Ubuntu Windows Wallpaper + MacOS theme https://jphein.com/ubuntu-windows-wallpaper/ https://jphein.com/ubuntu-windows-wallpaper/#respond Sun, 10 Apr 2016 18:55:11 +0000 https://blog.jphein.com/?p=2900 Ubuntu Windows Wallpaper:

https://technology.desktopnexus.com/wallpaper/740933/

MacOS Unity Theme:

sudo apt-get install unity-tweak-tool
If it fails to run see: http://askubuntu.com/questions/449943/unity-tweak-tool-fails-to-start-with-the-error-com-canonical-unity-webapps-sche

Zukimac Is a Flawless Mac Theme for Ubuntu (If You Like that Sort of Thing)

]]>
https://jphein.com/ubuntu-windows-wallpaper/feed/ 0 2900
VNC Session Screen Script for LTSP thin clients running under Ubuntu https://jphein.com/vnc-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/ https://jphein.com/vnc-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/#respond Mon, 07 Mar 2016 06:29:28 +0000 https://blog.jphein.com/?p=2816 LTSP does not come with a built in VNC viewer (client) script. So, I created one.
This is useful if you want your thinclients to be able to remote into MacOS or Android OS’s.

I use the xtightvncviewer package. Run the following on your Ubuntu LTSP server:

ltsp-chroot
apt-get install xtightvncviwer
update-alternatives –config vncviewer #You may need to run this if there is another vncviewer installed in the chroot
exit

NOTE: You can also add this to the build client config file so that any time you upgrade or build your client image it automatically installs it.

The lts.conf options are:

VNC_SERVER = 192.168.1.1
VNC_OPTIONS = “-fullscreen -autopass”
VNC_PASSWORD = “password”

Put the below screen script goes into /opt/ltsp/amd64/usr/share/ltsp/screen.d/
IMPORTANT: Be sure to name it “vncviewer”

vncviewer <– Right click and “Save link as”

The last step is to run

ltsp-update-image

LTSP comes with these screen scripts by default:

kiosk ldm menu rdesktop shell ssh startx telnet xdmcp xfreerdp xterm

(ldm is enabled on VT_07 by default)

I use the menu screen script on VT_07 so that it gives me the option of what desktop to log into. My lts.conf looks like this: (lts.conf default location is: /var/lib/tftpboot/ltsp/i386/ or /amd64/ you may have to create it)

[default]
SCREEN_07 = menu

RDP_SERVER = 192.168.56.25
RDP_OPTIONS = “-a 16 -f -r disk:Drives=/media/root -r sound:local”
VNC_SERVER = 192.168.56.5
VNC_OPTIONS = “-fullscreen -autopass”
VNC_PASSWORD = “password”

MENU_ITEM_01=”Ubuntu 15.10″
MENU_COMMAND_01=”ldm”
MENU_ITEM_02=”Windows 7″
MENU_COMMAND_02=”xfreerdp”
MENU_ITEM_03=”MacOS 10.5.5″
MENU_COMMAND_03=”vncviewer”
MENU_ITEM_04=”Android 5.5″
MENU_COMMAND_04=”vncviewer 192.168.56.6″
MENU_TITLE=”Please choose a desktop: ”

LDM_DIRECTX = True

As you can see this gives the thinclient to terminal into Ubuntu Linux, Windows 7, MacOS, or Android. o_o

You can view how to enable remote desktop in MacOS here: https://help.ubuntu.com/community/AppleRemoteDesktop

]]>
https://jphein.com/vnc-session-screen-script-for-ltsp-thin-clients-running-under-ubuntu/feed/ 0 2816