LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-13-2004, 04:50 PM   #1
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Rep: Reputation: 15
xhost + as user oracle not working, need to see oracle install GUI


Hello,

I'm trying to install oracle on a machine that on the opposite side of the planet as me. I can do xhost + as user root and then /usr/X11R6/bin/xclock and the clock on the remote server shows up on my Linux X screen here.

I try it with user oracle and get this:

[oracle@67 oracle]$ /usr/X11R6/bin/xclock
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ xhost +
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ DISPLAY=localhost:0.0; export DISPLAY
[oracle@67 oracle]$ /usr/X11R6/bin/xclock
Error: Can't open display: localhost:0.0
[oracle@67 oracle]$


How can I allow the oracle user to access the display? I need to be able to do xhost + as user oracle so I can run the Installer from my client machine.
 
Old 01-04-2007, 01:42 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.

Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.

ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.
 
Old 02-11-2007, 11:27 AM   #3
indianirav
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by jlightner
Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.

Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.

ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.

thanks alot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
oracle + working with date/week champ Programming 8 11-28-2011 05:45 PM
Difference between Oracle Server and Oracle Database ganninu Programming 3 02-27-2007 01:06 AM
Oracle on Fedora Core 2 - User has lost X ability madfish Fedora 1 02-05-2005 02:55 PM
Oracle 9i client with Oracle 8i server ganninu Programming 1 02-19-2004 04:35 PM
how to install the oracle 9i on GUI interface??? alexlam50 Linux - Software 4 11-16-2003 05:20 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration