- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Xhost/Xlib error
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
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-04-2007 12:24 PM
тАО04-04-2007 12:24 PM
Re: Xhost/Xlib error
> netstat: failed to allocate memory for buffer
> Could this related to the problem that
> xlib and xhost + failed?
Many things are possible. You seem to have
some major problems there.
"swapon -s"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 12:39 PM
тАО04-04-2007 12:39 PM
Re: Xhost/Xlib error
this is the output from swap -s:
# swapon -s
Swap partition /dev/disk/dsk0b (default swap):
Allocated space: 2097152 pages (16.00GB)
In-use space: 5 pages ( 0%)
Free space: 2097147 pages ( 99%)
Swap partition /dev/disk/dsk2c:
Allocated space: 26674020 pages (203.51GB)
In-use space: 5 pages ( 0%)
Free space: 26674015 pages ( 99%)
Total swap allocation:
Allocated space: 28771172 pages (219.51GB)
Reserved space: 2265276 pages ( 7%)
In-use space: 10 pages ( 0%)
Available space: 26505896 pages ( 92%)
It seems there are still plenty of memory space.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:25 PM
тАО04-04-2007 01:25 PM
Re: Xhost/Xlib error
I found that in the /usr/dt/config/Xaccess file, I should add in a missing configuraiton line:
*.mysite.com.au
since this missing line is appeared in another working Tru64 5.1B-4 server.
Now how I restart X server remotely so that it re-read the Xaccess file?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:19 PM
тАО04-04-2007 02:19 PM
Re: Xhost/Xlib error
I just managed to restart the X windows remotely, but I still having problem with xhost + command:
# kill -HUP 1011
# ps -e | grep /usr/bin/X11/X
310146 ?? S 0:00.46 /usr/bin/X11/X :0 -auth /var/dt/authdir/authfiles/A:0-hIgjnl
310049 pts/14 S + 0:00.00 grep /usr/bin/X11/X
# DISPLAY=tserver:0
# export DISPLAY
# xhost +
Xlib: connection to "tserver:0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost: unable to open display "tserver:0"
#
I have no idea how to fix it now.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:37 PM
тАО04-04-2007 02:37 PM
Re: Xhost/Xlib error
Look back at the part which begins "And who
is logged in at the console there?"
alp $ rsh /user = root urtx
[...]
urtx# export DISPLAY=:0.0
urtx# xhost
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost: unable to open display ":0.0"
urtx# # Log in at console as "root".
urtx# xhost
access control enabled, only authorized clients can connect
urtx#
Problem solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:46 PM
тАО04-04-2007 02:46 PM
Re: Xhost/Xlib error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:47 PM
тАО04-04-2007 02:47 PM
Re: Xhost/Xlib error
# export DISPLAY=:0.0
# xhost
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost: unable to open display ":0.0"
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:47 PM
тАО04-04-2007 02:47 PM
Re: Xhost/Xlib error
At the graphics console?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:49 PM
тАО04-04-2007 02:49 PM
Re: Xhost/Xlib error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 02:54 PM
тАО04-04-2007 02:54 PM
Re: Xhost/Xlib error
So, as I keep asking, "And who is logged in
at the console there?" If no one is logged
in there, who will be looking at the stuff
you want to put onto the display?
What part of this wasn't clear?:
urtx# # Log in at console as "root".