- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Xlib: connection refused by server
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-13-2005 11:25 PM
тАО04-13-2005 11:25 PM
Xlib: connection refused by server
Need ur help once again].
I have taken GUI of a liux machine uding Xbrowser.
We Want to display xclock on xbrowser from other HP Unix machine.
Tryed " xhost + " on linux m/c.
HPUX# DISPLAY=100.11.18.10:0.0;export DISPLAY
HPUX# xclock &
# xclock
Xlib: connection to "100.11.18.10:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: 100.11.18.10:0.0
Pleasee help
rgds
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 01:03 AM
тАО04-14-2005 01:03 AM
Re: Xlib: connection refused by server
For the moment, that seems the best bet..
Either that, or the Linux box doesn't have the IP address 100.11.18.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 01:25 AM
тАО04-14-2005 01:25 AM
Re: Xlib: connection refused by server
let said you are running X on a Linux machine A
A ip address is 10.10.10.10
Your HP-UX is machine B (You can be on character base terminal or in an X Gui environment it does not matter)
B ip address is 10.10.10.22
On A machine (10.10.10.10) type
xhost +10.10.10.22
on B machine (10.10.10.22) type
export DISPLAY=10.10.10.10:1.0
xclock &
This should work,if you do not have firewall or network problems and you are using bash on machine A, this probably the case
On machine B adapt export syntax to the shell you are running.
J-P Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 01:58 AM
тАО04-14-2005 01:58 AM
Re: Xlib: connection refused by server
i have seen this error, if $HOME is incorrect. not sure why this will give that error, but check $HOME variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 03:59 AM
тАО04-14-2005 03:59 AM
Re: Xlib: connection refused by server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 05:40 PM
тАО04-14-2005 05:40 PM
Re: Xlib: connection refused by server
1) NO firewall , also m/c listenin on 6000 port
# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:32768 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:smtp *:* LISTEN
tcp 0 0 *:xfs *:* LISTEN
udp 0 0 *:xdmcp *:*
udp 0 0 *:sunrpc *:*
2)HOme variable set properly.
HUC : thanks for ur breif desriptin of the scenario.
I have taken X session of linux m/c thr. Xbrowser.
# ovw
Xlib: connection to "10.61.1.1:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: 10.61.1.1:0.0
Error: Couldn't find per display information
I m gettin the same error.
pls help
rgds
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 08:25 PM
тАО04-14-2005 08:25 PM
Re: Xlib: connection refused by server
this may not apply to you, but I have had the scenario where the default user on the system must xhost+ then su must also xhost before Xlib will allow connections to be sent in and out of the system.
eg:if I just su and try to issue xhost+ I get the same error that you do. But if I xhost as default user then su and xhost+, run my export and run the required XApp, I do not get any errors. Maybe you could try something similar??
Hope this helps
regards
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 09:22 PM
тАО04-14-2005 09:22 PM
Re: Xlib: connection refused by server
I was takin a Xsession of linux machine using Xbrowser on a win2k m/c, so when i was doing export dsiplay on the hpux m/c , of whose i was tryin to export display for OVW, i should have given ip of win2k m/c with
Can i get more Xwindows sessions of the same linux machine using Xbrowser, now when i m tryin that it is just showing an display with mouse representin X symbol.
rgds
Ankur
Now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 10:20 PM
тАО04-14-2005 10:20 PM
Re: Xlib: connection refused by server
on the linux host do a
#xhost +
then from the HPUX machine do a
#export DISPLAY=
#xclock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 12:24 AM
тАО04-15-2005 12:24 AM
Re: Xlib: connection refused by server
u check the firewall in the LINUX server by using #iptables -L
i think some firewall setting only refusing the connection
regards
prabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 05:02 PM
тАО04-18-2005 05:02 PM
Re: Xlib: connection refused by server
Can i get more Xwindows sessions of the same linux machine using Xbrowser, Right now i can take only 1 session from windows m/c using Xbrowser. When i try to take one more seesion
it is just showing an display with white and black dots with a X symbol representin mouse.
rgds
Ankur