Welcome to AstroArch! Astrophotography on ArchLinux for Raspberry Pi, PC and mini PC (works also on Manjaro and all Arch derived distros)
<= Join us on discord!

Please find below some (hopefully) useful instructions. If you want to build the image from scratch, see BUILD.md.
What Raspberry version is supported?
AstroArch runs on any raspberry capable to run aarch64 OS, this means Raspberry Pi 4 and of course Raspberry Pi 5
Note on the possible back-powering of the raspberry by a mount, camera, powered USB hub or other devices having its own power source and connected to the raspberry by USB. Plug in your raspberry then connect each device so as not to have issues for your AstroArch.
Resources
Setup guide:
resources/astroarch_rpi5_guide.pdf
WiFi 5GHz guide:
resources/astroarch_rpi5_guide.pdf
Download
Prebuilt images are announced and shared via:
You will find the latest image always at https://releases.astroarch.me/latest
If there is any other image available you can find it at https://releases.astroarch.me/
We do ship sha256sums as well, so be sure to validate the image using it, it will confirm the image is genuine!
If you prefer to build an image yourself, follow: BUILD.md
Why ArchLinux?
Why ArchLinux?
Because control matters.
Because when you're under the stars, 200 km from the nearest Wi‑Fi, you don't want to wrestle with package managers or beg an outdated distro for a newer kernel.
ArchLinux gives us clarity.
No cruft. No bloated defaults. No assumptions.
Just a fast, minimal, bleeding-edge base that stays out of your way and respects your intent.
Exactly what an astrophotography system should do.
Some ask, why not Raspbian?
Because I’ve used it. Because I’ve waited weeks for upstream fixes to trickle through layers of bureaucracy. Because when something breaks in the field at 2 AM, I’d rather pacman -Sy than dig through obsolete forum posts.
Because I’ve seen what happens when distros try to protect you by locking the door and hiding the keys.
This isn’t about gatekeeping.
This is about choosing the right tool for the job—even if it demands more from the user.
If you're the kind of person who compiles INDI from source just to try a bleeding-edge driver,
then you already get it.
Arch isn't a barrier. It's a launchpad.
AstroArch was built for those who tinker. For those who read logs instead of rebooting. For those who know that freedom and responsibility walk hand in hand.
You don't have to like Arch.
But I do. And that’s why we're here.
AstroArch was built for curiosity, not consensus.
Even if I’m the only one who finds joy in it—tuning drivers, reshaping workflows, and bending the system to my will—that’s enough.
But if that sounds like your kind of fun, welcome aboard.
Flash the img to an SD
If you prefer a GUI, use balenaEtcher otherwise you can use the unix dd to flash it, and if you are using dd I think
there is nothing I shall explain to you :)
First boot
After you burned the .img file to your SD, you should be able to reach astroarch via VNC, however if you don't see the desktop or you can't connect to it
this likely means that unfortunately your raspberry pi rev cannot boot the image. In this case please plug a monitor and report here the output!
Once you are logged in the first thing you should do is update the system, open the terminal and type update-astroarch command
Set timezone
Here a small video that will show you how to set the timezone without the terminal
https://github.com/devDucks/astroarch/assets/4163222/a935b491-5b7a-444d-9f89-a01a279063de
If you want to use the terminal list first the available timezone with timedatectl list-timezones and then set the right one with sudo timedatectl set-timezone Foo/Bar where Foo/Bar is something like Europe/Rome
Do not forget to set the right timezone!
Passwords
To save you some time, here the default password you will need for AstroArch:
- the user password for
astronaut (which is the user used to login or for ssh) is astro
- the password for the
AstroArch-XXXXXXX WiFi hotspot is astronomy
Performance and compositor
IMPORTANT!
Be aware that from version 2.0 the compositor is enabled by default, while this will enhance by a lot graphics (making everything smoother) it will probably increase
system resource utilisation. If you want to disable it, just add the following line Enabled=false in the file /home/astronaut/.config/kwinrc
How to protect VNC with password
If you want to add more security to your installation (or maybe you are at a starparty with more users running AstroArch), you may want to add a password to VNC (by default there is no password).
To do so first set a password running sudo vncpasswd and after that edit /etc/systemd/system/x0vncserver.service changing the ExecStart line from this
ExecStart=x0vncserver -display :0 -SecurityTypes None
to this
ExecStart=x0vncserver -display :0 -rfbauth /root/.vnc/passwd
Reboot and now you should be prompted to input a password when connecting via VNC
How can I use a raspberry camera
AstroArch finally supports raspberry cameras via indi pylibcamera, to install it and having fun with it just run sudo pacman -S indi-pylibcamera
Use only the astro packages maintained for AstroArch on PC and mini PC
If you have an x64 distro based on ArchLinux on your PC and you just want to access the packages I maintain (kstars, phd2, stellarsolver, indi, indi libs and drivers) add my repo to your pacman.conf file (under /etc/pacman.conf) before the [core] section, the repo looks like the following
[astromatto]
SigLevel = Optional TrustAll
Server = http://astroarch.astromatto.com:9000/$arch
after that run sudo pacman -Sy && sudo pacman -S kstars phd2 indi-3rdparty-drivers stellarsolver
Useful commands
The following are some useful commands that you can run from the terminal so you don't have to deal with complicated stuff by yourself if you don't want to:
update-astroarch => this command will update system packages (including kstars, indi, etc. if there are new versions) and will pull any fix for astroarch itself, additionally will update the astroarch configuration that may bring in more commands etc.
astro-rollback-indi => rollback automatically indi to the previous version
astro-rollback-kstars => rollback automatically indi to the previous version
astro-rollback-full => rollback automatically indi and kstars to the previous version
use-astro-bleeding-edge => install bleeding edge packages for Kstars and INDI
use-astro-stable => install stable packages for Kstars and INDI
backup-astroarch => perform a full system backup, with the settings chosen in the Control Center
restore-astroarch => restore the whole system from one of those backups
Backup and Restore
The system backup is set up in the AstroArch Control Center, page Data backup, card System: where it goes (this disk or an external drive) and which folders it leaves out. Each backup is a read-only snapshot in one image file, astroarch-backup.btrfs; the last ones are kept. Use a disk with at least 64 GB of storage if the backup location is on your AstroArch disk.
Once it is set up, a backup can be made from the same page or from a terminal, also over SSH:
backup-astroarch makes a system backup with those settings (sudo asks your password)
restore-astroarch lists the snapshots, asks which one, offers a safety backup of the current system first, and asks you to type RESTORE; the whole system is then restored and the computer restarts by itself. restore-astroarch --dest FOLDER reads the backup in another folder (the one that holds astroarch-backup.btrfs, e.g. on an external drive).
update-astroarch does not make a backup: make one before an update if you want a way back.
The Control Center's Restore page restores the whole system too, or only your profiles, settings and images from any backup.
Connecting via browser (noVNC)
By default AstroArch will start a hotspot called AstroArch, to connect to that WiFi network use the password astronomy
noVNC is installed and it will start by default, if your pi is wired to your network you can connect to it with the following methods:
otherwise, if you want to connect to its hotspot, find the WiFi network AstroArch (the pass is astronomy) and type in your browser http://10.42.0.1:8080/vnc.html
Welcome to astro arch!
Connecting via VNC client
If you trust me, this should be always the preferred way to connect using VNC. noVNC goes through the browser and is less fluid and performant than a real VNC client.
You can use whatever VNC client you prefer, there should be no issue.
The address is astroarch.local (or the IP if you prefer) and the port is 5900.
If you have started an Xorg session with Xrdp, you can connect with your VNC client on port 5910.
Few VNC client suggestions (work on all platforms):
Connecting via XRDP client
Another option to control your Raspberry Pi remotely is to use an XRDP client. For this you can use the "remote desktop connection" tool if you are on Windows or on Linux or a software like FreeRDP.
You can also, after installing the xfreerdp package corresponding to your distribution, use the command line: xfreerdp /dynamic-resolution /u:astronaut /w:1920 /h:1080 /v:X.X.X.X (Where X.X.X.X is the IP address of the pi)
Xrdp is smoother and faster than vnc but be aware that it also consumes at least 500M of memory. This can be limiting for use on a Raspberry with only 4G.
XRDP and VNC have different purposes. VNC only allows you to replicate the user's existing session. XRDP can also do this by selecting the vnc-any session. However, the main use of XRDP is not to replicate but to open a new Xorg session for the user on the Display 10.0 environment variable.
To connect with a new Xorg session (recommended):