- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem to start SAM
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
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
01-20-2005 03:11 AM
01-20-2005 03:11 AM
NOTE: If I login directly as root there is no problem.
cam01 21:
cam01 22: su
Password:
# sam
Xlib: connection to "cam01:0.0" refused by server
Xlib: Client is not authorized to connect to Server
The DISPLAY environment variable is set to "cam01:0.0", but
the current configuration won't allow sam to run on that display.
The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing
/usr/bin/X11/xhost +cam01
on your local machine.
Do you want to proceed using the terminal version of sam?
(yes or no) [yes] n
# echo $DISPLAY
cam01:0.0
# /usr/bin/X11/xhost +
Xlib: connection to "cam01:0.0" refused by server
Xlib: Client is not authorized to connect to Server
/usr/bin/X11/xhost: unable to open display "cam01:0.0"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 03:29 AM
01-20-2005 03:29 AM
Re: Problem to start SAM
the xhost command authenticates connections onto your terminal.
You may get around this my login on as root and doing
xhost +cam01
sam -display cam01
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 03:30 AM
01-20-2005 03:30 AM
SolutionCheck Robert-Jan's solution for a similar issue here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=736562
Kindest Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 03:32 AM
01-20-2005 03:32 AM
Re: Problem to start SAM
the su to root is the problem.
use "su - root " to change for user to root
this reads the root profile and environment settings.
then it must work
let me now...
regards
Henk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 03:57 AM
01-20-2005 03:57 AM
Re: Problem to start SAM
instead of su root try su - root
su - root executes the profile of root.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 04:40 AM
01-20-2005 04:40 AM
Re: Problem to start SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 04:42 AM
01-20-2005 04:42 AM