View Single Post
Old 23rd June 2020
bsdun bsdun is offline
Real Name: Steve
Fdisk Soldier
 
Join Date: Feb 2020
Posts: 48
Exclamation Don't use root as your default user!

Quote:
Originally Posted by jonsec View Post
/root/.xsession file is empty ...
Are you using OpenBSD as root? You should create your own user, add that user to groups wheel, staff, operator; set up doas.conf to give your user permission to run as root through doas
(example: doas pkg_add ranger)
doas.conf should end with an empty line at the end of file, or you'll get error.
Read these articles:
https://man.openbsd.org/useradd
https://man.openbsd.org/usermod
https://man.openbsd.org/doas
https://man.openbsd.org/doas.conf
Reply With Quote