Problems with X - help request
Alexander Apprich
a.apprich at science-computing.de
Mon Mar 1 14:17:03 UTC 2004
Hi Alberto,
Alberto M R Dávila wrote:
> Hi,
>
> I installed Oracle 9i in my FC1 (kernel-2.4.22-1.2174.nptl) then created
> the user "oracle" and the groups "dba", "oinstall", "opache" then linked
> the "oracle" user to "dba", "oinstall", "oracle" and "bioinfo"... and user
> "apache" to "apache" and "oinstall" groups.
>
> Trying to install the patch "p3095277_9204_LINUX.zip", I run the
> "runInstaller" located in the Disk1 folder created by that patch like
> this:
>
> [oracle at tryps oracle]$ /usr/local/oracle/92040/Disk1/runInstaller
> Initializing Java Virtual Machine from
> ./stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux/bin/java.
> Please wait...
> Exception in thread "main" java.lang.InternalError: Can't connect to X11
> window server using 'my.ip.addres:0.0' as the value of the DISPLAY
> variable.
> at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> at
> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
> at java.awt.Window.<init>(Window.java:188)
> at java.awt.Frame.<init>(Frame.java:315)
> at java.awt.Frame.<init>(Frame.java:262)
> at
> oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
To me it seems that you have switched to user oracle using su. In that
case the Display 0 on tryps is owned by the User who has logged on to
this machine.
Run a
xhost +tryps
as the user you have logged onto this machine, and just set the Display
variable $DISPLAY to tryps:0
bash: export DISPLAY=tryps:0
tcsh: setenv DISPLAY tryps:0
HTH
Alex
More information about the fedora-list
mailing list