Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xhost help

Status
Not open for further replies.

MCubitt

Programmer
Mar 14, 2002
1,081
GB
My AIX server /etc/hosts has:
127.0.0.1 loopback localhost # loopback (lo0) name/address
10.56.4.10 OURSERVER
10.56.57.14 5R2RH0J.mycomp.local

I telnet from my windows pc (10.56.57.14) to the aix server (10.56.4.10) and log in as root

I su to oracle

Then export DISPLAY=10.56.57.14:0.0

Then dbca

java.lang.InternalError: Can't connect to X11 window server using '10.56.57.14:0.0' as the value of the DISPLAY variable.
at sun.awt.motif.MToolkit.<init>(MToolkit.java:63)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)
at java.awt.Font.initializeFont(Font.java:119)
at java.awt.Font.<init>(Font.java:135)

Do I need to do something more to get things going?





Applications Support
UK
 
you need an X-Server at your PC.

Ciao
Michael
 
If you don't have Exceed on your workstation, then download putty.
 
I am using putty as my telent session, on my Windows PC.





Applications Support
UK
 
..but I need to run dbca which is graphical.

Code:
bash-2.05a$ export DISPLAY=10.56.57.14:0.0
bash-2.05a$ dbca
java.lang.InternalError: Can't connect to X11 window server using '10.56.57.14:0.0' as the value of the DISPLAY variable.

thanks




Applications Support
UK
 
Can you ping 10.56.57.14 from the AIX server?
 
KHz: Yes indeed, it does.



Applications Support
UK
 
I think you can't use telnet for X11 Forwarding.
You have to use ssh.

Axel
 
Oh dear, thanks.

All I want to do is run dbca from a remote session!!!




Applications Support
UK
 
Ok, this sounds familiar.

However:
# xhost +
access control disabled, clients can connect from any host
1346-217 xhost: must be on local machine to enable or disable access control

Does this a GOOD thing or a BAD thing?!!!



Applications Support
UK
 
..presume BAD:

bash-2.05a$ export DISPLAY=10.56.57.14:0.0
bash-2.05a$ dbca
java.lang.InternalError: Can't connect to X11 window server using '10.56.57.14:0.0' as the value of the DISPLAY variable.



Applications Support
UK
 
But i did this over a vnc session, so I expect I have to go to the server since I am usig :2 not :0

Is that right?





Applications Support
UK
 
I tried it from the server itself, no error but still no workie.




Applications Support
UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top