commit - f415e1f28ade3ae7ac7ef42854b03658ecc54557
commit + f8331f38a176b3044ee7e8fa76286ae02ff20350
blob - /dev/null
blob + 6be411e129ccda8d99be30aa120f0229fbb693f9 (mode 644)
--- /dev/null
+++ art/018.wayland_on_openbsd_2024.txt
+Title: Wayland on OpenBSD (2024)
+Author: Alexander Arkhipov <aa@manpager.org>
+Created: 2024-12-29
+Modified: 2024-12-29
+
+Since recently, OpenBSD can run wayland. However, this is not very well
+documented or advertised, and it's all in ports. So, this is just a
+quick introduction.
+
+
+INSTALLING AND RUNNING
+
+First, *very importantly*, kill any running X server:
+
+ # rcctl stop xenodm
+
+I emphasise the importance here because if you don't you might very well
+lock your computer and have to reboot by pressing the power button.
+
+Now, install a compositor. Several are in ports. We'll be using sway:
+
+ # pkg_add sway
+
+Run with /usr/local/bin/startsway.sh. Unless you are running sway as
+root (don't), it's is almost guaranteed to complain about being unable
+to open some device files. If you are in the group wheel, the following
+should more than suffice (but feel free to experiment.)
+
+ # chmod g+rw /dev/dri/* /dev/wskbd* /dev/wsmouse*
+ $ startsway.sh
+
+
+WHAT WORKS
+
+Xwayland is enabled by default, so you should be able to run most
+software. There's some software made specifically for wayland available,
+like the terminal emulator foot. Unfortunately, it seems on OpenBSD,
+Firefox still works poorly under wayland, while chromium doesn't even
+start.
blob - 3ac98b6ee95c9c8cbdb7ab88ee70afbeae7d5b4f
blob + ebed5ed371d087e9a76e4c8874aa226095bb58ee
--- plan.txt
+++ plan.txt
News:
-Entry: 2024-11-19
-
-gpass 0.6 and gpm 0.3 released.
-
-
Entry: 2024-02-26
A couple of new additions:
Wrote a quick little article on installing Alpine Linux under
OpenBSD VMM: art/017.how_to_install_alpine_on_vmm.txt
+
+
+Entry: 2024-11-19
+
+gpass 0.6 and gpm 0.3 released.
+
+
+Entry: 2024-12-29
+
+Wayland on OpenBSD (2024): art/018.wayland_on_openbsd_2024.txt