X and Fluxbox :: root loses control over x files



On boot all of a sudden X doesn't start.

startx returns:
xauth: error in locking authority file /root/.Xauthority
giving up
xinit: connection refused (errmno 111) unable to connect to x server
xinit: No such process (errno 3): server error
xauth: error in locking authority file /root/.Xauthority


also as root:
chmod 777 * returns: Events: read only system

Apparently root doesn't have rights over user dsl's files.

Another rebbot and this time user dsl is allowed to start x.


What happens here? is root banned form using x?

What I would do is delete /root/.Xauthority and try again.  I'm not recommending this, since i have never run into your problem, but it's what I'd do. Your trouble is probably caused by improper shutdown, and not because of file permissions.

I'd also not run x as root, and definitely not "chmod 777 *", but that's a different thread.


original here.