GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- about xhost,and sam
Operating System - HP-UX
1847826
Members
4837
Online
104021
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-17-2004 05:11 PM
10-17-2004 05:11 PM
1. what's mean of xhost+ ?what's the relation about xhost + and current user?
i use user1 to login ,and su - root
,when use sam -display hp13:0.0,
it tells must use xhost +
and i must return user1 to issue xhost + hp13:0.0
why?
2.why:when run sam ,there is no "cluster" program icon in the sam,
but use sam -r,there is a "cluster" program icon ?
i use user1 to login ,and su - root
,when use sam -display hp13:0.0,
it tells must use xhost +
and i must return user1 to issue xhost + hp13:0.0
why?
2.why:when run sam ,there is no "cluster" program icon in the sam,
but use sam -r,there is a "cluster" program icon ?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 05:22 PM
10-17-2004 05:22 PM
Solution
Hi,
'xhost' command manages authorization where you can allow remote x-programs to connect to your DISPLAY. When you login yourself in CDE, then *only you* (not your root session) on the local system will have the authority to run 'xhost' program. You have to login as root into your CDE if you want to run xhost as root.
To show it, start a new terminal, telnet to another system.
Terminal 1:
$telnet
$export DISPLAY=:0
$xclock
You should see an error 'connection refused' message.
Start another terminal and run 'xhost +'
Now run 'xclock' on the remote system in Terminal 1. you should see xclock of the remote system displayed on your local DISPLAY.
2. sam -r shows only the functions allowed and it may not have exactly the same root windows like sam. It may display the sub root programs as root icons depending on how the access is configured.
-Sri
'xhost' command manages authorization where you can allow remote x-programs to connect to your DISPLAY. When you login yourself in CDE, then *only you* (not your root session) on the local system will have the authority to run 'xhost' program. You have to login as root into your CDE if you want to run xhost as root.
To show it, start a new terminal, telnet to another system.
Terminal 1:
$telnet
$export DISPLAY=
$xclock
You should see an error 'connection refused' message.
Start another terminal and run 'xhost +
Now run 'xclock' on the remote system in Terminal 1. you should see xclock of the remote system displayed on your local DISPLAY.
2. sam -r shows only the functions allowed and it may not have exactly the same root windows like sam. It may display the sub root programs as root icons depending on how the access is configured.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 05:24 PM
10-17-2004 05:24 PM
Re: about xhost,and sam
X host is server access control program for X-windows. USing this you can control X-windows permission on clients. run xhost + on console before running xhost application like sam -display hp13:0.0
Sunil
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP