- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swremove not working with DISPLAY variable
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
09-11-2003 05:42 AM
09-11-2003 05:42 AM
I have set DISPLAY variable on my server. The xhost command is run on remote server so this server can use DISPLAY variable. When I run swremove it complains like this
'The DISPLAY environment variable is set to "hostname:0.0", but the current configuration won't allow swremove to run on that display.'
wherer hostname is the remote hostname.
But if I run sam it works just fine. Where is swremove configuration that is not allowing swremove to run on that DISPLAY varible.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:45 AM
09-11-2003 05:45 AM
Re: swremove not working with DISPLAY variable
#nslookup
#nslookup
check the entries in /etc/hosts.
Try doing a /usr/sbin/swagentd -r
after any change made in hosts file.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:51 AM
09-11-2003 05:51 AM
SolutionAre you using ssh to connnect ? in which case the display variable format is different.
Are you using an X emulator, again this can cause a different format needed for DISPLAY ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:52 AM
09-11-2003 05:52 AM
Re: swremove not working with DISPLAY variable
The forward and reverse nslookup works fine.
The DISPLAY variable works with sam. It does not work with swremove.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:57 AM
09-11-2003 05:57 AM
Re: swremove not working with DISPLAY variable
Thanks a lot. I'm happy camper :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:35 AM
09-11-2003 06:35 AM
Re: swremove not working with DISPLAY variable
hosts: files dns
In order to get swinstall / swremove to work I had to change the hosts entry to be:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
If you don't have an nsswitch.conf, create one and make sure the hosts entry looks like the above.