- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh server can't forward X11 on HP-UX 11.3
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
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
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
тАО10-04-2010 05:43 AM
тАО10-04-2010 05:43 AM
ssh server can't forward X11 on HP-UX 11.3
We have a problem on our HP-UX system. Usually this is not a big deal, but somebody for installing patches and upgrading specific apps we need to open X session on the server.
Currently ssh doesn't have DISPLAY set when you connect to the server. The only way to forward session is to set DISPLAY to an external IP and use custom windows-based X-server (like exceed). The problem is that the traffic not forwarded over ssh tunnel, so any native X desktop doesn't in this case.
Please let me know if any technical information is requeired about the system itself.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 06:07 AM
тАО10-04-2010 06:07 AM
Re: ssh server can't forward X11 on HP-UX 11.3
configure PuTTy with X11 forwarding.
start X-Window server on PC
shh to server
xclock to test..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 06:13 AM
тАО10-04-2010 06:13 AM
Re: ssh server can't forward X11 on HP-UX 11.3
my tips , for test x ssh conncetion i like use xterm , it send some intersing error message
.
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 06:40 AM
тАО10-04-2010 06:40 AM
Re: ssh server can't forward X11 on HP-UX 11.3
xterm fails as well as xclock.
I noticed that DISPAY variable is empty on logon - should be if forwarding and sshd server working properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 06:43 AM
тАО10-04-2010 06:43 AM
Re: ssh server can't forward X11 on HP-UX 11.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 06:53 AM
тАО10-04-2010 06:53 AM
Re: ssh server can't forward X11 on HP-UX 11.3
Then this is what I get:
A common one: ssh -X user@server
Then this is what I get:
[root@servername] # xterm
xterm Xt error: Can't open display: %s
[root@servername] # xclock
Error: Can't open display:
Error: Couldn't find per display information
[root@servername] # export DISPLAY=127.0.0.1:0.0
[root@servername] # xclock
Error: Can't open display: 127.0.0.1:0.0
Error: Couldn't find per display information
Same happens if I export display to my IP address. Again, I'm using native Linux desktop which works fine with any other X forwarding ssh.
sshd config has forwarding enabled.
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
If I export display to IP with exceed X display running, then it forwards the session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 07:07 AM
тАО10-04-2010 07:07 AM
Re: ssh server can't forward X11 on HP-UX 11.3
sshd config has forwarding enabled.
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
but your client have to have also X11Forwarding set to yes . see ~/.ssh/ssh_config .
Do you have also also authorized your remote system to use you X server ? Wat is the result of xhost ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 07:26 AM
тАО10-04-2010 07:26 AM
Re: ssh server can't forward X11 on HP-UX 11.3
access control enabled, only authorized clients can connect
SI:localuser:myusername
SI:localuser:gdm
SI:localuser:root
Anyway, even if my local desktop has issues (I'm sure it doesn't because I can connect to any other host and have X forwarded without any display exports) - I wonder why HP-UX doesn't have display env setup from the beginning?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2010 04:54 AM
тАО10-07-2010 04:54 AM
Re: ssh server can't forward X11 on HP-UX 11.3
Is your remote systen in the list of authorized sytem to uses you X server ?
If not try xhost server
Is it possible to launch you sshd daemon in debug mode and see if you can obtain more usefull information ?
-D When this option is specified, sshd will not detach and does not become a daemon. This allows easy moni├в
toring of sshd.
-d Debug mode. The server sends verbose debug output to the system log, and does not put itself in the back├в
ground. The server also will not fork and will only process one connection. This option is only intended
for debugging for the server. Multiple -d options increase the debugging level. Maximum is 3.
Hope that could help you