- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Xterm can't open display %s PROBLEM
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
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
05-19-2005 03:50 AM
05-19-2005 03:50 AM
Xterm can't open display %s PROBLEM
I've tried xterm -display win32ip:0.0 and I get the Xterm can't open display %s error.
Any help? I want to access thru a Win2k machine.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 03:53 AM
05-19-2005 03:53 AM
Re: Xterm can't open display %s PROBLEM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 03:57 AM
05-19-2005 03:57 AM
Re: Xterm can't open display %s PROBLEM
The session is not always IP:0.0. It sometimes become 1.0 , 2.0 or so. So if you are logged into one system and then went to another through telnet or rlogin then check DISPLAY set on current system to which you logged in by
#set |grep DISPLAY
Exact settings is displayed. Then export DISPLAY on the other node accordingly by
#export DISPLAY=win32IP:x.0
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:05 AM
05-19-2005 04:05 AM
Re: Xterm can't open display %s PROBLEM
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:06 AM
05-19-2005 04:06 AM
Re: Xterm can't open display %s PROBLEM
What I do is run cygwin's X server. From a local cygwin xterm I use ssh -X to forward X from my PC to the unix machine I'm trying to connect to. This is nice because ssh does all the DISPLAY work for you. Keep in mind though that "X11Forwarding yes" must be set on the unix machine's sshd_config file.
In case you are confused about the term server, the X software on your PC is the server in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:13 AM
05-19-2005 04:13 AM
Re: Xterm can't open display %s PROBLEM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:18 AM
05-19-2005 04:18 AM
Re: Xterm can't open display %s PROBLEM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:18 AM
05-19-2005 04:18 AM
Re: Xterm can't open display %s PROBLEM
If you're already using your PC's IP address for your DISPLAY envar - then the issue is probablyu with security on your PC X Server end (similar to doing a xhost on a true X display).
Try to find out how to set that on yur X-Windows software on your PC as it is implemented differently accross flavours of PC X-Servers (i.e. KeaX, ReflectionX and eXceed..)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:32 AM
05-19-2005 04:32 AM
Re: Xterm can't open display %s PROBLEM
I've checked and had "X11Forwarding yes".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:44 AM
05-19-2005 04:44 AM
Re: Xterm can't open display %s PROBLEM
1) tunneling X through ssh.
2) good old plain text X client-server.
You do not have to worry about allowing xhost, or setting your display if you are using method 1. If you are using method 2, you must both allow xhost connections AND set the DISPLAY environment as follows (assumes you are on display 0 screen 0):
sh, ksh, bash:
export DISPLAY=use.your.ip.here:0.0
csh, tcsh:
setenv DISPLAY use.your.ip.here:0.0
to enable xhosts on xwin32:
Under Options, XHosts, add your ip number (this info garnered from google).
I have to say the above error is usually a result of incorrect xhosts permissions.
-paul