In the hope that it might be helpful I've jotted down my experiences over the last few days with building Linux/Kstars/INDI/EKOS from scratch. The contents below have been my experience and Your Mileage will definitely vary.
I'm a big fan of Jasem's Stellarmate and the polished implementation he's managed to put together. I bought a Pi4 4GB to run it but even using an external SSD as boot/storage it was slow. Capturing an image from my Canon 600D would take 9-10 seconds to download so polar alignment was arduous. I'd need to let it take two images before I saw the first in the PA screen and it took a lot longer than it should to complete. I decided to hang on to the Pi4/Stellarmate but also try a small PC build with faster processor etc.
I don't have any facility for a permanent setup so whatever I use has to be portable and battery powered. The new PC needed to work with the following components:
1. Zenithstar 61 APO
2. ZWO ASI 178MC
3. ZWO ASI EAF
4. Explore Scientific iEXOS-100 Mount
5. u-blox GPS USB Dongle
I bought a Beelink GK55 mini PC which has a Celeren 4125 quad core at 2GHz (bursting to 2.7), 2x USB3 & 2x USB2 plus a M2 256GB M2 drive which had Windows 10 preinstalled. I say had because I removed it and added a Kingston 256GB SSD that I already had. The Beelink uses a 12v supply and uses just 12 watts of power.
I downloaded the current Ubuntu 20.04.3 LTS Desktop image and burned it to USB stick using Rufus. Booting from this was quick and I was soon running with gnome desktop although I'd prefer KDE or something else but I found no choice at build time. Next was the fun of adding all the software and configuring it.
First up was to update the OS which also created access to repos for the WLAN driver:
Then install the WLAN driver:
sudo apt install rtl8821ce-dkms
Then configure it through the usual network UI.
Next the following two changes via the Settings menu:
Switch off screen locking -> Settings -> Power
Disable WiFi auto off -> Settings -> Power
Then the GPS daemon install:
sudo apt-get install gpsd gpsd-clients
(I added gpsd-clients so that I can use cgps or xgpsd to check that there is data coming from the GPS.)
and start it up:
sudo systemctl enable gpsd
sudo systemctl start gpsd
I found that there was no data forthcoming and after searching the OS for gpsd config it seems that gpsd seems to be looking at /dev/ttyUSB0 for GPS data but this device was using /dev/ttyACM0.
The fix was to edit /etc/default/gpsd
and change line to : DEVICES="/dev/ttyACM0"
The restart it with:
sudo systemctl daemon-reload
sudo systemctl restart gpsd
Now cgps shows data from the GPS dongle
Then to install Kstars/INDI/EKOS:
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get install indi-full kstars-bleeding
I tested EKOS initially with the Canon 600D and download times dropped from 9-10 seconds when using the Pi 4 to 1-2 seconds with the new setup. Outstanding!
The most difficulties I've had have been in the remote control software. I tried TightVNCServer, TigerVNCServer, different window managers due to Gnome apparently having a "known issue" with black or grey screens but with no success and finally settled on Nomachine. Nomachine uses a protocol called NX instead of VNC so you need a NX protocol client to talk to it. Fortunately they are available for Windows/Linux/Android etc, and all are free. It is very fast (try dragging Kstars constelaltions around with the mouse and see how smoothly it works) but it does seem to chomp CPU when in use. Anyhow, I couldn't get any other combination to work but I expect someone on the forum may have a quick how-to for that. I be interested to see it for Ubuntu 20.04.3 LTS with Gnome.
So to install Nomachine on Ubuntu it needs to be downloaded from the website and installed as follows on the current version number as of today:
wget https://download.nomachine.com/download/7.6/Linux/nomachine_7.6.2_4_amd64.deb
sudo apt install ./nomachine_7.6.2_4_amd64.deb
As Nomachine will run on a headless unattended host I made the following change:
Start the Nomachine Service App
Go to Security -> uncheck Require Permission to let Users Connect
If the host firewall is running you'll need to allow Nomachne through using:
Check whether it is by running:
sudo systemctl status ufw
Then install your Nomachine client of choice and connect to the Beelink.
In preparation for running truly headless I needed a dummy HDMI dongle to tell the Beelink that it had a monitor. I picked up a set of XTVTX 3PCS 4K HDMI Dummy Plugs and one works fine.
As for powering all this in the field I run a single 12V cable from a TalentCell 72W 100WH 12V/8300mAh 9V/11000mAh 5V/20000mAh DC Output Lithium ion Battery Pack. All the other devices are powered from their USB cable connected to the mini-PC. I ran this lot today for 5 hours on this battery and it used around 50% of the available charge. There is a dew heater connected to another LIon battery pack due to the dew heater taking 1-2A of power on its own.
So that's it. I'm a happy bunny with the performance of the new device and am sure there will be further customisation. I need to work out how to run a WLAN hostspot if away from home, but there's always something needs doing - right ?