RE: Xterm issues

  • From: "Lawie, Duncan" <duncan.lawie@xxxxxxxxxxxxxxxxx>
  • To: "'mschmitt@xxxxxxxxxxxx'" <mschmitt@xxxxxxxxxxxx>, oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 8 Sep 2006 08:12:04 -0400

Mike,
 
there are a couple of extra steps ...
 
ssh -X sunhost
 
# get a list of X auth info
$> xauth list
sunhost/unix:11  MIT-MAGIC-COOKIE-1  70f1a1a3f444272ae0fa5b388b0b3f49
sunhost/unix:10  MIT-MAGIC-COOKIE-1  1827878ae62fd34205dfef870c85bf6b
# check your display and extract the matching auth 
$> echo $DISPLAY
localhost:10.0
$> xauth nextract - sunhost/unix:10  
0100 000c 6c6e6c3930642d3030303261 0002 3130 0012 4d495 ...
# switch user to Oracle and set your display
ora> export DISPLAY=localhost:10.0
# add the auth info
ora> xauth nmerge - <CR>
# paste the long key from the nextract above and hit return (twice)
ora> xclock 
# Success ! (hopefully).
 
Cheers,
Duncan.

 
  _____  

From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Mike Schmitt
Sent: 07 September 2006 22:54
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Xterm issues



 

Thanks for the emails

 

I was running the 'xhost +' before, just forgot to mention it.

 

This time I did use the ssh -X command from the xterm to go to the sun server.  
Before I was using a separate ssh client to log into the Sun server.  After 
logging in I noticed a message that said an entry was added into the 
/home/<username>/.Xauthority file.  I ran xclock again and then it came up on 
my laptop without any errors, I did not have to set my DISPLAY variable.    

 

I then did a sudo into the oracle user on sun to kick off the installer.  The 
installer made me set DISPLAY.  After starting the installer it eventually 
through the error: Can't connect to X11 window server 'my IP address:0.0' as 
the value of the DISPLAY variable.  I could see the following with netstat -a

 

<sun server>.55671         <my PC>.6000     0      0 24820      0 SYN_SENT

 

Thanks for the help so far

 

 

 


  _____  

This electronic message transmission is a PRIVATE communication which contains 
information 
which may be confidential or privileged. The information is intended to be for 
the use of the individual 
or entity named above. If you are not the intended recipient, please be aware 
that any disclosure, 
copying, distribution or use of the contents of this information is prohibited. 
Please notify the sender 
of the delivery error by replying to this message, or notify us by telephone 
(877-633-2436, ext. 0), 
and then delete it from your system. 


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

Other related posts: