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.
Help appreciated!
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.
#cd /usr/X11R6/bin
#startx
works!
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 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
chmod u+s
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.
startx
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.
You can... I do it all the time.
Try setting the users privileges in the linuxconf file. try checking the man pages for adduser or useradd. That should help.
startx
#cd /usr/X11R6/bin
#startx
works!
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.
adding to .profile
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.
Thats it
Thank you. That was it exactly. I had 2 solid days in that.
Thanks, I was having this pr
Thanks,
I was having this problem in OpenBSD 3.6 also.
-Andrew
help
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 thi
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
NVIDIA drivers for OpenBSD?
You have NVIDIA drivers for OpenBSD (the proprietary ones with 3D support)?
Could you post a link to that please...