[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX]
From:       Marcelo Boveto Shima <marceloshima () gmail ! com>
Date:       2009-02-28 16:32:30
Message-ID: 7d3bf3160902280832k4e2cb288r7cd49d3ad2b669e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


You need to correct the path in the source code and recompile it.
I didn't tested but you should edit the file programs/Xserver/Xext/Imakefile
and change:
POLICYFILEDEF = -DDEFAULTPOLICYFILE=\"$(SERVERCONFIGDIR)/SecurityPolicy\"
to
POLICYFILEDEF = -DDEFAULTPOLICYFILE=\"/etc/X11/xserver/SecurityPolicy\"

Regards.
Shima

On Sat, Feb 28, 2009 at 12:06 PM, Paul Menzel <
paulepanter@users.sourceforge.net> wrote:

> Dear everyone,
> 
> 
> where can I configure the path for the file SecurityPolicy?
> 
> Although it does not seem to critical I would like to get rid of this
> message without creating a symlink. Under Debian GNU/Linux this file is
> located at /etc/X11/xserver/ [1].
> 
> The error message is for example displayed running
> 
> $ nxagent :1
> 
> […]
> 
> error opening security policy file
> /usr/X11R6/lib/X11/xserver/SecurityPolicy
> 
> […]
> 
> or in .nx/[session id]/clients.
> 
> Searching the mailing list [2] shows that other people get this error
> message too, but I did not find a solution.
> 
> Using the code search from Google [3] did not turn any FreeNX related
> results either.
> 
> Does anyone have an idea?
> 
> 
> Thanks a lot,
> 
> Paul
> 
> 
> [1]
> http://www.linuxquestions.org/questions/linux-general-1/error-opening-security-policy-file-usrx11r6libx11xserversecuritypolicy-323770/
>  [2] Google: "error opening security policy file
> /usr/X11R6/lib/X11/xserver/SecurityPolicy" site:
> http://mail.kde.org/pipermail/freenx-knx/
> [3] http://www.google.com/codesearch
> 
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
> Don't forget to check the NX Knowledge Base:
> http://www.nomachine.com/kb/
> 
> ________________________________________________________________
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
> 


[Attachment #5 (text/html)]

You need to correct the path in the source code and recompile it.<br>I didn&#39;t \
tested but you should edit the file programs/Xserver/Xext/Imakefile and \
change:<br>POLICYFILEDEF = \
-DDEFAULTPOLICYFILE=\&quot;$(SERVERCONFIGDIR)/SecurityPolicy\&quot;<br> \
to<br>POLICYFILEDEF = \
-DDEFAULTPOLICYFILE=\&quot;/etc/X11/xserver/SecurityPolicy\&quot;<br><br>Regards.<br>Shima<br>
 <br><div class="gmail_quote">On Sat, Feb 28, 2009 at 12:06 PM, Paul Menzel <span \
dir="ltr">&lt;<a href="mailto:paulepanter@users.sourceforge.net">paulepanter@users.sourceforge.net</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Dear everyone,<br>
<br>
<br>
where can I configure the path for the file SecurityPolicy?<br>
<br>
Although it does not seem to critical I would like to get rid of this<br>
message without creating a symlink. Under Debian GNU/Linux this file is<br>
located at /etc/X11/xserver/ [1].<br>
<br>
The error message is for example displayed running<br>
<br>
        $ nxagent :1<br>
<br>
        […]<br>
<br>
        error opening security policy file \
/usr/X11R6/lib/X11/xserver/SecurityPolicy<br> <br>
        […]<br>
<br>
or in .nx/[session id]/clients.<br>
<br>
Searching the mailing list [2] shows that other people get this error<br>
message too, but I did not find a solution.<br>
<br>
Using the code search from Google [3] did not turn any FreeNX related<br>
results either.<br>
<br>
Does anyone have an idea?<br>
<br>
<br>
Thanks a lot,<br>
<br>
Paul<br>
<br>
<br>
[1] <a href="http://www.linuxquestions.org/questions/linux-general-1/error-opening-security-policy-file-usrx11r6libx11xserversecuritypolicy-323770/" \
target="_blank">http://www.linuxquestions.org/questions/linux-general-1/error-opening-security-policy-file-usrx11r6libx11xserversecuritypolicy-323770/</a><br>


[2] Google: &quot;error opening security policy file \
/usr/X11R6/lib/X11/xserver/SecurityPolicy&quot; site:<a \
href="http://mail.kde.org/pipermail/freenx-knx/" \
target="_blank">http://mail.kde.org/pipermail/freenx-knx/</a><br>

[3] <a href="http://www.google.com/codesearch" \
target="_blank">http://www.google.com/codesearch</a><br> \
<br>________________________________________________________________<br>  Were you \
helped on this list with your FreeNX problem?<br>  Then please write up the solution \
in the FreeNX Wiki/FAQ:<br> <br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" \
target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
 <br>
         Don&#39;t forget to check the NX Knowledge Base:<br>
                 <a href="http://www.nomachine.com/kb/" \
target="_blank">http://www.nomachine.com/kb/</a><br> <br>
________________________________________________________________<br>
       FreeNX-kNX mailing list --- <a \
                href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
      <a href="https://mail.kde.org/mailman/listinfo/freenx-knx" \
target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br> \
________________________________________________________________<br></blockquote></div><br>




________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
  
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic