- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with xhost
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
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
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
тАО03-31-2003 09:54 PM
тАО03-31-2003 09:54 PM
Problem with xhost
I am trying to start vnc on system boot-up.
In the startup script I run "xhost +" before I start vnc. While the startup process runs I get the display, but when the process completed I lose my display. It looks like I lose the xhost, I have even tried to start it with nohup.
Can someone please help?
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 10:41 PM
тАО03-31-2003 10:41 PM
Re: Problem with xhost
For permanent entries
Just try entering the hostname to which you are giving access in
/etc/X0.hosts
single hostname per line.
check the man pages of X
Revert on the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 10:52 PM
тАО03-31-2003 10:52 PM
Re: Problem with xhost
For permanent entries
Just try entering the hostname to which you are giving access in
/etc/X0.hosts
single hostname per line.
check the man pages of X
Revert on the same
Also this link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf324f608743fd711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 11:43 PM
тАО03-31-2003 11:43 PM
Re: Problem with xhost
fyi I don't need to run xhost to get vnc to work on my hpux workstation when connecting to NT etc ...
What else is in the xstartup file ?
Also if you find an error check out the following, http://www.uk.research.att.com/vnc/faq.html
I've found it resolves 99.9 % of problems encountered.
Failing that attach your vnc xstartup file and I'll give it a try if I get time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2003 12:16 AM
тАО04-01-2003 12:16 AM
Re: Problem with xhost
I am still trying to get it to work with /etc/X0.hosts, but no joy.
I am sure it is something to do with xhosts. After boot I run "xhost +", su to a user and then I can run xclock, for example. At this time vcn is in raw mode.
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2003 12:26 AM
тАО04-01-2003 12:26 AM
Re: Problem with xhost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2003 11:49 PM
тАО04-01-2003 11:49 PM
Re: Problem with xhost
I just want to know if "/etc/X0.hosts" is still valid in hp-ux 11i?
I also had a look on VNC fag's, but I still have a problem with xhost.
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2003 12:57 AM
тАО04-02-2003 12:57 AM
Re: Problem with xhost
from man xhost on my itanium
DIAGNOSTICS
For each name added to the access control list, a line of the form
"name being added to access control list" is printed. For each name
removed from the access control list, a line of the form "name being
removed from access control list" is printed.
FILES
/etc/X*.hosts
SEE ALSO
X(1), Xsecurity(1), Xserver(1), xdm(1)
ENVIRONMENT
DISPLAY to get the default host and display to use.
BUGS
You can't specify a display on the command line because -display is a
valid command line argument (indicating that you want to remove the
machine named ``display'' from the access list).
The X server stores network addresses, not host names. This is not
really a bug. If somehow you change a host's network address while
the server is still running, xhost must be used to add the new address
and/or remove the old address.
AUTHORS
Bob Scheifler, MIT Laboratory for Computer Science,
Jim Gettys, MIT Project Athena (DEC).
Hewlett-Packard Company - 2 - HP-UX 11.11 May 2002
#
since /etc/X*.hosts is still referenced and is used then yes it is supported
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2003 01:03 AM
тАО04-02-2003 01:03 AM
Re: Problem with xhost
If yes please be aware that there are 2 forms of Xauthorisation ... host based and user based. Host based = Xhost and yes it's still valid at hp-ux 11.x
Users based as in .Xauthority files see man Xauth
let us know whether the XO.host file creation works/fails ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2003 04:46 AM
тАО04-02-2003 04:46 AM
Re: Problem with xhost
One of the arguments to Xvnc is -ac, which disables authentication.
If you are using the vncserver script, then it would be something like:
vncserver :10 -geometry 512x512 -ac