- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Xlib: Client is not authorized to connect to Serve...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 12:59 AM
11-08-2004 12:59 AM
a strange case (for me - maybe our UX gurus can help):
I want to start an application (xdriver from 3DConnexion - application to work with a space mouse).
Problem are following messages:
Xlib: connection to "cad18:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "cad18:0.0" refused by server
Xlib: Client is not authorized to connect to Server
3Dconnexion (R)3D Device X Window Driver Version 4.55
(c) 1994 - 2003 3Dconnexion All rights reserved
[nyga,nyga]
Use the configuration from the
file: /usr/magellan/xdriver.ini
DISPLAY Variable nicht gefunden
< means: DISPLAY variable not found>
And:
env $DISPLAY says:
Keine Datei und kein Verzeichnis: cad18:0.0
< no="" file="" and="" no="" ="" 0.0="">
but - $DISPLAY is set correctly to cad18:0.0
This problem only occures with HP-UX11.11 and NIS users at a client.
No problems with HP-UX 11.0, no problems with local users.
Also no problems if I do an xhost + before starting xdriver.
My problems: I want to start xdriver automatically during login (start command in Xstartup file)
and
I've normally no local users.
Anyone can help?
Volkmar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:02 AM
11-08-2004 01:02 AM
Re: Xlib: Client is not authorized to connect to Server
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:06 AM
11-08-2004 01:06 AM
Re: Xlib: Client is not authorized to connect to Server
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:12 AM
11-08-2004 01:12 AM
Re: Xlib: Client is not authorized to connect to Server
Files to check:
/var/adm/inetd.sec
/etc/rec.config.d/desktop
check the DESKTOP="" variable.
That may block access.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:17 AM
11-08-2004 01:17 AM
Re: Xlib: Client is not authorized to connect to Server
/etc/dt/config/Xaccess
If you have to change Xaccess the following command forces a reset.
/sbin/init.d/dtlogin.rc reset
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:27 AM
11-08-2004 01:27 AM
Re: Xlib: Client is not authorized to connect to Server
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?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 03:04 AM
11-08-2004 03:04 AM
Re: Xlib: Client is not authorized to connect to Server
thanks for your responses!
First:
At my 11.11 workstations is no Xaccess file.
Can I copy it from a 11.0?
And:
All my ws are HP-UX c-classes with 11.0 or 11.11. 'Xserver' is an application copied to local /usr.
And as I said - a local user can start it.
My environment? CDE and ksh for most users.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 03:10 AM
11-08-2004 03:10 AM
Re: Xlib: Client is not authorized to connect to Server
I thought you use your Workstation as simply an Xserver (or display) and that your application is remote -- ie. running on a poerful server).
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 04:39 AM
11-08-2004 04:39 AM
Re: Xlib: Client is not authorized to connect to Server
I use the same Xaccess file at 11.11 like 11.0 now - no changes.
And no /var/adm/inetd.sec file at 11.x.
DESKTOP=CDE at all ws in /etc/rec.config.d/desktop.
I mixed up Xserver and xdriver in my last reply - sorry - my application is xdriver.
To set 'xhost localhost' doesn't work, only 'xhost +'.
I'm checking startlog now ...
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 05:29 AM
11-08-2004 05:29 AM
Re: Xlib: Client is not authorized to connect to Server
Or
xhost workstationhostname.domain.com
xhost + is a security hole.
You can also create an /etc/X0.hosts with 127.0.0.1 and/or the workstations hostname as the contents.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 08:44 PM
11-08-2004 08:44 PM
Re: Xlib: Client is not authorized to connect to Server
xhost `hostname` is working, but then the user has to do it, that's not the way I like to do it.
How to specify it in /etc/dt/config/Xaccess file?
It seems like all is allowed because there's a '* CHOOSERS BROADCAST' in it.
The following is in my /var/dt/Xerrors:
AUDIT: Tue Nov 9 10:39:27 2004: 1838 X: client 13 rejected from IP
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Does anybody know what it means?
What can I do?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 12:28 AM
11-09-2004 12:28 AM
Re: Xlib: Client is not authorized to connect to Server
I'm sorry that I only can give 10 pts. :-))
Also thanks to the rest.
I'm still wondering why I don't have to uncomment this line in 11.0.
Only one point - /usr/dt/bin/dtconfig -reset doesn't work for this, I needed:
sbin/init.d/dtlogin.rc reset
So also SEP's tip was very good!
Reset also works with 'init 2' and then 'init 3' - or simply a reboot. ;-)
V.