View Single Post
  #2   (View Single Post)  
Old 9th February 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

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.
Reply With Quote