<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Xlib: Client is not authorized to connect to Server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869391#M398381</link>
    <description>Whatever mechanism you have to export your DISPLAY environment variable via the ini or some startup file does not seem to work. Since manually doing an xhost by your account seem to work, I will start with comparing your 11.0 and 11i environments. Also check your ini and startup files to make sure they match the SHELL (ksh, sh or csh) - most often this is where it is broke.&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Nov 2004 09:06:30 GMT</pubDate>
    <dc:creator>Zinky</dc:creator>
    <dc:date>2004-11-08T09:06:30Z</dc:date>
    <item>
      <title>Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869389#M398379</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;a strange case (for me - maybe our UX gurus can help):&lt;BR /&gt;I want to start an application (xdriver from 3DConnexion - application to work with a space mouse).&lt;BR /&gt;Problem are following messages:&lt;BR /&gt;Xlib: connection to "cad18:0.0" refused by server&lt;BR /&gt;Xlib: Client is not authorized to connect to Server&lt;BR /&gt;Xlib: connection to "cad18:0.0" refused by server&lt;BR /&gt;Xlib: Client is not authorized to connect to Server&lt;BR /&gt;&lt;BR /&gt;3Dconnexion (R)3D Device X Window Driver Version 4.55 &lt;BR /&gt;(c) 1994 - 2003 3Dconnexion All rights reserved&lt;BR /&gt;&lt;BR /&gt;[nyga,nyga]&lt;BR /&gt;&lt;BR /&gt;Use the configuration from the &lt;BR /&gt;file: /usr/magellan/xdriver.ini &lt;BR /&gt;DISPLAY Variable nicht gefunden&lt;BR /&gt;&amp;lt; means: DISPLAY variable not found&amp;gt;&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;env $DISPLAY says:&lt;BR /&gt;Keine Datei und kein Verzeichnis: cad18:0.0&lt;BR /&gt;&amp;lt; no="" file="" and="" no="" ="" 0.0=""&amp;gt;&lt;BR /&gt;but - $DISPLAY is set correctly to cad18:0.0&lt;BR /&gt;&lt;BR /&gt;This problem only occures with HP-UX11.11 and NIS users at a client.&lt;BR /&gt;No problems with HP-UX 11.0, no problems with local users.&lt;BR /&gt;Also no problems if I do an xhost + before starting xdriver.&lt;BR /&gt;My problems: I want to start xdriver automatically during login (start command in Xstartup file)&lt;BR /&gt;and&lt;BR /&gt;I've normally no local users.&lt;BR /&gt;&lt;BR /&gt;Anyone can help?&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Mon, 08 Nov 2004 08:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869389#M398379</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-11-08T08:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869390#M398380</link>
      <description>You can specify the ip_addresses/hosts that can have access to X. You specify it in /etc/dtc/config/Xacess file.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 08 Nov 2004 09:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869390#M398380</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-11-08T09:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869391#M398381</link>
      <description>Whatever mechanism you have to export your DISPLAY environment variable via the ini or some startup file does not seem to work. Since manually doing an xhost by your account seem to work, I will start with comparing your 11.0 and 11i environments. Also check your ini and startup files to make sure they match the SHELL (ksh, sh or csh) - most often this is where it is broke.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 09:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869391#M398381</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-11-08T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869392#M398382</link>
      <description>It would appear that some kind of security measures have been implemented with regards to X Windows.&lt;BR /&gt;&lt;BR /&gt;Files to check:&lt;BR /&gt;&lt;BR /&gt;/var/adm/inetd.sec&lt;BR /&gt;/etc/rec.config.d/desktop&lt;BR /&gt;&lt;BR /&gt;check the DESKTOP="" variable.&lt;BR /&gt;&lt;BR /&gt;That may block access.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 Nov 2004 09:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869392#M398382</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-08T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869393#M398383</link>
      <description>I missed a file to check for blocking:&lt;BR /&gt;&lt;BR /&gt;/etc/dt/config/Xaccess&lt;BR /&gt;&lt;BR /&gt;If you have to change Xaccess the following command forces a reset.&lt;BR /&gt;/sbin/init.d/dtlogin.rc reset&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 Nov 2004 09:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869393#M398383</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-08T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869394#M398384</link>
      <description>What essentially is the environment? &lt;BR /&gt;&lt;BR /&gt;Is your Xserver a PC workstation running some X-Windows emulation or a UNIX Workstation with native X? I trust "cad18" is yoour end user's workstation and it is where the server based aplication is launched from? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 09:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869394#M398384</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-11-08T09:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869395#M398385</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;thanks for your responses!&lt;BR /&gt;First: &lt;BR /&gt;At my 11.11 workstations is no Xaccess file.&lt;BR /&gt;Can I copy it from a 11.0?&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;All my ws are HP-UX c-classes with 11.0 or 11.11. 'Xserver' is an application copied to local /usr.&lt;BR /&gt;And as I said - a local user can start it.&lt;BR /&gt;&lt;BR /&gt;My environment? CDE and ksh for most users.&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 11:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869395#M398385</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-11-08T11:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869396#M398386</link>
      <description>Yes you can copy it or simply add "xhost localhost" to the local user's .profile or .login file -- assuming that your X-Windows application named "xdriver ?" is a LOCAL application to the workstation.&lt;BR /&gt;&lt;BR /&gt;I thought you use your Workstation as simply an Xserver (or display) and that your application is remote -- ie. running on a poerful server).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 11:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869396#M398386</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-11-08T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869397#M398387</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I use the same Xaccess file at 11.11 like 11.0 now - no changes.&lt;BR /&gt;And no /var/adm/inetd.sec file at 11.x.&lt;BR /&gt;&lt;BR /&gt;DESKTOP=CDE at all ws in /etc/rec.config.d/desktop.&lt;BR /&gt;&lt;BR /&gt;I mixed up Xserver and xdriver in my last reply - sorry - my application is xdriver.&lt;BR /&gt;&lt;BR /&gt;To set 'xhost localhost' doesn't work, only 'xhost +'.&lt;BR /&gt;&lt;BR /&gt;I'm checking startlog now ...&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Mon, 08 Nov 2004 12:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869397#M398387</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-11-08T12:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869398#M398388</link>
      <description>Your localhost probably does not resolve correctly. You can try xhost `hostname` .&lt;BR /&gt;&lt;BR /&gt;Or &lt;BR /&gt;&lt;BR /&gt;xhost workstationhostname.domain.com&lt;BR /&gt;&lt;BR /&gt;xhost + is a security hole.&lt;BR /&gt;&lt;BR /&gt;You can also create an /etc/X0.hosts with 127.0.0.1 and/or the workstations hostname as the contents.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 13:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869398#M398388</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-11-08T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869399#M398389</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;xhost `hostname` is working, but then the user has to do it, that's not the way I like to do it.&lt;BR /&gt;How to specify it in /etc/dt/config/Xaccess file?&lt;BR /&gt;It seems like all is allowed because there's a '*  CHOOSERS BROADCAST' in it.&lt;BR /&gt;&lt;BR /&gt;The following is in my /var/dt/Xerrors:&lt;BR /&gt;AUDIT: Tue Nov  9 10:39:27 2004: 1838 X: client 13 rejected from IP &lt;IP of="" client=""&gt; port 50706&lt;BR /&gt;Auth name: MIT-MAGIC-COOKIE-1 ID: -1&lt;BR /&gt;&lt;BR /&gt;Does anybody know what it means?&lt;BR /&gt;What can I do?&lt;BR /&gt;&lt;BR /&gt;V.&lt;/IP&gt;</description>
      <pubDate>Tue, 09 Nov 2004 04:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869399#M398389</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-11-09T04:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869400#M398390</link>
      <description>Hi Vo,&lt;BR /&gt;&lt;BR /&gt;Could you check the file /etc/dt/config/Xconfig&lt;BR /&gt;and uncomment the line&lt;BR /&gt;Dtlogin*authorize: False&lt;BR /&gt;&lt;BR /&gt;reread your CDE config files after above action.&lt;BR /&gt;/usr/dt/bin/dtconfig -reset&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2004 07:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869400#M398390</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2004-11-09T07:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: Client is not authorized to connect to Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869401#M398391</link>
      <description>Thanks a lot RJ - it works now!!&lt;BR /&gt;I'm sorry that I only can give 10 pts. :-))&lt;BR /&gt;Also thanks to the rest.&lt;BR /&gt;&lt;BR /&gt;I'm still wondering why I don't have to uncomment this line in 11.0.&lt;BR /&gt;&lt;BR /&gt;Only one point - /usr/dt/bin/dtconfig -reset doesn't work for this, I needed:&lt;BR /&gt;sbin/init.d/dtlogin.rc reset&lt;BR /&gt;So also SEP's tip was very good!&lt;BR /&gt;Reset also works with 'init 2' and then 'init 3' - or simply a reboot. ;-)&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Tue, 09 Nov 2004 08:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xlib-client-is-not-authorized-to-connect-to-server/m-p/4869401#M398391</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-11-09T08:28:39Z</dc:date>
    </item>
  </channel>
</rss>

