Error Opening Security Policy File Usrx11r6libx11xserversecuritypolicy
Contents |
get rid of »error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy«? Next message: [FreeNX-kNX] How to get rid of »error opening security vnc error opening security policy file /etc/x11/xserver/securitypolicy policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy«? Messages sorted by: [ date ]
Could Not Init Font Path Element /usr/x11r6/lib/x11/fonts/type1/
[ thread ] [ subject ] [ author ] You need to correct the "error opening security policy file /usr/x11r6/lib/x11/xserver/securitypolicy" 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 ubuntu vnc server grey screen POLICYFILEDEF = -DDEFAULTPOLICYFILE=\"/etc/X11/xserver/SecurityPolicy\" Regards. Shima On Sat, Feb 28, 2009 at 12:06 PM, Paul Menzel < paulepanter at 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
Desktop Sharing Ubuntu
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 > > ______________
configure the path for the file SecurityPolicy?Although it does not seem to critical ubuntu vnc grey screen I would like to get rid of thismessage vino server without creating a symlink. Under Debian GNU/Linux this file islocated at /etc/X11/xserver/
Ubuntu Vino
[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 https://mail.kde.org/pipermail/freenx-knx/2009-February/007945.html mailing list [2] shows that other people get this errormessage too, but I did not find a solution.Using the code search from Google [3] did not turn any FreeNX relatedresults 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 http://freenx-knx.kde.narkive.com/ELrCshgW/how-to-get-rid-of-error-opening-security-policy-file-usr-x11r6-lib-x11-xserver-securitypolicy opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy" site:http://mail.kde.org/pipermail/freenx-knx/[3] http://www.google.com/codesearch Marcelo Boveto Shima 2009-02-28 16:32:30 UTC PermalinkRaw Message 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/Imakefileand change:POLICYFILEDEF = -DDEFAULTPOLICYFILE=\"$(SERVERCONFIGDIR)/SecurityPolicy\"toPOLICYFILEDEF = -DDEFAULTPOLICYFILE=\"/etc/X11/xserver/SecurityPolicy\"Regards.ShimaOn Sat, Feb 28, 2009 at 12:06 PM, Paul Menzel Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu https://ubuntuforums.org/showthread.php?t=2266841 Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu https://www.experts-exchange.com/questions/24885353/No-GNOME-session-just-blank-screen-with-large-X-cursor.html OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [vncserver] error opening error opening security policy file /etc/X11/xserver/SecurityPolicy Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: [vncserver] error opening security policy file /etc/X11/xserver/SecurityPolicy Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode error opening security Switch to Hybrid Mode Switch to Threaded Mode February 25th, 2015 #1 van5 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2015 Beans 4 [vncserver] error opening security policy file /etc/X11/xserver/SecurityPolicy I try to start vncserver Code: $vncserver Starting applications specified in /home/user1/.vnc/xstartup Log file is /home/user1/.vnc/home1:1.log Inside /home/user1/.vnc/home1:1.log I find Code: error opening security policy file /etc/X11/xserver/SecurityPolicy How can I fix it? P.S. content of my ~/.vnc/xstartup was Code: #!/bin/sh # Uncomment the following two lines for normal desktop: #unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & x-window-manager & Following http://ubuntuforums.org/showthread.p...98#post9324498 I modified it to Code: #!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP De for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > No GNOME session just blank screen with large X cursor Want to Advertise Here? Solved No GNOME session just blank screen with large X cursor Posted on 2009-11-09 Linux Distributions Remote Access Linux Networking 1 Verified Solution 16 Comments 1,575 Views Last Modified: 2013-12-06 Hi there folks I have a minor problem that I can't seem to find an answer for that makes any sense. I've virtualised one of my Linux servers and everything appears to be working just fine. However, when I log into the box using VNC, I just get a blank screen with the X cursor. Log file says: Mon Nov 9 23:20:19 2009 vncext: VNC extension running! vncext: Listening for VNC connections on port 5901 vncext: Listening for HTTP connections on port 5801 vncext: created VNC server for screen 0 error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! gnome-session: you're already running a session manager Mon Nov 9 23:20:29 2009 Connections: accepted: 187.192.213.184::53984 SConnection: Client needs protocol version 3.8 SConnection: Client requests security type VncAuth(2) Mon Nov 9 23:20:32 2009 VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565 VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565 Mon Nov 9 23:20:38 2009 Connections: closed: 187.192.213.184::53984 (Clean disconnection) Any ideas? I've deleted the files from /etc/X11/tmp but hasn't helped. I do have VM-Tools running on the machine but I have now virtualised several of my CentOS servers without this problem occurring. Hoping for a solution Chri