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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-13-2004, 04:50 PM
|
#1
|
|
Member
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105
Rep:
|
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.
|
|
|
|
01-04-2007, 01:42 PM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
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.
|
|
|
|
02-11-2007, 11:27 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2006
Posts: 11
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|