You must either upgrade to the most recent release, or use xenodm(1). OpenBSD 6.5 does not permit non-root users to execute startx(1) or xinit(1).
This matter was discussed in the
6.5 Upgrade Guide:
Quote:
Xorg(1). The Xorg binary is no longer installed setuid, so startx(1) can no longer be used by non-root users. The xenodm(1) display manager has to be used instead.
To set it up:
# rcctl enable xenodm
# rcctl start xenodm
If you wish to customize X you need to create an executable .xsession file.
|