- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: X tunneling
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
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-16-2006 08:06 AM
01-16-2006 08:06 AM
X tunneling
But if I log into the TX system via Putty as sybase and try to run execute Xterm command I get the following error message on my terminal here in VA
Vail:/usr/sybase: xterm
Xlib: connection to "10.89.1.20:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: 10.89.1.20:10.0
Error: Couldn't find per display information
Vail:/usr/sybase:
I do a echo $DISPLAY on both systems as root and sybase and they both come up as the same, I use the same Putty load configuration just log into the remote system as either root or sybase and I bring up the host X application on the local host as root and then sybase. In other words I do the same for either user and it works for root but not for sybase.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:11 AM
01-16-2006 08:11 AM
Re: X tunneling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:20 AM
01-16-2006 08:20 AM
Re: X tunneling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:23 AM
01-16-2006 08:23 AM
Re: X tunneling
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:27 AM
01-16-2006 08:27 AM
Re: X tunneling
What does the output of xhost show you?
# xhost
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:27 AM
01-16-2006 08:27 AM
Re: X tunneling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:29 AM
01-16-2006 08:29 AM
Re: X tunneling
$ xhost
access control disabled, clients can connect from any host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:35 AM
01-16-2006 08:35 AM
Re: X tunneling
Somewhere in your Kea_X menus, you should have the option to set its security. Set it so the server you are connecting to is allowed to DISPLAY.
I am still wondering though - the error mesage in your post says 10.89.1.20:10.0. If Are you sure your Kea-X DISPLAY session is :0.0 or :10.0?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:41 AM
01-16-2006 08:41 AM
Re: X tunneling
X11Forwarding yes
In /opt/ssh/etc/sshd_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:44 AM
01-16-2006 08:44 AM
Re: X tunneling
sybase or root userid on TX server connection via Putty DISPLAY=10.89.1.20:10.0
sybase or root userid on VA server connection via Kea-X Terminal DISPLAY=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:46 AM
01-16-2006 08:46 AM
Re: X tunneling
Maybe the problem lies with your .Xauthority file. What is your Remote X11 authentication protocol set to in PuTTY. It should match the one in your .Xauthority file for user sybase.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:46 AM
01-16-2006 08:46 AM
Re: X tunneling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 08:51 AM
01-16-2006 08:51 AM
Re: X tunneling
The :10 I now understand to mean you have X11 forwarding indeed.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:25 AM
01-17-2006 01:25 AM
Re: X tunneling
The error seems to be generated from the Remote site when I initiate the xterm from the putty session. I removed the .Xauthority file on the remote site for sybase user but I still get the same error and the .Xauthority file is re-created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:31 AM
01-17-2006 01:31 AM
Re: X tunneling
Can you try:
ssh from your PC/Kea-X station as root
echo $DISPLAY
su - to Sybase
set DISPLAY to your PC/Kea-X machine's IP/DNS suffixed with :0.0
xterm
Also:
telnet (not PUTTY ssh) to the HP TX/VA machines as sybase
set DISPLAY to yourPC/Kea-X suffixed with :0.0
xterm
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:43 AM
01-17-2006 01:43 AM
Re: X tunneling
The echo $DISPLAY results on the local and the remote host are EXACTLY the same as the userid of root and sybase.
We do not have telnet active for connection to TX, I can only get to it via ssh connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:57 AM
01-17-2006 01:57 AM
Re: X tunneling
I am confused: when you say local - your VA HP-UX host? and remote means - your TX host? And this is with respect to your Kea-X pc?
Can you post exactly (cut and paste) the results of:
ssh to your TX or VA host as root
echo $DISPLAY
env |grep SSH
BTW, which node does IP 10.89.1.20 refer to? I don't think you've ever confirmed which machine is it.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 03:21 AM
01-17-2006 03:21 AM
Re: X tunneling
Tahoe: /root ssh 10.89.1.20 echo $DISPLAY
198.212.9.19:10.0
Tahoe: /root ssh 10.89.1.20 env |grep SSH
SSH_CONNECTION=198.212.9.19 64702 10.89.1.20 22
SSH_CLIENT=198.212.9.19 64702 22
Tahoe: /root
OK the 10.89.1.20 is in TX, and the local host is here in VA on Tahoe (where the Kea-X is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 03:47 AM
01-17-2006 03:47 AM
Re: X tunneling
"OK the 10.89.1.20 is in TX, and the local host is here in VA on Tahoe (where the Kea-X is running."
How do you establish your X-Windows environment via Kea-X? Correct me if I am wrong but it seems you:
Launch Kea-X on your PC (IP-?)
Connect (via SSH/Putty built into Kea-X?) to connect to your local host - TAHOE. xterm or Full CDE session.
Can you on Tahoe as root:
TAHOE:root# echo $DISPLAY
What does DISPLAY show?
From TAHOE, you ssh to that TX machine for which you get a DISPLAY of the TX machine with :20 - which is proof the TX machine has X11 forwarding.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 04:13 AM
01-17-2006 04:13 AM
Re: X tunneling
as root on my Kea-X (tahoe) session
echo $DISPLAY
va6its202061.bcharrispub.com:0.0
from root on tahoe
# ssh 10.89.1.20 echo $DISPLAY
va6its202061.bcharrispub.com:0.0
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 04:48 AM
01-17-2006 04:48 AM
Re: X tunneling
One more question...how are you logging in locally as well as remotely? Are you logged in locally as root and remotely as sybase? Could you shed some more light on this aspect and explain the connection sequence. For example:
>>log in locally as root...su to sybase...ssh to the remote server box and log in as sybase...startup the xterm<<
Just a simple connection sequence like this, only for sybase not for root (as that's working).
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:21 AM
01-17-2006 05:21 AM
Re: X tunneling
"as root on my Kea-X (tahoe) session
echo $DISPLAY
va6its202061.bcharrispub.com:0.0
from root on tahoe
# ssh 10.89.1.20 echo $DISPLAY
va6its202061.bcharrispub.com:0.0"
Let's call 10.89.1.20 as TXSERVER.
Can you try doing a full ssh to TXSERVER and do an echo $DISPLAY instead of doing from TAHOE "ssh TXSERVER echo $DISPLAY"?
I see some inconsitency in your earlier post:
"Tahoe: /root ssh 10.89.1.20 echo $DISPLAY
198.212.9.19:10.0"
Once on TXSERVER(on your SSH session from TAHOE - which is an X-Terminal session from your PC) -- can you launch xterm as root?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:36 AM
01-17-2006 05:36 AM
Re: X tunneling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:51 AM
01-17-2006 05:51 AM