|
Hi Erman,
I am having a hard time configuring display for running dbca/dmu.
So far, I have
Installed X11 on RHEL server, where my db is running.
Exported DISPLAY as follows:
DISPLAY=172.20.163.217:0.0; export DISPLAY (172.20.163.217 is the IP of my windows laptop)
Tested it as follows:
[oracle@erpfinuat openv]$ ping -c 1 `echo $DISPLAY | cut -f1 -d:`
PING 172.20.163.217 (172.20.163.217) 56(84) bytes of data.
64 bytes from 172.20.163.217: icmp_seq=1 ttl=126 time=1.83 ms
--- 172.20.163.217 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.827/1.827/1.827/0.000 ms
But still dmu is failing with:
[oracle@erpfinuat dmu]$ ./dmu.sh
Database Migration Assistant for Unicode
Copyright (c) 2011, 2024, Oracle and/or its affiliates.
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using '172.20.163.217:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:1071)
at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1366)
at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(SplashScreenImpl.java:529)
at oracle.ide.osgi.boot.api.SplashScreen.createInstance(SplashScreen.java:66)
at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(OracleIdeLauncher.java:828)
at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:109)
Looking for your insight..
|