Discussion Locked

"startx" won't start X if not root

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

System RH 7.0. I can log into text mode, but when I try to execute "startx", I can do it only when I'm root. Otherwhise I get error that server should be run only in SU mode and that I have to use XWrapper to start it.
I changed runlevel to 5 and could log into graphical interface with any existant user, but when I changed run level back to 3 - situation is still the same. What should I change in order to be able to start X from text mode while not being root? Is it a bug in 7.0 or feature to prevent users from starting X server?

9 replies

by kevin anderson

I can't actually help you with a solution, but I can tell you that it isn't a bug. I run RH7, and mine works fine.

Sorry.
Kev.

by shanghai sam

I have not any problem to script startx in non root mode.
Review your X configuration files (/etc/X11).
Try start xdm (gdm, kdm) instead.

by yarik

Sorry, it didn't help. Starting gdm makes difference, but doesn't solve the problem...

by mtuppen

I have RH 7.1 and it works fine from another user. Maybe it's a problem with 7.0 or maybe your user is corrupt. Try another user, maybe.

Regards,
Mike.

by Former member

aounds like a permission problem. make sure your startx binary has permissions set to allow others to execute it.
good luck

This discussion is closed to new replies.