login
Header Space

 
 

startx works in root but not in user

February 1, 2004 - 5:31pm
Submitted by Anonymous on February 1, 2004 - 5:31pm.
OpenBSD

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!

chmod u+s

February 1, 2004 - 9:43pm

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

February 3, 2004 - 10:28pm
Anonymous

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.

February 5, 2004 - 9:39am
Anonymous

Try setting the users privileges in the linuxconf file. try checking the man pages for adduser or useradd. That should help.

startx

February 29, 2004 - 3:13am
Anonymous

#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

July 17, 2004 - 1:15pm
Anonymous

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

August 22, 2004 - 12:51pm
Anonymous

Thank you. That was it exactly. I had 2 solid days in that.

Thanks, I was having this pr

December 28, 2004 - 5:37pm
Andrew Stone (not verified)

Thanks,
I was having this problem in OpenBSD 3.6 also.
-Andrew

help

April 26, 2005 - 2:40am
fauzul (not verified)

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

February 22, 2004 - 10:11pm
Anonymous

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?

March 2, 2004 - 11:28am

You have NVIDIA drivers for OpenBSD (the proprietary ones with 3D support)?

Could you post a link to that please...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary