After creating an administrative user account (group 'wheel') I tried to use the startx command with no results. I can 'startx' in root account but not in any user accounts.
I tried starting X as non-root also, but in the end I gave up. Simply setting the suid bit for the Xwrapper or XFree86 binary should work. It's perhaps even impossible to start X as non-root, because it needs direct access to hardware.
I am looking into the default login class and see if it has a path to /usr/X11R6/bin or a correct path to get x going. I can't believe that it is immposible to startx as a user.
One thing I'm learning from OpenBSD is its like building an operating system from scratch. If I wanted the easy way, I would go to MDK or rat linux.
Thanks for your comments.
Try setting the users privileges in the linuxconf file. try checking the man pages for adduser or useradd. That should help.
the next thing is to set a PATH in .profile but i have not tried that yet. The point is startx will work in any user account.
i added /usr/X11R6/bin: to the very end of the directory list in .profile (before the period. and now everything works perfectly for me.
Thank you. That was it exactly. I had 2 solid days in that.
I was having this problem in OpenBSD 3.6 also.
i just install open bsd 3.6 in my pc, the startx doesn't working properly, how to set the resolution?
i had the same problem, i think due to nvidia driver but not sure. i just copied all teh .x* and .X* files from /root/ to /home/user/.
no sure how good this approach it
You have NVIDIA drivers for OpenBSD (the proprietary ones with 3D support)?
Could you post a link to that please...