xstart: Cannot move old "/var/log/XFree86.0.log.old"
Hi. After much dorking around, I somehow managed to screw up xfree86. I can startx as root just fine, but as a user:
------------------------------------------------------------------------------- Fatal server error: Cannot move old "/var/log/XFree86.0.log.old" When reporting a problem related to a server crash, please send the full server output, not just the last messages. Please report problems to xfree86@xfree86.org. giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. ---------------------------------------------------------------------------------- What could this mean :confused: and what can be done? Thanks. [I am running slackware-current] |
chmod u+s `which startx`
type that as root (real root, or su -, not su root), if it has an error then type "which startx" and replase `which startx` with whatever the output is (it find the startx file) explination: x needs to move the log file, but the log directory is inaccessible to normal users for important security reasons, so startx needs to be run with root privilages, the u+s runs it with root privlages as a standard user without screwing security, it is called the sticky bit. that chmod u+s sets it. |
Thanks!
|
All times are GMT -5. The time now is 06:40 AM. |