Re: Problems with X - help request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Alexandre !

I followed the other suggestion to log as "root" in the machine, then did
"xhost my.ip.numer" , then log out, and login as normal user (davila)...
my "nedit" and "synaptic" are working fine with the normal user (davila) I
logged into the machine, now, after following your suggestions (Xhost +
tryps and  setting DISPLAY) and switching to the user oracle with "su -
oracle", the user "oracle" cannot load "nedit", the ".xsession-errors"
file of the "oracle"user is:

[oracle@tryps oracle]$ more .xsession-errors
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and
utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w
/var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0"
"oracle"
 
(gnome-session:3931): Gtk-WARNING **: cannot open display:


Now what ?

Sorry for this newbie questions, but I confess I am a bit confused with
this configuration since I dont understand in what moment I got the
problem..

Thanks for the help.

Alberto



--- Alexander Apprich <a.apprich@xxxxxxxxxxxxxxxxxxxx> wrote:
> 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@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
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux