On 4/19/07, Martin Costabel <email@hidden> wrote:
nicolas loeuille wrote:
> Also, when I try to launch it from a terminal window, I get the
> following output:
>
> "7625-46:~ nicolasloeuille$ startx
>
>
> XFree86 Version 4.4.0
/ X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> [DRI] screen 0 installation complete
> Screen 0 added: 1440x900 @ (0,0)
> error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
> from list!
>
> waiting for X server to shut down Quitting XDarwin..."
>
> It seems that the error comes from SecurityPolicy. There is no such file
> in the direcory mentionned by the output. I found it in
> /etc/X11.AppleBackup/xserver/ but I cannot write into the directory
> /usr/X11R6/lib/X11/xserver/
A normal installation of Apple's X11 has the following entry in
/usr/X11R6/lib/X11/
xserver -> ../../../../etc/X11/xserver
This means hat the SecurityPolicy is found in
/etc/X11/xserver/SecurityPolicy
If you have something else, you should perhaps reinstall your
X11User.pkg and/or X11Update2006.pkg.
>>
>> What do you have in your ~/.xinitrc file?
>>
>>
> Just an alias I have created a long time ago (alias ..="cd ..")
If your ~/.xinitrc exists, X11.app will execute it and shut down as soon
as every command in the file is executed. Therefore your ~/.xinitrc
needs to contain a last command that does not finish, usually something like
exec quartz-wm
Indeed, that was the issue! Thanks a lot!
--
Martin