xorg 7.2 "Cannot move old logfile" problem



Hi Everyone,
I have trouble starting xorg 7.2 as a non-root user, hopefully some of you
have already seen this and found a solution.

My old FreeBSD 5.4 system was wiped from my PII laptop and I installed
6.2-STABLE last week.
Due to the amount of buildtime on this slow machine, I prefer to install
things from packages, so I also installed bash, mc-light, xorg and xfce4
via "pkg_add -r".
Then "Xorg -configure" was used to generate my xorg.conf, which is now
placed as /etc/X11/xorg.conf. Running "startx" as root works fine.
However, when I try startx as a non-root user, the graphics mode does not
start. I get the following error.

Fatal server error:
Cannot move old logfile ("/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"

I also tried "rm /var/log/Xorg.0.log*" as root, and then "startx" as
non-root, but that leads to another similar error of the following.

Fatal server error:
Cannot open log file "/var/log/Xorg.0.log"

This looked obviously as a file/directory access problem, I tried adding my
non-root user to the wheel group (I need that anyway) and running "chmod
g+w /var/log". This way my non-root user has write access to /var/log.
Trying "startx" now shows something more meaningful.

Fatal server error:
xf86OpenConsole: Server must be suid root

Now, this looks to me very much like some sort of wrapper problem.
But then why didn't I have that wrapper for X installed with the xorg
package?

So, could somebody please point me toward the solution!
Thank you!

Regards,
Keve
--
if you need to reply directly:
keve(at)mail(dot)poliod(dot)hu
.



Relevant Pages

  • Re: Starting X - was Re: Vista / FreeBSD dual boot
    ... - shall I do a port upgrade? ... Fatal server error: ... port (I assume that will be the latest Xorg 7.3 is it? ... uninstall this and install Xorg 6? ...
    (freebsd-questions)
  • Xorg cant start
    ... I try to upgrade my xserver: ... Fatal server error: ... Setting the original video mode instead of restoring ... I read handbook and try to use xorg.config generated by Xorg -configure ...
    (freebsd-questions)
  • Re: Hardware 3D on GeForce2 Integrated GPU
    ... on FreeBSD 6.2-RELEASE with Xorg 7.2. ... started with a clean install of the OS and sources, ... server always crashes with a fatal server error at the point where it ... x11/nvidia-driver-7184 port and be done with it. ...
    (comp.unix.bsd.freebsd.misc)