xorg 7.2 "Cannot move old logfile" problem
- From: Keve Nagy <nospam@xxxxxxxxxxxxxxx>
- Date: Wed, 25 Jul 2007 15:43:04 +0200
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
.
- Prev by Date: Re: Hardware RAID df output...
- Next by Date: Re: view connected ip addresses
- Previous by thread: 31 Linux and Unix Ebooks
- Next by thread: OpenSSL on FreeBSD speed differences
- Index(es):
Relevant Pages
|