- 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
10-14-2007 09:49 PM
10-14-2007 09:49 PM
Xlib: Client is not authorized to connect to Server
I have two servers ,Server1(HPUX)which is a VNC server and Server2 (AIX)Client.
The DBA needs to deploy some software on server 2 and they can’t because of having no X server to run the oracle installer.
The Oracle instructs to run
1.xhost + (On Server1)--Success
2.xclock --Success
3.On the Server2(AIX) they want to export the display as "export DISPLAY=server1:99.0" and run xclock, which is failing with the error as below
# export DISPLAY=server1:99.0
root@server2:/
# xclock
Xlib: connection to "server1:99.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: server:99.0.
Can anyone help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2007 11:13 PM
10-14-2007 11:13 PM
Re: Xlib: Client is not authorized to connect to Server
Oracle installer requires X.
Try this:
ssh -X hostname
If I connect to Linux I use gnome-terminal
That should give you X windows assuming your xfs process is running.
/sbin/init.d/xfs start
vi /etc/rc.config.d/xfs
Change the first variable to 1 for auto start of xfs font server.
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
10-14-2007 11:27 PM
10-14-2007 11:27 PM
Re: Xlib: Client is not authorized to connect to Server
I have started the xfs but it does not come out with any process and I cannot grep the xfs process
/sbin/init.d/xfs start
Server01:/sbin/init.d > ps -ef | grep xfs
root 9173 4899 1 12:23:41 pts/4 0:00 grep xfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 06:13 AM
10-15-2007 06:13 AM
Re: Xlib: Client is not authorized to connect to Server
server1> xhost +
server1> rlogin server2
server2> export DISPLAY=
server2> xclock ?
if it too fails .....
copy /usr/dt/config/Xconfig
/etc/dt/config/Config
edit line :
Dtlogin*Authorise : False
restart Xserver on Server1
try again ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 05:55 PM
10-15-2007 05:55 PM
Re: Xlib: Client is not authorized to connect to Server
>server2> export DISPLAY=
The 99 is supposed to be the display number
you used when starting the vncserver.
For example:
vncserver :99
If you are not sure what display # you used,
use ps to find the Xvnc process and look
at the command line. It would be something
like:
/opt/realvnc/bin/Xvnc :99
Sounds like your vncserver display is not 99.
It might be :0 as the previous post suggested. Usually the local X server is :0 (if you are running a local X server) and the vncservers would start at :1 and go up
from there. Whatever the display number is,
export DISPLAY=server1:
on the AIX side and you should be all set.